From owner-svn-ports-all@freebsd.org Tue Jan 12 20:50:26 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5ED7B4E5990; Tue, 12 Jan 2021 20:50:26 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFjQ91dlqz4dRl; Tue, 12 Jan 2021 20:50:24 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7C0BF2ED3; Tue, 12 Jan 2021 20:50:24 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10CKoO9h077901; Tue, 12 Jan 2021 20:50:24 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10CKoOGW077899; Tue, 12 Jan 2021 20:50:24 GMT (envelope-from rene@FreeBSD.org) Message-Id: <202101122050.10CKoOGW077899@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Tue, 12 Jan 2021 20:50:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561379 - in head/finance/quickfix: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rene X-SVN-Commit-Paths: in head/finance/quickfix: . files X-SVN-Commit-Revision: 561379 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 20:50:26 -0000 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