From owner-svn-ports-head@freebsd.org Mon Dec 18 13:10:15 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 958B5E88A7C; Mon, 18 Dec 2017 13:10:15 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6173A79B05; Mon, 18 Dec 2017 13:10:15 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBIDAEEC002057; Mon, 18 Dec 2017 13:10:14 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBIDAE73002056; Mon, 18 Dec 2017 13:10:14 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201712181310.vBIDAE73002056@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 18 Dec 2017 13:10:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456631 - head/lang/python-tools X-SVN-Group: ports-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: head/lang/python-tools X-SVN-Commit-Revision: 456631 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2017 13:10:15 -0000 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