diff options
author | adam <adam@pkgsrc.org> | 2018-08-07 09:44:13 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-08-07 09:44:13 +0000 |
commit | b14d8415f1d46bf277b04bdf706edfdd91ebc2b8 (patch) | |
tree | 508b735b3efadd036652d657d7e50a4f2a57295a /lang/py-paver | |
parent | efbc5c6ceab267a96b4436438d450f9d6cf02f12 (diff) | |
download | pkgsrc-b14d8415f1d46bf277b04bdf706edfdd91ebc2b8.tar.gz |
py-paver: alternate bin/paver
Diffstat (limited to 'lang/py-paver')
-rw-r--r-- | lang/py-paver/ALTERNATIVES | 1 | ||||
-rw-r--r-- | lang/py-paver/Makefile | 5 | ||||
-rw-r--r-- | lang/py-paver/PLIST | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/lang/py-paver/ALTERNATIVES b/lang/py-paver/ALTERNATIVES new file mode 100644 index 00000000000..7ef465dcf85 --- /dev/null +++ b/lang/py-paver/ALTERNATIVES @@ -0,0 +1 @@ +bin/paver @PREFIX@/bin/paver-@PYVERSSUFFIX@ diff --git a/lang/py-paver/Makefile b/lang/py-paver/Makefile index 0ee63a85dcc..5226808bfee 100644 --- a/lang/py-paver/Makefile +++ b/lang/py-paver/Makefile @@ -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 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv 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 --git a/lang/py-paver/PLIST b/lang/py-paver/PLIST index b0bf0d24509..e0fa20eef76 100644 --- a/lang/py-paver/PLIST +++ b/lang/py-paver/PLIST @@ -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 |