1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Mk/Uses/python.mk: Cosmetic change

This commit is contained in:
Po-Chuan Hsieh 2023-09-12 02:21:54 +08:00
parent e7e6be23f1
commit 223c60c5d6
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -314,10 +314,26 @@ _PYTHON_BASECMD= ${LOCALBASE}/bin/python
_PYTHON_RELPORTDIR= lang/python
# List all valid USE_PYTHON features here
_VALID_PYTHON_FEATURES= allflavors autoplist concurrent cython cython_run cython_test \
distutils flavors noegginfo noflavors nose nose2 \
optsuffix pep517 py3kplist pytest pytest4 pythonprefix \
unittest unittest2
_VALID_PYTHON_FEATURES= allflavors \
autoplist \
concurrent \
cython \
cython_run \
cython_test \
distutils \
flavors \
noegginfo \
noflavors \
nose \
nose2 \
optsuffix \
pep517 \
py3kplist \
pytest \
pytest4 \
pythonprefix \
unittest \
unittest2
_INVALID_PYTHON_FEATURES=
. for var in ${USE_PYTHON}
. if empty(_VALID_PYTHON_FEATURES:M${var})
@ -581,6 +597,7 @@ _PYTHONPKGLIST= ${WRKDIR}/.PLIST.pymodtmp
# - it uses USE_PYTHON=distutils
#
# cython* support
. if defined(_PYTHON_FEATURE_CYTHON)
BUILD_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
. endif