pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-virtualenv ship virtualenv with PYVERSSUFFIX ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/696809062b30
branches:  trunk
changeset: 348476:696809062b30
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Tue Jun 14 11:21:12 2016 +0000

description:
ship virtualenv with PYVERSSUFFIX so pkg_alternatives can find it

diffstat:

 devel/py-virtualenv/Makefile |  5 +++--
 devel/py-virtualenv/PLIST    |  3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r abad2f7376bc -r 696809062b30 devel/py-virtualenv/Makefile
--- a/devel/py-virtualenv/Makefile      Tue Jun 14 08:39:37 2016 +0000
+++ b/devel/py-virtualenv/Makefile      Tue Jun 14 11:21:12 2016 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2016/06/08 17:49:19 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2016/06/14 11:21:12 wiedi Exp $
 
 DISTNAME=      virtualenv-15.0.2
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/virtualenv/}
@@ -15,7 +16,7 @@
 REPLACE_PYTHON=        virtualenv.py
 
 post-install:
-       ${RM} -f ${DESTDIR}${PREFIX}/bin/virtualenv
+       ${MV} ${DESTDIR}${PREFIX}/bin/virtualenv ${DESTDIR}${PREFIX}/bin/virtualenv-${PYVERSSUFFIX}
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
diff -r abad2f7376bc -r 696809062b30 devel/py-virtualenv/PLIST
--- a/devel/py-virtualenv/PLIST Tue Jun 14 08:39:37 2016 +0000
+++ b/devel/py-virtualenv/PLIST Tue Jun 14 11:21:12 2016 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.28 2016/05/29 21:30:53 wiz Exp $
+@comment $NetBSD: PLIST,v 1.29 2016/06/14 11:21:12 wiedi Exp $
+bin/virtualenv-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index