From nobody Wed Nov 03 18:27:32 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C61CA1837B6D; Wed, 3 Nov 2021 18:27:32 +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 4HkwH85CrHz4YHQ; Wed, 3 Nov 2021 18:27:32 +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 92E331D8B4; Wed, 3 Nov 2021 18:27:32 +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 1A3IRWvR071040; Wed, 3 Nov 2021 18:27:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A3IRWm3071039; Wed, 3 Nov 2021 18:27:32 GMT (envelope-from git) Date: Wed, 3 Nov 2021 18:27:32 GMT Message-Id: <202111031827.1A3IRWm3071039@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: c7f13313cda2 - main - biology/py-python-libsbml: limit supported python versions, fix build List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c7f13313cda239c91fba6fa7bb775817379f0fcd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7f13313cda239c91fba6fa7bb775817379f0fcd commit c7f13313cda239c91fba6fa7bb775817379f0fcd Author: Dmitry Marakasov AuthorDate: 2021-11-03 11:54:48 +0000 Commit: Dmitry Marakasov CommitDate: 2021-11-03 18:26:41 +0000 biology/py-python-libsbml: limit supported python versions, fix build - Cap supported python verions with 3.9. Fails with 3.10: Traceback (most recent call last): File "/wrkdirs/usr/ports/biology/py-python-libsbml/work-py310/python-libsbml-5.19.0/libsbml_source/src/bindings/python/doc-converter/rewrite_pydoc.py", line 121, in from formatter import NullWriter, AbstractFormatter ModuleNotFoundError: No module named 'formatter' - Fix library stripping to unbreak port with python != 3.8 Approved by: portmgr blanket --- biology/py-python-libsbml/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/biology/py-python-libsbml/Makefile b/biology/py-python-libsbml/Makefile index 2acf5ef53d00..33bea5f02f8f 100644 --- a/biology/py-python-libsbml/Makefile +++ b/biology/py-python-libsbml/Makefile @@ -12,10 +12,10 @@ LICENSE= LGPL21 BUILD_DEPENDS= cmake:devel/cmake \ swig:devel/swig -USES= python:3.6+ +USES= python:3.6-3.9 USE_PYTHON= autoplist distutils # autoplist produces incomplete plist, missing files are in pkg-plist. Reported to the upstream author fbergman@caltech.edu on 2021-08-17 post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libsbml/_libsbml.cpython-38.so + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libsbml/_libsbml*.so .include