pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-uwsgitop Rename binary in post-install to suppo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b6e5a62677ea
branches: trunk
changeset: 633872:b6e5a62677ea
user: rodent <rodent%pkgsrc.org@localhost>
date: Sat May 03 19:07:55 2014 +0000
description:
Rename binary in post-install to support concurrent python versions. Add
ALTERNATIVES. Bump PKGREVISION.
diffstat:
www/py-uwsgitop/ALTERNATIVES | 1 +
www/py-uwsgitop/Makefile | 10 +++++++++-
www/py-uwsgitop/PLIST | 4 ++--
3 files changed, 12 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r 7344a519fd70 -r b6e5a62677ea www/py-uwsgitop/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uwsgitop/ALTERNATIVES Sat May 03 19:07:55 2014 +0000
@@ -0,0 +1,1 @@
+bin/uwsgitop @PREFIX@/bin/uwsgitop@PYVERSSUFFIX@
diff -r 7344a519fd70 -r b6e5a62677ea www/py-uwsgitop/Makefile
--- a/www/py-uwsgitop/Makefile Sat May 03 19:03:59 2014 +0000
+++ b/www/py-uwsgitop/Makefile Sat May 03 19:07:55 2014 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2014/03/01 19:15:20 rodent Exp $
+# $NetBSD: Makefile,v 1.5 2014/05/03 19:07:55 rodent Exp $
DISTNAME= uwsgitop-0.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= python www
MASTER_SITES= https://pypi.python.org/packages/source/u/uwsgitop/
@@ -16,5 +17,12 @@
USE_LANGUAGES= # none
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/uwsgitop \
+ ${DESTDIR}${PREFIX}/bin/uwsgitop${PYVERSSUFFIX}
+
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 7344a519fd70 -r b6e5a62677ea www/py-uwsgitop/PLIST
--- a/www/py-uwsgitop/PLIST Sat May 03 19:03:59 2014 +0000
+++ b/www/py-uwsgitop/PLIST Sat May 03 19:07:55 2014 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2014/01/05 15:09:52 rodent Exp $
-bin/uwsgitop
+@comment $NetBSD: PLIST,v 1.2 2014/05/03 19:07:55 rodent Exp $
+bin/uwsgitop${PYVERSSUFFIX}
${PYSITELIB}/${EGG_FILE}
Home |
Main Index |
Thread Index |
Old Index