summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-09-28 23:16:12 +0000
committerrodent <rodent@pkgsrc.org>2015-09-28 23:16:12 +0000
commitd321e3de57bd9352c105ca816f6c19ee3b528dea (patch)
tree5b8139c6447ac72898c3d3740f3011fa75b516d2
parentb35fe6076adc4c6c0807d2a3563f5d8e902a76f1 (diff)
downloadpkgsrc-d321e3de57bd9352c105ca816f6c19ee3b528dea.tar.gz
Make this not self-conflict like we did with a lot of other python packages
ie. remove ${DESTDIR}${PREFIX}/bin/virtualenv in the post-install phase. Bump PKGREVISION.
-rw-r--r--devel/py-virtualenv/ALTERNATIVES1
-rw-r--r--devel/py-virtualenv/Makefile6
-rw-r--r--devel/py-virtualenv/PLIST3
3 files changed, 7 insertions, 3 deletions
diff --git a/devel/py-virtualenv/ALTERNATIVES b/devel/py-virtualenv/ALTERNATIVES
new file mode 100644
index 00000000000..5076279a844
--- /dev/null
+++ b/devel/py-virtualenv/ALTERNATIVES
@@ -0,0 +1 @@
+bin/virtualenv @PREFIX@/bin/virtualenv-@PYVERSSUFFIX@
diff --git a/devel/py-virtualenv/Makefile b/devel/py-virtualenv/Makefile
index 926bf8a22c7..345034fef6c 100644
--- a/devel/py-virtualenv/Makefile
+++ b/devel/py-virtualenv/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2015/08/30 14:46:17 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2015/09/28 23:16:12 rodent Exp $
DISTNAME= virtualenv-13.1.2
+PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/v/virtualenv/
@@ -13,6 +14,9 @@ LICENSE= mit
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
REPLACE_PYTHON= virtualenv.py
+post-install:
+ ${RM} -f ${DESTDIR}${PREFIX}/bin/virtualenv
+
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-virtualenv/PLIST b/devel/py-virtualenv/PLIST
index dd1f1a518ff..91b369b8e50 100644
--- a/devel/py-virtualenv/PLIST
+++ b/devel/py-virtualenv/PLIST
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2015/08/30 14:46:17 wiz Exp $
-bin/virtualenv
+@comment $NetBSD: PLIST,v 1.21 2015/09/28 23:16:12 rodent Exp $
bin/virtualenv-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt