summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-02-10 00:12:10 +0000
committerrodent <rodent@pkgsrc.org>2014-02-10 00:12:10 +0000
commit7fec9903bbf90108f0a360ff80ae93cb81e30504 (patch)
treed4e258fb473a282d92e0550c5c713636c0b51483 /devel
parent722e3a0284bd8224f698334252e52908bf0e75e8 (diff)
downloadpkgsrc-7fec9903bbf90108f0a360ff80ae93cb81e30504.tar.gz
Use PYVERSUFFIX in PLIST to allow parallel installation of this package for
different python versions. Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-modulegraph/Makefile9
-rw-r--r--devel/py-modulegraph/PLIST4
2 files changed, 10 insertions, 3 deletions
diff --git a/devel/py-modulegraph/Makefile b/devel/py-modulegraph/Makefile
index dd781185a3f..e5f954fb1b3 100644
--- a/devel/py-modulegraph/Makefile
+++ b/devel/py-modulegraph/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2014/02/09 15:09:46 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2014/02/10 00:12:10 rodent Exp $
DISTNAME= modulegraph-0.11
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= https://pypi.python.org/packages/source/m/modulegraph/
@@ -14,5 +15,11 @@ DEPENDS+= ${PYPKGPREFIX}-altgraph>=0.11:../../graphics/py-altgraph
USE_LANGUAGES= # none
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/modulegraph \
+ ${DESTDIR}${PREFIX}/bin/modulegraph${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-modulegraph/PLIST b/devel/py-modulegraph/PLIST
index 6491d7bd96e..a21324c2ebf 100644
--- a/devel/py-modulegraph/PLIST
+++ b/devel/py-modulegraph/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2014/02/09 15:09:46 rodent Exp $
-bin/modulegraph
+@comment $NetBSD: PLIST,v 1.2 2014/02/10 00:12:10 rodent Exp $
+bin/modulegraph${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt