Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2024 11:56:35 GMT
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 91e7916b1c09 - main - biology/py-pywgsim: unbreak with python3.11
Message-ID:  <202406041156.454BuZHx045608@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406041156.454BuZHx045608>