pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/py-paver py-paver: alternate bin/paver



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b90b5b37cf2
branches:  trunk
changeset: 311279:6b90b5b37cf2
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Aug 07 09:44:13 2018 +0000

description:
py-paver: alternate bin/paver

diffstat:

 lang/py-paver/ALTERNATIVES |  1 +
 lang/py-paver/Makefile     |  5 ++++-
 lang/py-paver/PLIST        |  4 ++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 091ff7cffad8 -r 6b90b5b37cf2 lang/py-paver/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-paver/ALTERNATIVES        Tue Aug 07 09:44:13 2018 +0000
@@ -0,0 +1,1 @@
+bin/paver @PREFIX@/bin/paver-@PYVERSSUFFIX@
diff -r 091ff7cffad8 -r 6b90b5b37cf2 lang/py-paver/Makefile
--- a/lang/py-paver/Makefile    Tue Aug 07 09:36:42 2018 +0000
+++ b/lang/py-paver/Makefile    Tue Aug 07 09:44:13 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/07 09:24:36 adam Exp $
+# $NetBSD: Makefile,v 1.2 2018/08/07 09:44:13 adam Exp $
 
 DISTNAME=      Paver-1.3.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -18,5 +18,8 @@
 
 USE_LANGUAGES= # none
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} paver paver-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 091ff7cffad8 -r 6b90b5b37cf2 lang/py-paver/PLIST
--- a/lang/py-paver/PLIST       Tue Aug 07 09:36:42 2018 +0000
+++ b/lang/py-paver/PLIST       Tue Aug 07 09:44:13 2018 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/07 09:24:36 adam Exp $
-bin/paver
+@comment $NetBSD: PLIST,v 1.2 2018/08/07 09:44:13 adam Exp $
+bin/paver-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index