Date: Thu, 15 Feb 2018 11:36:07 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461881 - in head/devel/py-coverage: . files Message-ID: <201802151136.w1FBa77m064410@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhale Date: Thu Feb 15 11:36:07 2018 New Revision: 461881 URL: https://svnweb.freebsd.org/changeset/ports/461881 Log: Allow concurrent installation PR: 225532 Submitted by: jhale Approved by: maintainer-timeout (2 weeks) Added: head/devel/py-coverage/files/ head/devel/py-coverage/files/patch-setup.py (contents, props changed) Modified: head/devel/py-coverage/Makefile Modified: head/devel/py-coverage/Makefile ============================================================================== --- head/devel/py-coverage/Makefile Thu Feb 15 11:26:55 2018 (r461880) +++ head/devel/py-coverage/Makefile Thu Feb 15 11:36:07 2018 (r461881) @@ -3,6 +3,7 @@ PORTNAME= coverage PORTVERSION= 4.5.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,7 +14,7 @@ COMMENT= Code coverage measurement for Python LICENSE= BSD2CLAUSE USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coverage/tracer.so Added: head/devel/py-coverage/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-coverage/files/patch-setup.py Thu Feb 15 11:36:07 2018 (r461881) @@ -0,0 +1,19 @@ +Allow USE_PYTHON=concurrent to handle script renaming/linking for multiple +Python versions. + +--- setup.py.orig 2018-01-29 11:46:04 UTC ++++ setup.py +@@ -86,12 +86,9 @@ setup_args = dict( + }, + + entry_points={ +- # Install a script as "coverage", and as "coverage[23]", and as +- # "coverage-2.7" (or whatever). ++ # Install a script as "coverage" + 'console_scripts': [ + 'coverage = coverage.cmdline:main', +- 'coverage%d = coverage.cmdline:main' % sys.version_info[:1], +- 'coverage-%d.%d = coverage.cmdline:main' % sys.version_info[:2], + ], + }, +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802151136.w1FBa77m064410>