Date: Tue, 12 Jan 2021 20:50:24 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561379 - in head/finance/quickfix: . files Message-ID: <202101122050.10CKoOGW077899@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Tue Jan 12 20:50:23 2021 New Revision: 561379 URL: https://svnweb.freebsd.org/changeset/ports/561379 Log: finance/quickfix: migrate to Python 3 PR: 251677 [1] PR: 249685 [2] Submitted by: maintainer [1] Submitted by: swills [1] Modified: head/finance/quickfix/Makefile head/finance/quickfix/files/patch-m4_ax__python.m4 Modified: head/finance/quickfix/Makefile ============================================================================== --- head/finance/quickfix/Makefile Tue Jan 12 20:50:17 2021 (r561378) +++ head/finance/quickfix/Makefile Tue Jan 12 20:50:23 2021 (r561379) @@ -24,7 +24,7 @@ USE_LDCONFIG= yes SHEBANG_FILES= examples/tradeclientgui/banzai/build.sh HAS_CONFIGURE= yes CONFIGURE_ENV= CXX=${CXX} CC=${CC} LIBS=-L${LOCALBASE}/lib/ -CONFIGURE_ARGS+= --without-python --without-python3 +CONFIGURE_ARGS+= --without-python2 OPTIONS_DEFINE= MYSQL PGSQL PYTHON RUBY JAVA OPTIONS_DEFAULT= MYSQL @@ -33,8 +33,8 @@ PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgresql MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql -PYTHON_USES= python:2.7 -PYTHON_CONFIGURE_WITH= python2 +PYTHON_USES= python:3.7 +PYTHON_CONFIGURE_WITH= python3 RUBY_USE= ruby=yes RUBY_CONFIGURE_WITH= ruby RUBY_LIB_DEPENDS+=libunwind.so:devel/libunwind Modified: head/finance/quickfix/files/patch-m4_ax__python.m4 ============================================================================== --- head/finance/quickfix/files/patch-m4_ax__python.m4 Tue Jan 12 20:50:17 2021 (r561378) +++ head/finance/quickfix/files/patch-m4_ax__python.m4 Tue Jan 12 20:50:23 2021 (r561379) @@ -16,28 +16,16 @@ has_python3=false ) -@@ -44,20 +47,20 @@ AC_SUBST(PYTHON3_PREFIX) +@@ -54,10 +57,10 @@ fi - if test $has_python2 = true - then -- PYTHON2_INCLUDE_PATH=[`python2 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`] -+ PYTHON2_INCLUDE_PATH=[`python2.7 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`] - PYTHON2_CFLAGS="-I${PYTHON2_INCLUDE_PATH}" - AC_SUBST(PYTHON2_CFLAGS) -- PYTHON2_SITE_PACKAGES=[`python2 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`] -+ PYTHON2_SITE_PACKAGES=[`python2.7 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`] - AC_SUBST(PYTHON2_SITE_PACKAGES) - AC_DEFINE(HAVE_PYTHON2, 1, Define if you have python2) - fi - if test $has_python3 = true then - PYTHON3_INCLUDE_PATH=[`python3 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`] -+ PYTHON3_INCLUDE_PATH=[`python3.6 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`] ++ PYTHON3_INCLUDE_PATH=[`python3.7 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`] PYTHON3_CFLAGS="-I${PYTHON3_INCLUDE_PATH}" AC_SUBST(PYTHON3_CFLAGS) - PYTHON3_SITE_PACKAGES=[`python3 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`] -+ PYTHON3_SITE_PACKAGES=[`python3.6 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`] ++ PYTHON3_SITE_PACKAGES=[`python3.7 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`] AC_SUBST(PYTHON3_SITE_PACKAGES) AC_DEFINE(HAVE_PYTHON3, 1, Define if you have python3) fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101122050.10CKoOGW077899>