pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-virtualenv



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Tue Jun 14 11:21:12 UTC 2016

Modified Files:
        pkgsrc/devel/py-virtualenv: Makefile PLIST

Log Message:
ship virtualenv with PYVERSSUFFIX so pkg_alternatives can find it


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-virtualenv/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-virtualenv/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-virtualenv/Makefile
diff -u pkgsrc/devel/py-virtualenv/Makefile:1.31 pkgsrc/devel/py-virtualenv/Makefile:1.32
--- pkgsrc/devel/py-virtualenv/Makefile:1.31    Wed Jun  8 17:49:19 2016
+++ pkgsrc/devel/py-virtualenv/Makefile Tue Jun 14 11:21:12 2016
@@ -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 @@ FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFI
 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"

Index: pkgsrc/devel/py-virtualenv/PLIST
diff -u pkgsrc/devel/py-virtualenv/PLIST:1.28 pkgsrc/devel/py-virtualenv/PLIST:1.29
--- pkgsrc/devel/py-virtualenv/PLIST:1.28       Sun May 29 21:30:53 2016
+++ pkgsrc/devel/py-virtualenv/PLIST    Tue Jun 14 11:21:12 2016
@@ -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