diff options
author | wiz <wiz> | 2013-07-08 16:17:20 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-07-08 16:17:20 +0000 |
commit | 55a1a6df7f0cca0865d01a5c22c61d51060576f2 (patch) | |
tree | 987420d64573a4c27f9f34f2dd362286d52a2c4f /devel | |
parent | ccac01ef43109f7663e3301ed92232a72864fcfc (diff) | |
download | pkgsrc-55a1a6df7f0cca0865d01a5c22c61d51060576f2.tar.gz |
Fix PLIST for python != 2.7.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-unittest2/Makefile | 5 | ||||
-rw-r--r-- | devel/py-unittest2/PLIST | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/devel/py-unittest2/Makefile b/devel/py-unittest2/Makefile index 0aaa263b201..c3aaac0c02e 100644 --- a/devel/py-unittest2/Makefile +++ b/devel/py-unittest2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2013/07/08 04:52:48 richard Exp $ +# $NetBSD: Makefile,v 1.2 2013/07/08 16:17:20 wiz Exp $ DISTNAME= unittest2-0.5.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -14,7 +14,8 @@ PYTHON_VERSIONS_INCLUDE_3X = no DOCDIR= share/doc/${PKGBASE} INSTALLATION_DIRS+= ${DOCDIR} -PLIST_SUBST+= DOCDIR=${DOCDIR} +PLIST_SUBST+= DOCDIR=${DOCDIR} +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} post-install: ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/${DOCDIR} diff --git a/devel/py-unittest2/PLIST b/devel/py-unittest2/PLIST index 3254b103d37..dfc8c1378c9 100644 --- a/devel/py-unittest2/PLIST +++ b/devel/py-unittest2/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1 2013/07/08 04:52:48 richard Exp $ +@comment $NetBSD: PLIST,v 1.2 2013/07/08 16:17:20 wiz Exp $ bin/unit2 -bin/unit2-2.7 +bin/unit2-${PYVERSSUFFIX} bin/unit2.py ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt |