pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-IP py-IP: fix PLIST for python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea7c09aff432
branches:  trunk
changeset: 371788:ea7c09aff432
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jan 14 11:29:02 2022 +0000

description:
py-IP: fix PLIST for python 2.7

diffstat:

 net/py-IP/Makefile |  6 +++++-
 net/py-IP/PLIST    |  3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r a1393a484874 -r ea7c09aff432 net/py-IP/Makefile
--- a/net/py-IP/Makefile        Fri Jan 14 11:19:37 2022 +0000
+++ b/net/py-IP/Makefile        Fri Jan 14 11:29:02 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2022/01/10 08:40:59 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2022/01/14 11:29:02 wiz Exp $
 
 DISTNAME=      IPy-1.01
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/IPy/IP/}
@@ -13,7 +13,11 @@
 
 USE_LANGUAGES= # none
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} != "py27"
 EGG_NAME=      IPy-1.1
+.endif
 
 do-test:
        cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_IPy.py
diff -r a1393a484874 -r ea7c09aff432 net/py-IP/PLIST
--- a/net/py-IP/PLIST   Fri Jan 14 11:19:37 2022 +0000
+++ b/net/py-IP/PLIST   Fri Jan 14 11:29:02 2022 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.6 2022/01/10 18:20:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/01/14 11:29:02 wiz Exp $
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
 ${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index