From owner-dev-commits-ports-main@freebsd.org Mon Sep 20 03:10:02 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 78AFB676B07; Mon, 20 Sep 2021 03:10:02 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HCV0p2YqGz4ymX; Mon, 20 Sep 2021 03:10:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 379F69FA; Mon, 20 Sep 2021 03:10:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18K3A2QC038265; Mon, 20 Sep 2021 03:10:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18K3A2gk038263; Mon, 20 Sep 2021 03:10:02 GMT (envelope-from git) Date: Mon, 20 Sep 2021 03:10:02 GMT Message-Id: <202109200310.18K3A2gk038263@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 1dcd34af411b - main - science/cantera: Fix handling of Python versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1dcd34af411b87cdbc585bee08d1bb31a781600f Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2021 03:10:02 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1dcd34af411b87cdbc585bee08d1bb31a781600f commit 1dcd34af411b87cdbc585bee08d1bb31a781600f Author: Yuri Victorovich AuthorDate: 2021-09-20 03:08:25 +0000 Commit: Yuri Victorovich CommitDate: 2021-09-20 03:08:25 +0000 science/cantera: Fix handling of Python versions --- science/cantera/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/science/cantera/Makefile b/science/cantera/Makefile index f31133debef8..b5d403c77058 100644 --- a/science/cantera/Makefile +++ b/science/cantera/Makefile @@ -45,7 +45,7 @@ OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes -PYTHON_USES= python +PYTHON_USES= python:3.6+ PYTHON_USE= PYTHON=cython PYTHON_MAKE_ARGS= python_cmd="${PYTHON_CMD}" PYTHON_MAKE_ARGS_OFF= python_package="none" @@ -64,6 +64,6 @@ do-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcantera_shared.so.2.6.0 do-install-PYTHON-on: - @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cantera/_cantera.cpython-38.so + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cantera/_cantera.cpython-${PYTHON_VER:S/.//}.so .include