diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-04-09 22:53:16 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-04-09 22:55:11 +0800 |
commit | 150c0018fdfece47d43cc508378c8faf26046149 (patch) | |
tree | be9d5f1aa9ef680028d389fd9ded2f0a6c1a31f8 /graphics/py-simplejpeg | |
parent | www/py-flask-migrate: Fix build after 59c51372a83e96bcd8314a60bf91a0d82a9f0f94 (diff) |
Mk/Uses/python.mk: Introduce USE_PYTHON=cython3{,_run,_test}
- Update USE_PYTHON=cython{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython3*
- While I'm here, fix incorrect usage of combining cython3 in BUILD_DEPENDS and USE_PYTHON=cython
It is added to simplify the future transition from Cython 0.29 to 3.
The minimal version is set to 3.0.12 because it is required by devel/py-propcache.
The upper bound of version is set to 3.1 because it is limited by multiple ports.
Diffstat (limited to 'graphics/py-simplejpeg')
-rw-r--r-- | graphics/py-simplejpeg/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/py-simplejpeg/Makefile b/graphics/py-simplejpeg/Makefile index 089d47b6b276..fcb92ac8a82b 100644 --- a/graphics/py-simplejpeg/Makefile +++ b/graphics/py-simplejpeg/Makefile @@ -12,12 +12,11 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ - ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} USES= cmake:indirect python -USE_PYTHON= pep517 autoplist pytest +USE_PYTHON= autoplist cython3 pep517 pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/test |