Date: Mon, 18 Dec 2017 13:10:14 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456631 - head/lang/python-tools Message-ID: <201712181310.vBIDAE73002056@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Mon Dec 18 13:10:14 2017 New Revision: 456631 URL: https://svnweb.freebsd.org/changeset/ports/456631 Log: Convert to USE_PYTHON=concurrent instead of doing it manually, and add flavors. While there, cleanup a bit. Sponsored by: Absolight Modified: head/lang/python-tools/Makefile (contents, props changed) Modified: head/lang/python-tools/Makefile ============================================================================== --- head/lang/python-tools/Makefile Mon Dec 18 12:52:46 2017 (r456630) +++ head/lang/python-tools/Makefile Mon Dec 18 13:10:14 2017 (r456631) @@ -14,24 +14,21 @@ LICENSE= PSFL PORTSCOUT= ignore:1 -USES= python shebangfix tar:xz uniquefiles +USES= python shebangfix tar:xz +USE_PYTHON= flavors concurrent NO_BUILD= yes DIST_SUBDIR= python -DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo -WRKSRC= ${WRKDIR}/Python-${PORTVERSION}/Tools/scripts +DISTINFO_FILE= ${.CURDIR}/../python${PYTHON_SUFFIX}/distinfo +WRKSRC_SUBDIR= Tools/scripts SCRIPT_FILES= byteyears checkpyc copytime crlf dutree \ lfcr ptags untabify 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} \ - ../../Lib/tabnanny.py ../../Lib/timeit.py - -UNIQUE_SUFFIX= -${PYTHON_VER} -UNIQUE_SUFFIX_FILES= ${SCRIPT_FILES:C/^.*/bin\/&/g} \ - ${PYLIB_FILES:C/^.*/bin\/&/g} +SHEBANG_FILES= ${SCRIPT_FILES:C|$|.py|} \ + ${PYLIB_FILES:C|.*|../../Lib/&.py|} .include <bsd.port.pre.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712181310.vBIDAE73002056>