pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-radon Install versioned radon binary. Bump PK...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/319dc5c2c84a
branches:  trunk
changeset: 360643:319dc5c2c84a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 04 14:33:24 2017 +0000

description:
Install versioned radon binary. Bump PKGREVISION.

diffstat:

 devel/py-radon/ALTERNATIVES |  1 +
 devel/py-radon/Makefile     |  6 +++++-
 devel/py-radon/PLIST        |  4 ++--
 3 files changed, 8 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 40ea8a7596a8 -r 319dc5c2c84a devel/py-radon/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-radon/ALTERNATIVES       Tue Apr 04 14:33:24 2017 +0000
@@ -0,0 +1,1 @@
+bin/radon @PREFIX@/bin/radon-@PYVERSSUFFIX@
diff -r 40ea8a7596a8 -r 319dc5c2c84a devel/py-radon/Makefile
--- a/devel/py-radon/Makefile   Tue Apr 04 14:23:18 2017 +0000
+++ b/devel/py-radon/Makefile   Tue Apr 04 14:33:24 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2017/04/04 14:19:58 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2017/04/04 14:33:24 wiz Exp $
 
 DISTNAME=      radon-1.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/radon/}
 
@@ -22,6 +23,9 @@
 
 USE_LANGUAGES= # none
 
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/radon ${DESTDIR}${PREFIX}/bin/radon-${PYVERSSUFFIX}
+
 do-test:
        ${RUN} cd ${WRKSRC}/radon/tests; ${SETENV} ${TEST_ENV} ${PYTHONBIN} run.py
 
diff -r 40ea8a7596a8 -r 319dc5c2c84a devel/py-radon/PLIST
--- a/devel/py-radon/PLIST      Tue Apr 04 14:23:18 2017 +0000
+++ b/devel/py-radon/PLIST      Tue Apr 04 14:33:24 2017 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/04 14:19:58 wiz Exp $
-bin/radon
+@comment $NetBSD: PLIST,v 1.2 2017/04/04 14:33:24 wiz Exp $
+bin/radon-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index