View | Details | Raw Unified | Return to bug 225532
Collapse All | Expand All

(-)devel/py-coverage/Makefile (-1 / +2 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	coverage
4
PORTNAME=	coverage
5
PORTVERSION=	4.4.2
5
PORTVERSION=	4.4.2
6
PORTREVISION=	1
6
CATEGORIES=	devel python
7
CATEGORIES=	devel python
7
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 13-19 Link Here
13
LICENSE=	BSD2CLAUSE
14
LICENSE=	BSD2CLAUSE
14
15
15
USES=		python
16
USES=		python
16
USE_PYTHON=	autoplist distutils
17
USE_PYTHON=	autoplist concurrent distutils
17
18
18
post-install:
19
post-install:
19
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coverage/tracer.so
20
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coverage/tracer.so
(-)devel/py-coverage/files/patch-setup.py (+19 lines)
Line 0 Link Here
1
Allow USE_PYTHON=concurrent to handle script renaming/linking for multiple
2
Python versions.
3
4
--- setup.py.orig	2018-01-29 11:46:04 UTC
5
+++ setup.py
6
@@ -86,12 +86,9 @@ setup_args = dict(
7
     },
8
 
9
     entry_points={
10
-        # Install a script as "coverage", and as "coverage[23]", and as
11
-        # "coverage-2.7" (or whatever).
12
+        # Install a script as "coverage"
13
         'console_scripts': [
14
             'coverage = coverage.cmdline:main',
15
-            'coverage%d = coverage.cmdline:main' % sys.version_info[:1],
16
-            'coverage-%d.%d = coverage.cmdline:main' % sys.version_info[:2],
17
         ],
18
     },
19
 

Return to bug 225532