Date: Wed, 1 Jun 2022 20:07:32 GMT From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6003b7e9ad16 - main - math/py-pystan: mark BROKEN with Python-3.9 Message-ID: <202206012007.251K7Woo095489@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=6003b7e9ad16ec2cec34b25bbc77a00993c76556 commit 6003b7e9ad16ec2cec34b25bbc77a00993c76556 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2022-06-01 19:58:13 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-06-01 19:58:13 +0000 math/py-pystan: mark BROKEN with Python-3.9 1) This port blocks the change of the default version of Python from 3.8 to 3.9 (See PR 261703); 2) To fix it with Python-3.9, we have to upgrade it (patch attached in PR 262797); 3) But this upgrade requires to install a new port, devel/stanc3 (see PR 262795 and PR 262796); 4) And finally to add devel/stanc3 we need an infrastructure of OCaml ports relatively recent (see PR 262781); 5) Unfortunately it does not seem realistic to expect this modernization of OCaml ports before a rather long time. Meanwhile, mark it BROKEN with Python-3.9. PR: 262797 Approved by: Gilbert Morgan (maintainer) --- math/py-pystan/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/math/py-pystan/Makefile b/math/py-pystan/Makefile index 1a9a4384d52f..1078d53cd115 100644 --- a/math/py-pystan/Makefile +++ b/math/py-pystan/Makefile @@ -14,6 +14,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++14-lang python:3.6+ shebangfix USE_PYTHON= autoplist distutils +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} >= 30900 +# See PR 262797 - to be upgraded after the modernization of OCaml ports +BROKEN= several build errors +.endif + BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} @@ -27,4 +34,4 @@ SHEBANG_FILES= ${WRKSRC}/pystan/stan/lib/stan_math/lib/upgrade-sundials.sh \ NO_ARCH= yes NO_ARCH_IGNORE= _api.so _chains.so _misc.so -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206012007.251K7Woo095489>