git: f1e51f12a776 - main - biology/py-pywgsim: unbreak bulk -a

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Mon, 03 Jun 2024 12:18:38 UTC
The branch main has been updated by antoine:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f1e51f12a7764df202789983ccb49abb47dbfde8

commit f1e51f12a7764df202789983ccb49abb47dbfde8
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2024-06-03 12:18:08 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2024-06-03 12:18:08 +0000

    biology/py-pywgsim: unbreak bulk -a
---
 biology/py-pywgsim/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/biology/py-pywgsim/Makefile b/biology/py-pywgsim/Makefile
index 7777162f708a..c66d99f1ba0f 100644
--- a/biology/py-pywgsim/Makefile
+++ b/biology/py-pywgsim/Makefile
@@ -13,7 +13,13 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}plac>=0:devel/py-plac@${PY_FLAVOR}
 
-USES=		python:3.10
+USES=		python
 USE_PYTHON=	autoplist distutils
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} > 31100
+BROKEN=		modern python is not supported
+.endif
+
+.include <bsd.port.post.mk>