git: a027704fe429 - main - archivers/py-blosc2: Use USES=python:3.10+ after python311 as default (62a23ef0936e21fef507653054d6732bb7ef085f)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jun 2024 02:47:39 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a027704fe4290f160dd45f9f73b4a4021e3055d2
commit a027704fe4290f160dd45f9f73b4a4021e3055d2
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-03 02:38:04 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-03 02:38:04 +0000
archivers/py-blosc2: Use USES=python:3.10+ after python311 as default (62a23ef0936e21fef507653054d6732bb7ef085f)
---
archivers/py-blosc2/Makefile | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/archivers/py-blosc2/Makefile b/archivers/py-blosc2/Makefile
index e040c9d77a37..8ee5d701b81a 100644
--- a/archivers/py-blosc2/Makefile
+++ b/archivers/py-blosc2/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.20.3,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR}
-USES= pkgconfig python
+USES= pkgconfig python:3.10+
USE_PYTHON= autoplist concurrent cython pep517
MAKE_ENV= CMAKE_ARGS=-DUSE_SYSTEM_BLOSC2=ON
@@ -37,10 +37,4 @@ post-patch:
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 31000
-IGNORE= requires Python 3.10+
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>