Convert to USE_PYTHON=concurrent instead of doing it manually, and add

flavors.

While there, cleanup a bit.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-12-18 13:10:14 +00:00
parent ca26e3faaf
commit 6146cf6b51
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456631

View file

@ -14,24 +14,21 @@ LICENSE= PSFL
PORTSCOUT= ignore:1 PORTSCOUT= ignore:1
USES= python shebangfix tar:xz uniquefiles USES= python shebangfix tar:xz
USE_PYTHON= flavors concurrent
NO_BUILD= yes NO_BUILD= yes
DIST_SUBDIR= python DIST_SUBDIR= python
DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo DISTINFO_FILE= ${.CURDIR}/../python${PYTHON_SUFFIX}/distinfo
WRKSRC= ${WRKDIR}/Python-${PORTVERSION}/Tools/scripts WRKSRC_SUBDIR= Tools/scripts
SCRIPT_FILES= byteyears checkpyc copytime crlf dutree \ SCRIPT_FILES= byteyears checkpyc copytime crlf dutree \
lfcr ptags untabify lfcr ptags untabify
PYLIB_FILES= tabnanny timeit PYLIB_FILES= tabnanny timeit
PLIST_FILES= ${SCRIPT_FILES:C/^.*/bin\/&/g} ${PYLIB_FILES:C/^.*/bin\/&/g} PLIST_FILES= ${SCRIPT_FILES:C|^|bin/|} ${PYLIB_FILES:C|^|bin/|}
SHEBANG_FILES= ${SCRIPT_FILES:C/^.*/&\.py/g} \ SHEBANG_FILES= ${SCRIPT_FILES:C|$|.py|} \
../../Lib/tabnanny.py ../../Lib/timeit.py ${PYLIB_FILES:C|.*|../../Lib/&.py|}
UNIQUE_SUFFIX= -${PYTHON_VER}
UNIQUE_SUFFIX_FILES= ${SCRIPT_FILES:C/^.*/bin\/&/g} \
${PYLIB_FILES:C/^.*/bin\/&/g}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>