pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-unittest2 Fix PLIST for python != 2.7.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c51c24614f65
branches:  trunk
changeset: 621422:c51c24614f65
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 08 16:17:20 2013 +0000

description:
Fix PLIST for python != 2.7.

diffstat:

 devel/py-unittest2/Makefile |  5 +++--
 devel/py-unittest2/PLIST    |  4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 5d67d4e6727b -r c51c24614f65 devel/py-unittest2/Makefile
--- a/devel/py-unittest2/Makefile       Mon Jul 08 15:25:26 2013 +0000
+++ b/devel/py-unittest2/Makefile       Mon Jul 08 16:17:20 2013 +0000
@@ -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 @@
 
 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 -r 5d67d4e6727b -r c51c24614f65 devel/py-unittest2/PLIST
--- a/devel/py-unittest2/PLIST  Mon Jul 08 15:25:26 2013 +0000
+++ b/devel/py-unittest2/PLIST  Mon Jul 08 16:17:20 2013 +0000
@@ -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



Home | Main Index | Thread Index | Old Index