mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
parent
ca26e3faaf
commit
6146cf6b51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456631
1 changed files with 7 additions and 10 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue