pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-coverage py-coverage: use ALTERNATIVES; PLIST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ecb0011f1d76
branches:  trunk
changeset: 372637:ecb0011f1d76
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Dec 13 08:16:08 2017 +0000

description:
py-coverage: use ALTERNATIVES; PLIST changed to avoid conflicts between Python versions; bumped revision

diffstat:

 devel/py-coverage/ALTERNATIVES |  1 +
 devel/py-coverage/Makefile     |  5 +++--
 devel/py-coverage/PLIST        |  4 +---
 3 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r ba8ebed5921d -r ecb0011f1d76 devel/py-coverage/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-coverage/ALTERNATIVES    Wed Dec 13 08:16:08 2017 +0000
@@ -0,0 +1,1 @@
+bin/coverage @PREFIX@/bin/coverage-@PYVERSSUFFIX@
diff -r ba8ebed5921d -r ecb0011f1d76 devel/py-coverage/Makefile
--- a/devel/py-coverage/Makefile        Wed Dec 13 07:36:22 2017 +0000
+++ b/devel/py-coverage/Makefile        Wed Dec 13 08:16:08 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2017/11/06 10:37:32 adam Exp $
+# $NetBSD: Makefile,v 1.13 2017/12/13 08:16:08 adam Exp $
 
 DISTNAME=      coverage-4.4.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/coverage/}
 
@@ -17,7 +18,7 @@
 USE_LANGUAGES= c
 
 post-install:
-       ${RM} ${DESTDIR}${PREFIX}/bin/coverage
+       ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage[23]
 
 do-test:
        cd ${WRKSRC} && nosetests-${PYVERSSUFFIX}
diff -r ba8ebed5921d -r ecb0011f1d76 devel/py-coverage/PLIST
--- a/devel/py-coverage/PLIST   Wed Dec 13 07:36:22 2017 +0000
+++ b/devel/py-coverage/PLIST   Wed Dec 13 08:16:08 2017 +0000
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.6 2017/05/17 11:39:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2017/12/13 08:16:08 adam Exp $
 bin/coverage-${PYVERSSUFFIX}
-${PLIST.py2x}bin/coverage2
-${PLIST.py3x}bin/coverage3
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index