git: 8fcb80b6544f - main - devel/py-frozenlist: switch to cython3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Apr 2025 00:41:55 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8fcb80b6544f54a98ba45551cf9523f937df6c44
commit 8fcb80b6544f54a98ba45551cf9523f937df6c44
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-04-08 00:40:12 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-04-08 00:41:50 +0000
devel/py-frozenlist: switch to cython3
Only cython >= 3.0.0b1 is supported on Python 3.12+, but works
regardless of CPython version.
While here, expose pytest (all tests pass)
---
devel/py-frozenlist/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/devel/py-frozenlist/Makefile b/devel/py-frozenlist/Makefile
index 795343557a1a..4af64e1311c0 100644
--- a/devel/py-frozenlist/Makefile
+++ b/devel/py-frozenlist/Makefile
@@ -1,5 +1,6 @@
PORTNAME= frozenlist
PORTVERSION= 1.5.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +15,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}expandvars>=0:devel/py-expandvars@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=47:devel/py-setuptools@${PY_FLAVOR} \
${PY_TOMLI} \
+ ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.0.b.1:lang/cython3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
USES= gettext-runtime python
-USE_PYTHON= autoplist concurrent cython pep517
+USE_PYTHON= autoplist concurrent pep517 pytest
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +