git: 91e7916b1c09 - main - biology/py-pywgsim: unbreak with python3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jun 2024 11:56:35 UTC
The branch main has been updated by rm: URL: https://cgit.FreeBSD.org/ports/commit/?id=91e7916b1c0954e949a0482cfda80ad5ff57767b commit 91e7916b1c0954e949a0482cfda80ad5ff57767b Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-06-04 11:55:31 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-06-04 11:55:31 +0000 biology/py-pywgsim: unbreak with python3.11 make it recreate the source with newer cython PR: 275494 Approved by: portmgr (blanket approval) --- biology/py-pywgsim/Makefile | 11 ++++------- 1 file 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>