diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2024-06-04 11:55:31 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2024-06-04 11:55:31 +0000 |
commit | 91e7916b1c0954e949a0482cfda80ad5ff57767b (patch) | |
tree | 86a37c28f3215e58db09dae4af0a03d451df6fba | |
parent | 84f9bb58a637c8d9497b027df4e90372d8e7176e (diff) | |
download | ports-91e7916b1c0954e949a0482cfda80ad5ff57767b.tar.gz ports-91e7916b1c0954e949a0482cfda80ad5ff57767b.zip |
biology/py-pywgsim: unbreak with python3.11
make it recreate the source with newer cython
PR: 275494
Approved by: portmgr (blanket approval)
-rw-r--r-- | biology/py-pywgsim/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/biology/py-pywgsim/Makefile b/biology/py-pywgsim/Makefile index c66d99f1ba0f..4a7e4880a318 100644 --- a/biology/py-pywgsim/Makefile +++ b/biology/py-pywgsim/Makefile @@ -14,12 +14,9 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plac>=0:devel/py-plac@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist cython distutils -.include <bsd.port.pre.mk> +post-patch: + cython-${PYTHON_VER} ${WRKSRC}/pywgsim/wgsim_lib.pyx -.if ${PYTHON_REL} > 31100 -BROKEN= modern python is not supported -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |