summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-14 11:29:02 +0000
committerwiz <wiz@pkgsrc.org>2022-01-14 11:29:02 +0000
commitea3e7ed4df18d1f10bd9ded29c59180d2bf59b35 (patch)
tree8a9a76edd0ee0a517dd2318e7888e8c04e45f5ef
parent0cd15f3eab0e3511296d5dc08802f2c96084d82d (diff)
downloadpkgsrc-ea3e7ed4df18d1f10bd9ded29c59180d2bf59b35.tar.gz
py-IP: fix PLIST for python 2.7
-rw-r--r--net/py-IP/Makefile6
-rw-r--r--net/py-IP/PLIST3
2 files changed, 7 insertions, 2 deletions
diff --git a/net/py-IP/Makefile b/net/py-IP/Makefile
index 00acf747b00..d29e6c12877 100644
--- a/net/py-IP/Makefile
+++ b/net/py-IP/Makefile
@@ -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 @@ LICENSE= modified-bsd
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 --git a/net/py-IP/PLIST b/net/py-IP/PLIST
index f810d3a4d44..215e24327b6 100644
--- a/net/py-IP/PLIST
+++ b/net/py-IP/PLIST
@@ -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