aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-01-15 17:22:12 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-01-15 17:22:12 +0000
commit6d475ab2dcd08d35a6a3ef6bd9db134e3c7a71f0 (patch)
tree68233e064fd33fe9c2c0016c6bb2b0913f2d5eae
parentcbab628d0581609089622b1b82842a212aab3911 (diff)
Mk/Uses/python.mk: Remove USE_PYTHON=cython3{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython* - Bump PORTREVISION dependent ports of USE_PYTHON=cython_run for dependency change PR: 291778
-rw-r--r--Mk/Uses/python.mk22
-rw-r--r--archivers/py-blosc2/Makefile2
-rw-r--r--archivers/py-borgbackup/Makefile2
-rw-r--r--astro/py-astropy/Makefile2
-rw-r--r--audio/py-pyliblo3/Makefile2
-rw-r--r--biology/py-bx-python/Makefile2
-rw-r--r--biology/py-dnaio/Makefile2
-rw-r--r--biology/py-macs3/Makefile2
-rw-r--r--biology/py-pyrodigal/Makefile2
-rw-r--r--comms/libimobiledevice/Makefile2
-rw-r--r--databases/py-apache-arrow/Makefile2
-rw-r--r--databases/py-pyarrow/Makefile4
-rw-r--r--databases/py-pyarrow/distinfo6
-rw-r--r--databases/py-snowflake-connector-python/Makefile2
-rw-r--r--databases/py-unqlite/Makefile2
-rw-r--r--devel/meson-python/Makefile2
-rw-r--r--devel/py-cffi/Makefile2
-rw-r--r--devel/py-cwcwidth/Makefile2
-rw-r--r--devel/py-cysignals/Makefile2
-rw-r--r--devel/py-ewah-bool-utils/Makefile2
-rw-r--r--devel/py-frozenlist/Makefile2
-rw-r--r--devel/py-gevent/Makefile2
-rw-r--r--devel/py-grpcio/Makefile2
-rw-r--r--devel/py-guppy3/Makefile2
-rw-r--r--devel/py-intbitset/Makefile2
-rw-r--r--devel/py-libplist/Makefile2
-rw-r--r--devel/py-line-profiler/Makefile2
-rw-r--r--devel/py-lxml/Makefile2
-rw-r--r--devel/py-lxml5/Makefile2
-rw-r--r--devel/py-memory-allocator/Makefile2
-rw-r--r--devel/py-msgpack/Makefile2
-rw-r--r--devel/py-propcache/Makefile2
-rw-r--r--devel/py-pycocotools/Makefile2
-rw-r--r--devel/py-pykdtree/Makefile2
-rw-r--r--devel/py-pysimdjson/Makefile2
-rw-r--r--devel/py-pyyaml-ft/Makefile2
-rw-r--r--devel/py-pyyaml/Makefile2
-rw-r--r--devel/py-qutip/Makefile4
-rw-r--r--devel/py-reedsolo/Makefile2
-rw-r--r--devel/py-thinc8/Makefile2
-rw-r--r--devel/py-tree-sitter-languages/Makefile2
-rw-r--r--filesystems/py-llfuse/Makefile2
-rw-r--r--graphics/inkscape/Makefile2
-rw-r--r--graphics/py-fiona/Makefile2
-rw-r--r--graphics/py-imagecodecs/Makefile2
-rw-r--r--graphics/py-pandana/Makefile2
-rw-r--r--graphics/py-pandarm/Makefile14
-rw-r--r--graphics/py-pandarm/distinfo6
-rw-r--r--graphics/py-pandarm/files/patch-pyproject.toml21
-rw-r--r--graphics/py-pyogrio/Makefile2
-rw-r--r--graphics/py-pyproj/Makefile2
-rw-r--r--graphics/py-rasterio/Makefile2
-rw-r--r--graphics/py-scikit-image/Makefile2
-rw-r--r--graphics/py-simplejpeg/Makefile2
-rw-r--r--graphics/py-vispy/Makefile2
-rw-r--r--japanese/py-fugashi/Makefile2
-rw-r--r--lang/py-lupa/Makefile2
-rw-r--r--math/py-CyLP/Makefile2
-rw-r--r--math/py-PySCIPOpt/Makefile2
-rw-r--r--math/py-blis/Makefile2
-rw-r--r--math/py-cypari2/Makefile2
-rw-r--r--math/py-fpylll/Makefile2
-rw-r--r--math/py-linearmodels/Makefile2
-rw-r--r--math/py-lrcalc/Makefile2
-rw-r--r--math/py-mathics/Makefile4
-rw-r--r--math/py-pandas/Makefile2
-rw-r--r--math/py-petsc4py/Makefile2
-rw-r--r--math/py-pplpy/Makefile2
-rw-r--r--math/py-primecountpy/Makefile2
-rw-r--r--math/py-primme/Makefile2
-rw-r--r--math/py-pyFFTW/Makefile2
-rw-r--r--math/py-pyreadr/Makefile2
-rw-r--r--math/py-pyreadstat/Makefile2
-rw-r--r--math/py-pywavelets/Makefile2
-rw-r--r--math/py-slepc4py/Makefile2
-rw-r--r--math/py-statsmodels/Makefile2
-rw-r--r--math/py-yt/Makefile2
-rw-r--r--multimedia/py-av/Makefile2
-rw-r--r--net/py-mpi4py/Makefile2
-rw-r--r--net/py-pyzmq/Makefile2
-rw-r--r--net/py-zeroconf/Makefile2
-rw-r--r--print/py-uharfbuzz/Makefile2
-rw-r--r--science/py-dimod/Makefile2
-rw-r--r--science/py-dipy/Makefile2
-rw-r--r--science/py-dwave-gate/Makefile2
-rw-r--r--science/py-dwave-optimization/Makefile2
-rw-r--r--science/py-dwave-preprocessing/Makefile2
-rw-r--r--science/py-dwave-samplers/Makefile2
-rw-r--r--science/py-h5py/Makefile2
-rw-r--r--science/py-scikit-learn/Makefile2
-rw-r--r--security/py-gssapi/Makefile2
-rw-r--r--security/py-krb5/Makefile2
-rw-r--r--security/py-python-pkcs11/Makefile2
-rw-r--r--textproc/py-jq/Makefile2
-rw-r--r--textproc/py-openstep-plist/Makefile2
-rw-r--r--textproc/py-pystemmer/Makefile2
-rw-r--r--textproc/py-spacy/Makefile2
-rw-r--r--textproc/py-tree-sitter-language-pack/Makefile2
-rw-r--r--textproc/py-wordcloud/Makefile2
-rw-r--r--www/py-yarl/Makefile2
-rw-r--r--x11/xpra/Makefile2
101 files changed, 118 insertions, 149 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index c1c041b53386..5651c3fd73b6 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -100,12 +100,6 @@
#
# cython0_run - Depend on lang/cython0 at run-time.
#
-# cython3 - Depend on lang/cython3 at build-time.
-#
-# cython3_run - Depend on lang/cython3 at run-time.
-#
-# cython3_test - Depend on lang/cython3 for tests.
-#
# flavors - Force creation of flavors for Python 2 and 3 default
# versions, where applicable.
#
@@ -362,9 +356,6 @@ _VALID_PYTHON_FEATURES= allflavors \
cython_test \
cython0 \
cython0_run \
- cython3 \
- cython3_run \
- cython3_test \
distutils \
flavors \
noegginfo \
@@ -659,7 +650,6 @@ TEST_DEPENDS+= ${CRYPTOGRAPHY_DEPENDS}
# cython* support
CYTHON_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=3.2.4:lang/cython@${PY_FLAVOR}
CYTHON0_DEPENDS=${PYTHON_PKGNAMEPREFIX}cython0>=0.29.37<3:lang/cython0@${PY_FLAVOR}
-CYTHON3_DEPENDS=${CYTHON_DEPENDS}
. if defined(_PYTHON_FEATURE_CYTHON)
BUILD_DEPENDS+= ${CYTHON_DEPENDS}
@@ -681,18 +671,6 @@ BUILD_DEPENDS+= ${CYTHON0_DEPENDS}
RUN_DEPENDS+= ${CYTHON0_DEPENDS}
. endif
-. if defined(_PYTHON_FEATURE_CYTHON3)
-BUILD_DEPENDS+= ${CYTHON3_DEPENDS}
-. endif
-
-. if defined(_PYTHON_FEATURE_CYTHON3_RUN)
-RUN_DEPENDS+= ${CYTHON3_DEPENDS}
-. endif
-
-. if defined(_PYTHON_FEATURE_CYTHON3_TEST)
-TEST_DEPENDS+= ${CYTHON3_DEPENDS}
-. endif
-
. if defined(_PYTHON_FEATURE_CONCURRENT)
. if !defined(_PYTHON_FEATURE_FLAVORS) && (${_PYTHON_VERSION_MINIMUM:M3*} || ${_PYTHON_VERSION_MAXIMUM:M2*})
DEV_WARNING+= "USE_PYTHON=concurrent when only one of Python 2 or 3 is supported AND not using flavors does not make any sense"
diff --git a/archivers/py-blosc2/Makefile b/archivers/py-blosc2/Makefile
index 11e228cb2f29..9c7fedf13236 100644
--- a/archivers/py-blosc2/Makefile
+++ b/archivers/py-blosc2/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
USES= cmake:indirect pkgconfig python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
MAKE_ENV= USE_SYSTEM_BLOSC2=1
diff --git a/archivers/py-borgbackup/Makefile b/archivers/py-borgbackup/Makefile
index dcbedfe66e72..56bd427890f7 100644
--- a/archivers/py-borgbackup/Makefile
+++ b/archivers/py-borgbackup/Makefile
@@ -29,7 +29,7 @@ TEST_DEPENDS= ${RUN_DEPENDS} \
fakeroot:security/fakeroot
USES= pkgconfig python ssl
-USE_PYTHON= autoplist cython3 distutils
+USE_PYTHON= autoplist cython distutils
MAKE_ENV= BORG_OPENSSL_PREFIX=${OPENSSLBASE}
OPTIONS_DEFINE= FUSE
diff --git a/astro/py-astropy/Makefile b/astro/py-astropy/Makefile
index b536d74a680f..b6554e7846a6 100644
--- a/astro/py-astropy/Makefile
+++ b/astro/py-astropy/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}astropy-iers-data>=0:astro/py-astropy-iers-data@${PY_FLAVOR}
USES= compiler:c11 python
-USE_PYTHON= autoplist cython3 distutils
+USE_PYTHON= autoplist cython distutils
CONFLICTS_INSTALL= p5-Data-ShowTable # bin/showtable
diff --git a/audio/py-pyliblo3/Makefile b/audio/py-pyliblo3/Makefile
index 39f1e02f4a62..730508c1139b 100644
--- a/audio/py-pyliblo3/Makefile
+++ b/audio/py-pyliblo3/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FL
LIB_DEPENDS= liblo.so:audio/liblo
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
diff --git a/biology/py-bx-python/Makefile b/biology/py-bx-python/Makefile
index 309fa98df6ca..46ade4627c53 100644
--- a/biology/py-bx-python/Makefile
+++ b/biology/py-bx-python/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PY_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}
USES= compiler python
-USE_PYTHON= pep517 cython3 autoplist
+USE_PYTHON= autoplist cython pep517
post-patch:
# force cythonization, compilation fails otherwise for some reason
diff --git a/biology/py-dnaio/Makefile b/biology/py-dnaio/Makefile
index bf440e863d1b..061b61507ff3 100644
--- a/biology/py-dnaio/Makefile
+++ b/biology/py-dnaio/Makefile
@@ -16,6 +16,6 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist cython3 pep517
+USE_PYTHON= autoplist cython pep517
.include <bsd.port.mk>
diff --git a/biology/py-macs3/Makefile b/biology/py-macs3/Makefile
index bcb58abd2808..9e80cf787df6 100644
--- a/biology/py-macs3/Makefile
+++ b/biology/py-macs3/Makefile
@@ -29,7 +29,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
USES= localbase perl5 python shebangfix
USE_GITHUB= yes
USE_PERL5= test
-USE_PYTHON= autoplist concurrent cython3 distutils
+USE_PYTHON= autoplist concurrent cython distutils
GH_ACCOUNT= macs3-project
GH_PROJECT= MACS
diff --git a/biology/py-pyrodigal/Makefile b/biology/py-pyrodigal/Makefile
index 631c485bdc47..abc88d6fac82 100644
--- a/biology/py-pyrodigal/Makefile
+++ b/biology/py-pyrodigal/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}archspec>0:devel/py-archspec@${PY_FLAVOR}
USES= cmake:indirect python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/comms/libimobiledevice/Makefile b/comms/libimobiledevice/Makefile
index c55c56ed183d..7454eda507d3 100644
--- a/comms/libimobiledevice/Makefile
+++ b/comms/libimobiledevice/Makefile
@@ -29,7 +29,7 @@ BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}libplist>=2.2.0:devel/py-libplist@${PY_FL
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}libplist>=2.2.0:devel/py-libplist@${PY_FLAVOR}
USES+= python
-USE_PYTHON= cython3 flavors
+USE_PYTHON= cython flavors
CONFIGURE_ENV+= PYTHON_LDFLAGS="`pkg-config --libs python-${PYTHON_VER}`"
diff --git a/databases/py-apache-arrow/Makefile b/databases/py-apache-arrow/Makefile
index a52a72982214..aa19c43164da 100644
--- a/databases/py-apache-arrow/Makefile
+++ b/databases/py-apache-arrow/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libarrow.so:databases/arrow # assumes that arrow is built with PYTHON=ON (python support is built)
USES= compiler:c++11-lang pkgconfig python
-USE_PYTHON= distutils cython3 pytest # autoplist is broken, see https://issues.apache.org/jira/browse/ARROW-16820
+USE_PYTHON= cython distutils pytest # autoplist is broken, see https://issues.apache.org/jira/browse/ARROW-16820
WRKSRC_SUBDIR= python
diff --git a/databases/py-pyarrow/Makefile b/databases/py-pyarrow/Makefile
index b9fa6399e079..4a2dc38b231f 100644
--- a/databases/py-pyarrow/Makefile
+++ b/databases/py-pyarrow/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pyarrow
-PORTVERSION= 21.0.0
+PORTVERSION= 22.0.0
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@ BUILD_DEPENDS= arrow>=${PORTVERSION}<${PORTVERSION}_99:databases/arrow \
LIB_DEPENDS= libarrow.so:databases/arrow
USES= cmake:indirect python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/databases/py-pyarrow/distinfo b/databases/py-pyarrow/distinfo
index 8c68d5145ef0..5be65892c0e1 100644
--- a/databases/py-pyarrow/distinfo
+++ b/databases/py-pyarrow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753266046
-SHA256 (pyarrow-21.0.0.tar.gz) = 5051f2dccf0e283ff56335760cbc8622cf52264d67e359d5569541ac11b6d5bc
-SIZE (pyarrow-21.0.0.tar.gz) = 1133487
+TIMESTAMP = 1765884836
+SHA256 (pyarrow-22.0.0.tar.gz) = 3d600dc583260d845c7d8a6db540339dd883081925da2bd1c5cb808f720b3cd9
+SIZE (pyarrow-22.0.0.tar.gz) = 1151151
diff --git a/databases/py-snowflake-connector-python/Makefile b/databases/py-snowflake-connector-python/Makefile
index 08cd7198c13d..8b93eabf5a48 100644
--- a/databases/py-snowflake-connector-python/Makefile
+++ b/databases/py-snowflake-connector-python/Makefile
@@ -31,7 +31,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0.24.0<2.0.0:devel/py-asn1crypto@
${PYTHON_PKGNAMEPREFIX}tomlkit>0:textproc/py-tomlkit@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cryptography cython3 pep517
+USE_PYTHON= autoplist concurrent cryptography cython pep517
post-install:
${STRIP_CMD} \
diff --git a/databases/py-unqlite/Makefile b/databases/py-unqlite/Makefile
index 4547b7670560..8105ee820318 100644
--- a/databases/py-unqlite/Makefile
+++ b/databases/py-unqlite/Makefile
@@ -14,7 +14,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAV
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist cython3 pep517
+USE_PYTHON= autoplist cython pep517
post-stage:
@${STRIP_CMD} ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/unqlite*.so
diff --git a/devel/meson-python/Makefile b/devel/meson-python/Makefile
index 02f8fc74d43b..e0ce97139ac8 100644
--- a/devel/meson-python/Makefile
+++ b/devel/meson-python/Makefile
@@ -30,7 +30,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} \
git:devel/git
USES= python
-USE_PYTHON= autoplist concurrent cython3_test pep517 pytest
+USE_PYTHON= autoplist concurrent cython_test pep517 pytest
# tarball has UTF-8 filenames
EXTRACT_CMD= env LANG=C.UTF-8 LC_ALL=C.UTF-8 ${TAR}
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile
index d4872d68a531..a12e6422650e 100644
--- a/devel/py-cffi/Makefile
+++ b/devel/py-cffi/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libffi.so:devel/libffi
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=0:devel/py-pycparser@${PY_FLAVOR}
USES= compiler:c11 localbase python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/devel/py-cwcwidth/Makefile b/devel/py-cwcwidth/Makefile
index a804ab465496..a2c4e15f3c29 100644
--- a/devel/py-cwcwidth/Makefile
+++ b/devel/py-cwcwidth/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=43:devel/py-setuptools@${PY_FL
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python:3.11+
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-cysignals/Makefile b/devel/py-cysignals/Makefile
index f544f1ce3174..7e18a0bff52e 100644
--- a/devel/py-cysignals/Makefile
+++ b/devel/py-cysignals/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorlog>0:devel/py-colorlog@${PY_FLAVOR}
USES= compiler:c++11-lang pkgconfig pytest python shebangfix
SHEBANG_FILES= src/scripts/cysignals-CSI
-USE_PYTHON= cython3 pep517
+USE_PYTHON= cython pep517
BINARY_ALIAS= python3=${PYTHON_CMD}
TEST_TARGET= check
diff --git a/devel/py-ewah-bool-utils/Makefile b/devel/py-ewah-bool-utils/Makefile
index 474f4d9a80d7..23fd1c3ebd7c 100644
--- a/devel/py-ewah-bool-utils/Makefile
+++ b/devel/py-ewah-bool-utils/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
RUN_DEPENDS= ${PYNUMPY}
USES= python
-USE_PYTHON= autoplist cython3 pep517 pytest
+USE_PYTHON= autoplist cython pep517 pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # tests fail to run, see https://github.com/yt-project/ewah_bool_utils/issues/41
TEST_WRKSRC= ${WRKSRC}/tests
diff --git a/devel/py-frozenlist/Makefile b/devel/py-frozenlist/Makefile
index 1294b01f83ad..08a4b8c1f6d1 100644
--- a/devel/py-frozenlist/Makefile
+++ b/devel/py-frozenlist/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}expandvars>=0:devel/py-expandvars@${PY_FLA
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
USES= gettext-runtime python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-gevent/Makefile b/devel/py-gevent/Makefile
index a5d3db213cc0..9b214fa840a5 100644
--- a/devel/py-gevent/Makefile
+++ b/devel/py-gevent/Makefile
@@ -30,7 +30,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.17.1:devel/py-cffi@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
USES= compiler:c11 localbase python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
MAKE_ENV= GEVENTSETUP_EMBED_CARES=0 GEVENTSETUP_EMBED_LIBEV=0 GEVENTSETUP_EMBED_LIBUV=0
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
diff --git a/devel/py-grpcio/Makefile b/devel/py-grpcio/Makefile
index 8a30ffb19082..e7b1fda56c53 100644
--- a/devel/py-grpcio/Makefile
+++ b/devel/py-grpcio/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libcares.so:dns/c-ares
USES= compiler:c++11-lib localbase:ldflags python ssl
BROKEN_SSL= libressl
BROKEN_SSL_REASON= use of undeclared identifier 'X509_STORE_set_get_crl'
-USE_PYTHON= autoplist cython3 distutils
+USE_PYTHON= autoplist cython distutils
MAKE_ENV+= GRPC_PYTHON_BUILD_SYSTEM_CARES=true \
GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true \
GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true
diff --git a/devel/py-guppy3/Makefile b/devel/py-guppy3/Makefile
index 4a333738e194..703f018177ee 100644
--- a/devel/py-guppy3/Makefile
+++ b/devel/py-guppy3/Makefile
@@ -14,7 +14,7 @@ LICENSE= MIT
#GH_ACCOUNT= zhuyifei1999
USES= python
-USE_PYTHON= cython3 distutils
+USE_PYTHON= cython distutils
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
diff --git a/devel/py-intbitset/Makefile b/devel/py-intbitset/Makefile
index a9c93fe4b1b1..c89fe3fd3aa6 100644
--- a/devel/py-intbitset/Makefile
+++ b/devel/py-intbitset/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist cython3 pep517 pytest
+USE_PYTHON= autoplist cython pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/devel/py-libplist/Makefile b/devel/py-libplist/Makefile
index 3d9b31ece40d..500d013099b7 100644
--- a/devel/py-libplist/Makefile
+++ b/devel/py-libplist/Makefile
@@ -8,7 +8,7 @@ COMMENT= Python bindings for libplist
LIB_DEPENDS= libplist-2.0.so:${MASTER_PORT}
USES+= localbase:ldflags python
-USE_PYTHON= cython3 flavors
+USE_PYTHON= cython flavors
CONFIGURE_ENV= PYTHON_LDFLAGS="`pkg-config --libs python-${PYTHON_VER}`"
diff --git a/devel/py-line-profiler/Makefile b/devel/py-line-profiler/Makefile
index 64aa5666a6e2..073a5b29312f 100644
--- a/devel/py-line-profiler/Makefile
+++ b/devel/py-line-profiler/Makefile
@@ -22,7 +22,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=5.3:devel/py-coverage@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}xdoctest>=1.1.3:devel/py-xdoctest@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist cython3 distutils pytest # 7 tests fail, see https://github.com/pyutils/line_profiler/issues/266
+USE_PYTHON= autoplist cython distutils pytest # 7 tests fail, see https://github.com/pyutils/line_profiler/issues/266
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/devel/py-lxml/Makefile b/devel/py-lxml/Makefile
index 6f4f8043de6f..329a41be291f 100644
--- a/devel/py-lxml/Makefile
+++ b/devel/py-lxml/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAV
USES= compiler cpe gnome python
USE_GNOME= libxml2 libxslt
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib
diff --git a/devel/py-lxml5/Makefile b/devel/py-lxml5/Makefile
index 58bb4b20cb9d..b7b58eb332cb 100644
--- a/devel/py-lxml5/Makefile
+++ b/devel/py-lxml5/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
USES= cpe gnome python
USE_GNOME= libxml2 libxslt
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}lxml ${PYTHON_PKGNAMEPREFIX}lxml5
diff --git a/devel/py-memory-allocator/Makefile b/devel/py-memory-allocator/Makefile
index e6643e39b193..9c44a2f75c9c 100644
--- a/devel/py-memory-allocator/Makefile
+++ b/devel/py-memory-allocator/Makefile
@@ -11,6 +11,6 @@ WWW= https://pypi.org/project/memory-allocator/
LICENSE= GPLv3
USES= meson python
-USE_PYTHON= cython3
+USE_PYTHON= cython
.include <bsd.port.mk>
diff --git a/devel/py-msgpack/Makefile b/devel/py-msgpack/Makefile
index 7e4768da7e0c..6d1df442eaa7 100644
--- a/devel/py-msgpack/Makefile
+++ b/devel/py-msgpack/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-propcache/Makefile b/devel/py-propcache/Makefile
index d32d376e1e50..dfa6aec847cf 100644
--- a/devel/py-propcache/Makefile
+++ b/devel/py-propcache/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}expandvars>=0:devel/py-expandvars@${PY_FLA
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-pycocotools/Makefile b/devel/py-pycocotools/Makefile
index 5a61617a22cc..996bff2ad6af 100644
--- a/devel/py-pycocotools/Makefile
+++ b/devel/py-pycocotools/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
OPTIONS_DEFINE= ALL
ALL_DESC= All optional dependencies
diff --git a/devel/py-pykdtree/Makefile b/devel/py-pykdtree/Makefile
index 732586babac7..34d8b9432a1c 100644
--- a/devel/py-pykdtree/Makefile
+++ b/devel/py-pykdtree/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
.if !exists(/usr/include/omp.h)
MAKE_ENV= USE_OMP=0
diff --git a/devel/py-pysimdjson/Makefile b/devel/py-pysimdjson/Makefile
index ef291b226fef..b1816814fa99 100644
--- a/devel/py-pysimdjson/Makefile
+++ b/devel/py-pysimdjson/Makefile
@@ -17,7 +17,7 @@ LICENSE= MIT
# ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR}
USES= python
-USE_PYTHON= cython3 distutils
+USE_PYTHON= cython distutils
CFLAGS_powerpc64= -mpower8-vector
diff --git a/devel/py-pyyaml-ft/Makefile b/devel/py-pyyaml-ft/Makefile
index b49ca6135229..d19fd59dae1c 100644
--- a/devel/py-pyyaml-ft/Makefile
+++ b/devel/py-pyyaml-ft/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
LIB_DEPENDS= libyaml.so:textproc/libyaml
USES= localbase python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
diff --git a/devel/py-pyyaml/Makefile b/devel/py-pyyaml/Makefile
index 7207d5aedc5b..d9b572833326 100644
--- a/devel/py-pyyaml/Makefile
+++ b/devel/py-pyyaml/Makefile
@@ -12,7 +12,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= localbase python
-USE_PYTHON= autoplist concurrent cython3 distutils
+USE_PYTHON= autoplist concurrent cython distutils
OPTIONS_DEFINE= LIBYAML EXAMPLES
OPTIONS_DEFAULT=LIBYAML
diff --git a/devel/py-qutip/Makefile b/devel/py-qutip/Makefile
index cb4eec83ac2e..e011d08ec477 100644
--- a/devel/py-qutip/Makefile
+++ b/devel/py-qutip/Makefile
@@ -1,6 +1,6 @@
PORTNAME= qutip
DISTVERSION= 5.0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -25,7 +25,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
# the optional graphics/py-mayavi dependency is omitted because it is python-2.7 -only
USES= python
-USE_PYTHON= autoplist cython3 cython3_run pep517
+USE_PYTHON= autoplist cython cython_run pep517
post-install:
@${STRIP_CMD} \
diff --git a/devel/py-reedsolo/Makefile b/devel/py-reedsolo/Makefile
index 30ddaef71426..294e51e8b46a 100644
--- a/devel/py-reedsolo/Makefile
+++ b/devel/py-reedsolo/Makefile
@@ -19,7 +19,7 @@ USES= python
USE_GITHUB= yes
GH_ACCOUNT= tomerfiliba-org
GH_PROJECT= reedsolomon
-USE_PYTHON= autoplist cython3 distutils pytest
+USE_PYTHON= autoplist cython distutils pytest
TEST_ENV+= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/devel/py-thinc8/Makefile b/devel/py-thinc8/Makefile
index c2d4ccd31a01..5f5e745a7f92 100644
--- a/devel/py-thinc8/Makefile
+++ b/devel/py-thinc8/Makefile
@@ -35,7 +35,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=1.3.0<1.4.0:math/py-blis@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}wasabi>=0.8.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
PORTSCOUT= limit:^8\.
diff --git a/devel/py-tree-sitter-languages/Makefile b/devel/py-tree-sitter-languages/Makefile
index aee3507284bc..940a79505dc8 100644
--- a/devel/py-tree-sitter-languages/Makefile
+++ b/devel/py-tree-sitter-languages/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tree-sitter>=0:devel/py-tree-sitter@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
USE_GITHUB= yes
# https://github.com/grantjenks/py-tree-sitter-languages/blob/main/repos.txt
diff --git a/filesystems/py-llfuse/Makefile b/filesystems/py-llfuse/Makefile
index a43693ebe9a3..685f997249b6 100644
--- a/filesystems/py-llfuse/Makefile
+++ b/filesystems/py-llfuse/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL
LIB_DEPENDS= libfuse.so:filesystems/fusefs-libs
USES= compiler:c++11-lang fuse pkgconfig python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index d8d546950688..2133d0113fc6 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -54,7 +54,7 @@ USES= compiler:c++20-lang cmake:testing cpe desktop-file-utils ghostscript:run
gnome jpeg pathfix pkgconfig python \
readline shebangfix tar:xz xorg
USE_GNOME= cairo gdkpixbuf glibmm gtkmm30 gtksourceview4 libxml2 libxslt
-USE_PYTHON= cython3
+USE_PYTHON= cython
USE_XORG= sm ice x11 xext
USE_LDCONFIG= yes
diff --git a/graphics/py-fiona/Makefile b/graphics/py-fiona/Makefile
index 1227976ce629..aca906388c70 100644
--- a/graphics/py-fiona/Makefile
+++ b/graphics/py-fiona/Makefile
@@ -26,7 +26,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cligj>=0.5:devel/py-cligj@${PY_FLAVOR} \
LIB_DEPENDS+= libgdal.so:graphics/gdal
USES= compiler python
-USE_PYTHON= autoplist pep517 cython3
+USE_PYTHON= autoplist cython pep517
CONFLICTS_INSTALL= fio
diff --git a/graphics/py-imagecodecs/Makefile b/graphics/py-imagecodecs/Makefile
index 08b8393b808c..0d01ce3dedfe 100644
--- a/graphics/py-imagecodecs/Makefile
+++ b/graphics/py-imagecodecs/Makefile
@@ -45,7 +45,7 @@ LIB_DEPENDS= libaec.so:science/libaec \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= jpeg localbase python:3.11+
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
CPPFLAGS+= -I${LOCALBASE}/include/jxrlib \
-I${LOCALBASE}/include/openjpeg-2.5
diff --git a/graphics/py-pandana/Makefile b/graphics/py-pandana/Makefile
index 5e67af375233..b3ed0b7258ed 100644
--- a/graphics/py-pandana/Makefile
+++ b/graphics/py-pandana/Makefile
@@ -27,7 +27,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.8,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tables>=3.1:devel/py-tables@${PY_FLAVOR}
USES= compiler:c++11-lang python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/graphics/py-pandarm/Makefile b/graphics/py-pandarm/Makefile
index 10178e91f69f..df9eba642344 100644
--- a/graphics/py-pandarm/Makefile
+++ b/graphics/py-pandarm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pandarm
-PORTVERSION= 0.0.3
+PORTVERSION= 0.0.4
CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +15,14 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=40.8:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geopandas>=0:graphics/py-geopandas@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pandas>=2,1:math/py-pandas@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.18:science/py-scikit-learn@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tables>=3.1:devel/py-tables@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geopandas>=1.1:graphics/py-geopandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=1.26,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=2.2,1:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.4:science/py-scikit-learn@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tables>=3.10:devel/py-tables@${PY_FLAVOR}
USES= compiler:c++11-lang python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/graphics/py-pandarm/distinfo b/graphics/py-pandarm/distinfo
index e257b0ff11e8..943b4637da3b 100644
--- a/graphics/py-pandarm/distinfo
+++ b/graphics/py-pandarm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1765032802
-SHA256 (pandarm-0.0.3.tar.gz) = 2aa4d069326480a189b5ce7c8d2b43005c6abf861f3f67b880ac8e13fbf34f8f
-SIZE (pandarm-0.0.3.tar.gz) = 12783812
+TIMESTAMP = 1767216164
+SHA256 (pandarm-0.0.4.tar.gz) = 97af7ddebe3457abf4d593b8272ba212adfa1b0d6dbe68117b4a816ada01c1b4
+SIZE (pandarm-0.0.4.tar.gz) = 12783695
diff --git a/graphics/py-pandarm/files/patch-pyproject.toml b/graphics/py-pandarm/files/patch-pyproject.toml
index 5a9669386ce9..972abdd756d5 100644
--- a/graphics/py-pandarm/files/patch-pyproject.toml
+++ b/graphics/py-pandarm/files/patch-pyproject.toml
@@ -1,4 +1,4 @@
---- pyproject.toml.orig 2025-11-28 23:32:04 UTC
+--- pyproject.toml.orig 2025-12-29 20:33:13 UTC
+++ pyproject.toml
@@ -1,7 +1,7 @@ build-backend = "setuptools.build_meta"
[build-system]
@@ -9,25 +9,16 @@
[tool.setuptools_scm]
-@@ -9,7 +9,7 @@ dependencies = [
- name = "pandarm"
- dynamic = ["version"]
- dependencies = [
-- "numpy >=2",
-+ "numpy",
- "pandas >=2",
- "geopandas",
- "scikit-learn >=0.18",
-@@ -19,7 +19,7 @@ classifiers = [
- "Programming Language :: Python :: 3",
- "License :: OSI Approved :: GNU Affero General Public License v3"
+@@ -22,7 +22,7 @@ classifiers = [
+ "Programming Language :: Python :: 3",
+ "License :: OSI Approved :: GNU Affero General Public License v3"
]
-license-files = ["LICENSE"]
+license = {file = "LICENSE"}
requires-python = ">=3.10"
- [tool.setuptools.packages.find]
-@@ -74,4 +74,4 @@ exclude_lines = [
+ [project.urls]
+@@ -71,4 +71,4 @@ exclude_lines = [
"raise NotImplementedError",
"except ModuleNotFoundError:",
"except ImportError",
diff --git a/graphics/py-pyogrio/Makefile b/graphics/py-pyogrio/Makefile
index 7f882420414b..c19defbc3cc9 100644
--- a/graphics/py-pyogrio/Makefile
+++ b/graphics/py-pyogrio/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/graphics/py-pyproj/Makefile b/graphics/py-pyproj/Makefile
index fce72b1915be..b7b66675125c 100644
--- a/graphics/py-pyproj/Makefile
+++ b/graphics/py-pyproj/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libproj.so:graphics/proj
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR}
USES= python:3.11+
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
MAKE_ENV= PROJ_DIR=${LOCALBASE}
diff --git a/graphics/py-rasterio/Makefile b/graphics/py-rasterio/Makefile
index 95516722e799..05420626d8e3 100644
--- a/graphics/py-rasterio/Makefile
+++ b/graphics/py-rasterio/Makefile
@@ -28,7 +28,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}affine>=0:math/py-affine@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}snuggs>=1.4.1:math/py-snuggs@${PY_FLAVOR}
USES= compiler:c++11-lang python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
OPTIONS_DEFINE= PLOT S3
PLOT_DESC= Plotting support
diff --git a/graphics/py-scikit-image/Makefile b/graphics/py-scikit-image/Makefile
index 92d7f6c761ef..bba75c801626 100644
--- a/graphics/py-scikit-image/Makefile
+++ b/graphics/py-scikit-image/Makefile
@@ -28,7 +28,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}tifffile>=2022.8.12:graphics/py-tifffile@${PY_FLAVOR}
USES= compiler:c++11-lang python shebangfix
-USE_PYTHON= autoplist cython3 pep517
+USE_PYTHON= autoplist cython pep517
BINARY_ALIAS= python=${PYTHON_CMD} \
python3=${PYTHON_CMD}
diff --git a/graphics/py-simplejpeg/Makefile b/graphics/py-simplejpeg/Makefile
index 7d0b64533edb..8487c9744542 100644
--- a/graphics/py-simplejpeg/Makefile
+++ b/graphics/py-simplejpeg/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= cmake:indirect python
-USE_PYTHON= autoplist cython3 pep517 pytest
+USE_PYTHON= autoplist cython pep517 pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/test
diff --git a/graphics/py-vispy/Makefile b/graphics/py-vispy/Makefile
index 23511cc3beee..04910b326e21 100644
--- a/graphics/py-vispy/Makefile
+++ b/graphics/py-vispy/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freetype-py>0:print/py-freetype-py@${PY_FLAV
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist cython3 pep517 pytest # pytest crashes on some tests, and then keeps restarting
+USE_PYTHON= autoplist cython pep517 pytest # pytest crashes on some tests, and then keeps restarting
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/japanese/py-fugashi/Makefile b/japanese/py-fugashi/Makefile
index 03a6dca76e54..99e94e2aa77d 100644
--- a/japanese/py-fugashi/Makefile
+++ b/japanese/py-fugashi/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ja-mecab-ipadic>0:japanese/mecab-ipadic
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipadic>0:japanese/py-ipadic@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist cython3 distutils pytest # many tests fail, see https://github.com/polm/fugashi/issues/102
+USE_PYTHON= autoplist cython distutils pytest # many tests fail, see https://github.com/polm/fugashi/issues/102
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/fugashi/tests
diff --git a/lang/py-lupa/Makefile b/lang/py-lupa/Makefile
index a61e8f15e65c..aeab5d02eacd 100644
--- a/lang/py-lupa/Makefile
+++ b/lang/py-lupa/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= lua pkgconfig python
-USE_PYTHON= autoplist concurrent cython3 pep517 unittest
+USE_PYTHON= autoplist concurrent cython pep517 unittest
MAKE_ARGS= --no-bundle --with-cython --with-lua-checks
TEST_ARGS= lupa.tests.test
diff --git a/math/py-CyLP/Makefile b/math/py-CyLP/Makefile
index 088d382fadea..1d2b6f5cc203 100644
--- a/math/py-CyLP/Makefile
+++ b/math/py-CyLP/Makefile
@@ -29,7 +29,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.10.0:science/py-scipy@${PY_FLAVOR}
USES= compiler:c++11-lang python
-USE_PYTHON= autoplist cython3 pep517 pytest
+USE_PYTHON= autoplist cython pep517 pytest
USE_GITHUB= yes
GH_ACCOUNT= coin-or
diff --git a/math/py-PySCIPOpt/Makefile b/math/py-PySCIPOpt/Makefile
index 5e67f20cb9e7..ce7dfe02cefa 100644
--- a/math/py-PySCIPOpt/Makefile
+++ b/math/py-PySCIPOpt/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}
USES= localbase python
-USE_PYTHON= autoplist cython3 distutils pytest # 1 test fails, see https://github.com/scipopt/PySCIPOpt/issues/840
+USE_PYTHON= autoplist cython distutils pytest # 1 test fails, see https://github.com/scipopt/PySCIPOpt/issues/840
USE_GITHUB= yes
GH_ACCOUNT= scipopt
diff --git a/math/py-blis/Makefile b/math/py-blis/Makefile
index dd807038540f..8f3457c2c335 100644
--- a/math/py-blis/Makefile
+++ b/math/py-blis/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.3,1<3.0.0,1:math/py-numpy@${PY
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/math/py-cypari2/Makefile b/math/py-cypari2/Makefile
index 1fe29f823e1b..95caefeeed91 100644
--- a/math/py-cypari2/Makefile
+++ b/math/py-cypari2/Makefile
@@ -22,7 +22,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.8.1:devel/py-flaky@${PY_FLAVOR}
#GH_ACCOUNT= sagemath
USES= compiler:c11 localbase:ldflags meson pytest python
-USE_PYTHON= cython3
+USE_PYTHON= cython
.if !defined(WITH_DEBUG)
LDFLAGS+= -s
diff --git a/math/py-fpylll/Makefile b/math/py-fpylll/Makefile
index 0dd5e78ae999..d54f1259e596 100644
--- a/math/py-fpylll/Makefile
+++ b/math/py-fpylll/Makefile
@@ -30,7 +30,7 @@ TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR}
#GH_ACCOUNT= fplll
USES= compiler:c++11-lang python
-USE_PYTHON= cython3 distutils
+USE_PYTHON= cython distutils
.if !defined(WITH_DEBUG)
LDFLAGS+= -s
.endif
diff --git a/math/py-linearmodels/Makefile b/math/py-linearmodels/Makefile
index 575e53d9a020..86d44be4ad5b 100644
--- a/math/py-linearmodels/Makefile
+++ b/math/py-linearmodels/Makefile
@@ -34,7 +34,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xarray>=0.13:devel/py-xarray@${PY_FLAVOR}
USES= python shebangfix
-USE_PYTHON= autoplist cython3 distutils pytest # 14 tests fail, see https://github.com/bashtage/linearmodels/issues/550
+USE_PYTHON= autoplist cython distutils pytest # 14 tests fail, see https://github.com/bashtage/linearmodels/issues/550
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/math/py-lrcalc/Makefile b/math/py-lrcalc/Makefile
index 3f6b8728dfe8..2443a0e624ef 100644
--- a/math/py-lrcalc/Makefile
+++ b/math/py-lrcalc/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= liblrcalc.so:math/lrcalc
USES= localbase python
-USE_PYTHON= cython3 distutils
+USE_PYTHON= cython distutils
.if !defined(WITH_DEBUG)
LDFLAGS+= -s
diff --git a/math/py-mathics/Makefile b/math/py-mathics/Makefile
index c643e764afe5..4117773c66b8 100644
--- a/math/py-mathics/Makefile
+++ b/math/py-mathics/Makefile
@@ -1,6 +1,6 @@
PORTNAME= Mathics3
PORTVERSION= 9.0.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -73,7 +73,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
#GH_ACCOUNT= ${PORTNAME:tl}
USES= python shebangfix
-USE_PYTHON= cython3 cython3_run noflavors pep517
+USE_PYTHON= cython cython_run noflavors pep517
MAKE_ENV+= USE_CYTHON=yes
SHEBANG_GLOB= *.py
diff --git a/math/py-pandas/Makefile b/math/py-pandas/Makefile
index e0c84733a665..76aa3a6b967e 100644
--- a/math/py-pandas/Makefile
+++ b/math/py-pandas/Makefile
@@ -27,7 +27,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1:math/py-numpy@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0:devel/py-arrow@${PY_FLAVOR}
USES= cpe python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
CPE_VENDOR= numfocus
diff --git a/math/py-petsc4py/Makefile b/math/py-petsc4py/Makefile
index 697b4b0a8cbe..daf3936362f1 100644
--- a/math/py-petsc4py/Makefile
+++ b/math/py-petsc4py/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libpetsc.so:science/PETSc
RUN_DEPENDS= ${PYNUMPY}
USES= python
-USE_PYTHON= autoplist cython3 distutils pytest # tests fail to run, see https://gitlab.com/petsc/petsc/-/issues/1301
+USE_PYTHON= autoplist cython distutils pytest # tests fail to run, see https://gitlab.com/petsc/petsc/-/issues/1301
MAKE_ENV= PETSC_DIR=${LOCALBASE}
diff --git a/math/py-pplpy/Makefile b/math/py-pplpy/Makefile
index 37a571d87dbc..b78820d37663 100644
--- a/math/py-pplpy/Makefile
+++ b/math/py-pplpy/Makefile
@@ -26,7 +26,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR} \
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR}
USES= compiler:c++14-lang localbase python
-USE_PYTHON= cython3 pep517
+USE_PYTHON= cython pep517
CFLAGS+= -std=c++14
diff --git a/math/py-primecountpy/Makefile b/math/py-primecountpy/Makefile
index 3c011f892c5f..55281548b19b 100644
--- a/math/py-primecountpy/Makefile
+++ b/math/py-primecountpy/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libprimecount.so:math/primecount
RUN_DEPENDS= ${PYDEPS}
USES= localbase meson pkgconfig python
-USE_PYTHON= cython3
+USE_PYTHON= cython
.if !defined(WITH_DEBUG)
LDFLAGS+= -s
.endif
diff --git a/math/py-primme/Makefile b/math/py-primme/Makefile
index 0cfe927fa5a8..9384de2342ec 100644
--- a/math/py-primme/Makefile
+++ b/math/py-primme/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= ${PYNUMPY} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
USES= fortran gmake localbase:ldflags python shebangfix
-USE_PYTHON= autoplist cython3 pep517
+USE_PYTHON= autoplist cython pep517
TEST_TARGET= test
diff --git a/math/py-pyFFTW/Makefile b/math/py-pyFFTW/Makefile
index d4f2a931a0b4..671fd436d99f 100644
--- a/math/py-pyFFTW/Makefile
+++ b/math/py-pyFFTW/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \
RUN_DEPENDS= ${PY_DEPENDS}
USES= python localbase:ldflags
-USE_PYTHON= autoplist cython3 distutils pytest # tests fail with "attempted relative import with no known parent package", see https://github.com/pyFFTW/pyFFTW/issues/405
+USE_PYTHON= autoplist cython distutils pytest # tests fail with "attempted relative import with no known parent package", see https://github.com/pyFFTW/pyFFTW/issues/405
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
diff --git a/math/py-pyreadr/Makefile b/math/py-pyreadr/Makefile
index 349b3df17dcc..f085585156a4 100644
--- a/math/py-pyreadr/Makefile
+++ b/math/py-pyreadr/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= librdata.so:math/librdata
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.2.0,1:math/py-pandas@${PY_FLAVOR}
USES= localbase python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-patch:
# Clean up bundled libraries
diff --git a/math/py-pyreadstat/Makefile b/math/py-pyreadstat/Makefile
index f5bdbba14618..4d779c067b49 100644
--- a/math/py-pyreadstat/Makefile
+++ b/math/py-pyreadstat/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}narwhals>=2.0:math/py-narwhals@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/math/py-pywavelets/Makefile b/math/py-pywavelets/Makefile
index 9b57f83ad6ed..2a2a961568ff 100644
--- a/math/py-pywavelets/Makefile
+++ b/math/py-pywavelets/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
RUN_DEPENDS= ${PYNUMPY}
USES= python shebangfix
-USE_PYTHON= autoplist cython3 pep517
+USE_PYTHON= autoplist cython pep517
SHEBANG_FILES= pywt/data/create_dat.py
diff --git a/math/py-slepc4py/Makefile b/math/py-slepc4py/Makefile
index 8ed60a92bb1a..bec7ada0b407 100644
--- a/math/py-slepc4py/Makefile
+++ b/math/py-slepc4py/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libmpich.so:net/mpich \
RUN_DEPENDS= ${PYNUMPY}
USES= fortran python
-USE_PYTHON= autoplist cython3 distutils pytest
+USE_PYTHON= autoplist cython distutils pytest
MAKE_ENV= PETSC_DIR=${LOCALBASE} SLEPC_DIR=${LOCALBASE}
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/math/py-statsmodels/Makefile b/math/py-statsmodels/Makefile
index b083426b3909..d74ddaf037e9 100644
--- a/math/py-statsmodels/Makefile
+++ b/math/py-statsmodels/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.22.3,1<3,1:math/py-numpy@${PY_FLAVO
${PYTHON_PKGNAMEPREFIX}scipy>=1.8,1:science/py-scipy@${PY_FLAVOR}
USES= python shebangfix
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
SHEBANG_GLOB= *.py
diff --git a/math/py-yt/Makefile b/math/py-yt/Makefile
index 033a716c60ba..e505096b2666 100644
--- a/math/py-yt/Makefile
+++ b/math/py-yt/Makefile
@@ -33,7 +33,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}unyt>=2.8.0:math/py-unyt@${PY_FLAVOR}
USES= dos2unix localbase python
-USE_PYTHON= autoplist concurrent cython3 distutils
+USE_PYTHON= autoplist concurrent cython distutils
post-patch:
@${REINPLACE_CMD} -e "s|check_for_pyembree() is not None|False|" \
diff --git a/multimedia/py-av/Makefile b/multimedia/py-av/Makefile
index 6159a1794ff6..1072b20b6f54 100644
--- a/multimedia/py-av/Makefile
+++ b/multimedia/py-av/Makefile
@@ -17,7 +17,7 @@ BROKEN= Does not build with ffmpeg > 6
LIB_DEPENDS= libavutil.so:multimedia/ffmpeg
USES= python pkgconfig
-USE_PYTHON= autoplist concurrent cython3 distutils
+USE_PYTHON= autoplist concurrent cython distutils
CFLAGS+= -Wno-error=incompatible-function-pointer-types
diff --git a/net/py-mpi4py/Makefile b/net/py-mpi4py/Makefile
index 2f896e6ba0b3..feca0acff130 100644
--- a/net/py-mpi4py/Makefile
+++ b/net/py-mpi4py/Makefile
@@ -12,7 +12,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
USES= pkgconfig python
-USE_PYTHON= autoplist concurrent cython3 distutils
+USE_PYTHON= autoplist concurrent cython distutils
LDFLAGS+= ${MPI_LIBS}
diff --git a/net/py-pyzmq/Makefile b/net/py-pyzmq/Makefile
index daf110f86665..bcf55644f2ea 100644
--- a/net/py-pyzmq/Makefile
+++ b/net/py-pyzmq/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVO
LIB_DEPENDS= libzmq.so:net/libzmq4
USES= cmake:indirect python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
diff --git a/net/py-zeroconf/Makefile b/net/py-zeroconf/Makefile
index f0b47849bf8b..793a18a0291f 100644
--- a/net/py-zeroconf/Makefile
+++ b/net/py-zeroconf/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}async_timeout>=3.0.1:devel/py-async_timeout@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.20.3:devel/py-pytest-asyncio@${PY_FLAVOR}
USES= cpe python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
USE_GITHUB= yes
GH_ACCOUNT= python-zeroconf
GH_PROJECT= python-zeroconf
diff --git a/print/py-uharfbuzz/Makefile b/print/py-uharfbuzz/Makefile
index 8e5e13ad818b..f87d8e3172ac 100644
--- a/print/py-uharfbuzz/Makefile
+++ b/print/py-uharfbuzz/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= harfbuzz>=12.3.0:print/harfbuzz \
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
USES= compiler:c++11-lang python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
MAKE_ENV= CYTHON_ANNOTATE=0 CYTHON_LINETRACE=0 USE_SYSTEM_LIBS=1
diff --git a/science/py-dimod/Makefile b/science/py-dimod/Makefile
index 7d5302b9ef4f..c1e32eab2de0 100644
--- a/science/py-dimod/Makefile
+++ b/science/py-dimod/Makefile
@@ -16,7 +16,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY
${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR}
USES= compiler:c++11-lang python
-USE_PYTHON= autoplist cython3 distutils unittest
+USE_PYTHON= autoplist cython distutils unittest
USE_GITHUB= yes
GH_ACCOUNT= dwavesystems
diff --git a/science/py-dipy/Makefile b/science/py-dipy/Makefile
index a8cbaa735a49..68d804e012a3 100644
--- a/science/py-dipy/Makefile
+++ b/science/py-dipy/Makefile
@@ -30,7 +30,7 @@ TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fury>0:graphics/py-fury@${PY_FLAVOR} \
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cvxpy>0:math/py-cvxpy@${PY_FLAVOR} # "doc" extra dependencies, see dipy/info.py
USES= python shebangfix
-USE_PYTHON= concurrent cython3 pep517 pytest # autoplist is broken: it produces incorrect entries and unnecessary files are also placed under doc/
+USE_PYTHON= concurrent cython pep517 pytest # autoplist is broken: it produces incorrect entries and unnecessary files are also placed under doc/
SHEBANG_GLOB= *.sh *.py
diff --git a/science/py-dwave-gate/Makefile b/science/py-dwave-gate/Makefile
index cd726d2113cb..baa82c65d6e1 100644
--- a/science/py-dwave-gate/Makefile
+++ b/science/py-dwave-gate/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
RUN_DEPENDS= ${PYNUMPY}
USES= python
-USE_PYTHON= pep517 cython3 autoplist pytest
+USE_PYTHON= autoplist cython pep517 pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/science/py-dwave-optimization/Makefile b/science/py-dwave-optimization/Makefile
index c69cd487fc34..49487580acc5 100644
--- a/science/py-dwave-optimization/Makefile
+++ b/science/py-dwave-optimization/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
RUN_DEPENDS= ${PYNUMPY}
USES= python
-USE_PYTHON= pep517 cython3 autoplist pytest
+USE_PYTHON= autoplist cython pep517 pytest
post-install:
# strip binaries
diff --git a/science/py-dwave-preprocessing/Makefile b/science/py-dwave-preprocessing/Makefile
index c9a03c027f18..7a8b2864d8b0 100644
--- a/science/py-dwave-preprocessing/Makefile
+++ b/science/py-dwave-preprocessing/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.12.20:science/py-dimod@${PY_FLAVOR}
${PYNUMPY}
USES= localbase:ldflags python
-USE_PYTHON= cython3 distutils unittest # 1 test fails, see https://github.com/dwavesystems/dwave-preprocessing/issues/74
+USE_PYTHON= cython distutils unittest # 1 test fails, see https://github.com/dwavesystems/dwave-preprocessing/issues/74
USE_GITHUB= yes
GH_ACCOUNT= dwavesystems
diff --git a/science/py-dwave-samplers/Makefile b/science/py-dwave-samplers/Makefile
index 26518e9c6501..b70a3d08a53f 100644
--- a/science/py-dwave-samplers/Makefile
+++ b/science/py-dwave-samplers/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PY_DEPENDS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR}
USES= python
-USE_PYTHON= cython3 distutils autoplist unittest # 2 tests fail, see https://github.com/dwavesystems/dwave-samplers/issues/66
+USE_PYTHON= autoplist cython distutils unittest # 2 tests fail, see https://github.com/dwavesystems/dwave-samplers/issues/66
USE_GITHUB= yes
GH_ACCOUNT= dwavesystems
diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile
index 64ce1e01a6f5..7212b6c1c307 100644
--- a/science/py-h5py/Makefile
+++ b/science/py-h5py/Makefile
@@ -22,7 +22,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>=3.1.2:net/py-mpi4py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tables>=3.4.4:devel/py-tables@${PY_FLAVOR}
USES= localbase pkgconfig python
-USE_PYTHON= autoplist concurrent cython3 pep517 pytest
+USE_PYTHON= autoplist concurrent cython pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
TEST_WRKSRC= ${STAGEDIR}${PYTHON_SITELIBDIR}
diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile
index 3fb44ba9428f..2d7ab80aa4f1 100644
--- a/science/py-scikit-learn/Makefile
+++ b/science/py-scikit-learn/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}meson-python>=0.17.1:devel/meson-python@${PY_FLAVOR}
USES= fortran python localbase shebangfix
-USE_PYTHON= autoplist cython3 pep517 pytest
+USE_PYTHON= autoplist cython pep517 pytest
TEST_ARGS= sklearn
TEST_WRKSRC= ${STAGEDIR}${PYTHON_SITELIBDIR}
diff --git a/security/py-gssapi/Makefile b/security/py-gssapi/Makefile
index bd931ba2912b..6d3cbac14393 100644
--- a/security/py-gssapi/Makefile
+++ b/security/py-gssapi/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}
# Officially: 3.9-3.14
USES= python
-USE_PYTHON= autoplist cython3 pep517
+USE_PYTHON= autoplist cython pep517
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
diff --git a/security/py-krb5/Makefile b/security/py-krb5/Makefile
index 233059b6c2ee..94f6f4c10a3c 100644
--- a/security/py-krb5/Makefile
+++ b/security/py-krb5/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42.0.0:devel/py-setuptools@${P
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python ssl
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
MAKE_ENV= KRB5_KRB5CONFIG=${KRB5CONFIG}
diff --git a/security/py-python-pkcs11/Makefile b/security/py-python-pkcs11/Makefile
index b356501a5297..04f66b983840 100644
--- a/security/py-python-pkcs11/Makefile
+++ b/security/py-python-pkcs11/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0:devel/py-asn1crypto@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/textproc/py-jq/Makefile b/textproc/py-jq/Makefile
index 97c16793e40e..7d6e3b4bb71d 100644
--- a/textproc/py-jq/Makefile
+++ b/textproc/py-jq/Makefile
@@ -28,7 +28,7 @@ MAKE_ENV+= JQPY_USE_SYSTEM_LIBS=1
USES= localbase python
USE_GITHUB= yes
-USE_PYTHON= autoplist cython3 distutils
+USE_PYTHON= autoplist cython distutils
GH_ACCOUNT= mwilliamson
GH_PROJECT= jq.py
diff --git a/textproc/py-openstep-plist/Makefile b/textproc/py-openstep-plist/Makefile
index 256b0da562d2..a95f898be8d6 100644
--- a/textproc/py-openstep-plist/Makefile
+++ b/textproc/py-openstep-plist/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/textproc/py-pystemmer/Makefile b/textproc/py-pystemmer/Makefile
index 71cad5601b8c..4b53f8f6f669 100644
--- a/textproc/py-pystemmer/Makefile
+++ b/textproc/py-pystemmer/Makefile
@@ -15,7 +15,7 @@ LICENSE= MIT BSD3CLAUSE
LICENSE_COMB= dual
USES= python
-USE_PYTHON= autoplist cython3 distutils
+USE_PYTHON= autoplist cython distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Stemmer*.so
diff --git a/textproc/py-spacy/Makefile b/textproc/py-spacy/Makefile
index 8e88316842cb..d6c1a05bddef 100644
--- a/textproc/py-spacy/Makefile
+++ b/textproc/py-spacy/Makefile
@@ -40,7 +40,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.6<2.1.0:devel/py-catalogue@${
${PYTHON_PKGNAMEPREFIX}weasel>=0.4.2<0.5.0:devel/py-weasel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/textproc/py-tree-sitter-language-pack/Makefile b/textproc/py-tree-sitter-language-pack/Makefile
index 1f8b50a300d5..a4a7daac73b1 100644
--- a/textproc/py-tree-sitter-language-pack/Makefile
+++ b/textproc/py-tree-sitter-language-pack/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tree-sitter023==0.23.2:devel/py-tree-sitter023@${PY_FLAVOR}
USES= python
-USE_PYTHON= pep517 cython3 autoplist pytest
+USE_PYTHON= autoplist cython pep517 pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
diff --git a/textproc/py-wordcloud/Makefile b/textproc/py-wordcloud/Makefile
index 26d3b97ab691..6f850ee6b8dd 100644
--- a/textproc/py-wordcloud/Makefile
+++ b/textproc/py-wordcloud/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
USES= python
-USE_PYTHON= cython3 pep517
+USE_PYTHON= cython pep517
PLIST_SUB+= VER=${PORTVERSION}
diff --git a/www/py-yarl/Makefile b/www/py-yarl/Makefile
index 7f0a70739915..96eae79b83d9 100644
--- a/www/py-yarl/Makefile
+++ b/www/py-yarl/Makefile
@@ -22,7 +22,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVO
${PYTHON_PKGNAMEPREFIX}pytest-codspeed>0:devel/py-pytest-codspeed@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist cython3 pep517 pytest
+USE_PYTHON= autoplist cython pep517 pytest
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yarl/_quoting_c*.so
diff --git a/x11/xpra/Makefile b/x11/xpra/Makefile
index f366b9438d7e..bdddab7e9690 100644
--- a/x11/xpra/Makefile
+++ b/x11/xpra/Makefile
@@ -48,7 +48,7 @@ USES= desktop-file-utils gettext-runtime gnome localbase pkgconfig \
python shared-mime-info shebangfix tar:xz xorg
USE_GNOME= cairo gdkpixbuf gtk30 pygobject3
-USE_PYTHON= cryptography cython3 distutils noflavors
+USE_PYTHON= cryptography cython distutils noflavors
USE_XORG= x11 xcomposite xcursor xdamage xext xfixes xi xkbfile xrandr \
xres xtst
PLIST_SUB+= PORTVERSION=${PORTVERSION} \