From 223c60c5d65d885c2155535b60933bf9039066aa Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Tue, 12 Sep 2023 02:21:54 +0800 Subject: [PATCH] Mk/Uses/python.mk: Cosmetic change --- Mk/Uses/python.mk | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 1665683f0827..57254be9b048 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -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