pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-future
Module Name: pkgsrc
Committed By: markd
Date: Mon Feb 6 01:06:05 UTC 2017
Modified Files:
pkgsrc/devel/py-future: Makefile PLIST
Added Files:
pkgsrc/devel/py-future: ALTERNATIVES
Log Message:
Add version suffix to binaries to allow multiple alternatives at once.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-future/ALTERNATIVES
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-future/Makefile \
pkgsrc/devel/py-future/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-future/Makefile
diff -u pkgsrc/devel/py-future/Makefile:1.2 pkgsrc/devel/py-future/Makefile:1.3
--- pkgsrc/devel/py-future/Makefile:1.2 Tue Jan 17 17:14:14 2017
+++ pkgsrc/devel/py-future/Makefile Mon Feb 6 01:06:05 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2017/01/17 17:14:14 fhajny Exp $
+# $NetBSD: Makefile,v 1.3 2017/02/06 01:06:05 markd Exp $
DISTNAME= future-0.16.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=f/future/}
@@ -12,6 +13,11 @@ LICENSE= mit
USE_LANGUAGES= # none
-.include "../../lang/python/pyversion.mk"
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/futurize \
+ ${DESTDIR}${PREFIX}/bin/futurize-${PYVERSSUFFIX} || ${TRUE}
+ ${MV} ${DESTDIR}${PREFIX}/bin/pasteurize \
+ ${DESTDIR}${PREFIX}/bin/pasteurize-${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-future/PLIST
diff -u pkgsrc/devel/py-future/PLIST:1.2 pkgsrc/devel/py-future/PLIST:1.3
--- pkgsrc/devel/py-future/PLIST:1.2 Tue Jan 17 17:14:14 2017
+++ pkgsrc/devel/py-future/PLIST Mon Feb 6 01:06:05 2017
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2017/01/17 17:14:14 fhajny Exp $
-bin/futurize
-bin/pasteurize
+@comment $NetBSD: PLIST,v 1.3 2017/02/06 01:06:05 markd Exp $
+bin/futurize-${PYVERSSUFFIX}
+bin/pasteurize-${PYVERSSUFFIX}
${PYSITELIB}/future/__init__.py
${PYSITELIB}/future/__init__.pyc
${PYSITELIB}/future/__init__.pyo
Added files:
Index: pkgsrc/devel/py-future/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-future/ALTERNATIVES:1.1
--- /dev/null Mon Feb 6 01:06:05 2017
+++ pkgsrc/devel/py-future/ALTERNATIVES Mon Feb 6 01:06:05 2017
@@ -0,0 +1,2 @@
+bin/futurize @PREFIX@/bin/futurize-@PYVERSSUFFIX@
+bin/pasteurize @PREFIX@/bin/pasteurize-@PYVERSSUFFIX@
Home |
Main Index |
Thread Index |
Old Index