summaryrefslogtreecommitdiff
path: root/net/py-IP
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-10 08:40:59 +0000
committerwiz <wiz@pkgsrc.org>2022-01-10 08:40:59 +0000
commite4a6b622c6ec3b9f7b4815b2ce8a948c5973dd48 (patch)
tree24b4003d0e4290bf3e7c2ac8ecde38f990dd78cc /net/py-IP
parent4e71af91db783df568462938c1f73d87ca5fb2ab (diff)
downloadpkgsrc-e4a6b622c6ec3b9f7b4815b2ce8a948c5973dd48.tar.gz
py-IP: convert to egg.mk
Diffstat (limited to 'net/py-IP')
-rw-r--r--net/py-IP/Makefile7
-rw-r--r--net/py-IP/PLIST7
2 files changed, 10 insertions, 4 deletions
diff --git a/net/py-IP/Makefile b/net/py-IP/Makefile
index 3d04156d58d..00acf747b00 100644
--- a/net/py-IP/Makefile
+++ b/net/py-IP/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2021/01/03 21:52:16 adam Exp $
+# $NetBSD: Makefile,v 1.25 2022/01/10 08:40:59 wiz Exp $
DISTNAME= IPy-1.01
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/IPy/IP/}
+PKGREVISION= 1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=I/IPy/}
@@ -12,8 +13,10 @@ LICENSE= modified-bsd
USE_LANGUAGES= # none
+EGG_NAME= IPy-1.1
+
do-test:
cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_IPy.py
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-IP/PLIST b/net/py-IP/PLIST
index e8f91cfdc68..122ef3027b6 100644
--- a/net/py-IP/PLIST
+++ b/net/py-IP/PLIST
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.4 2012/04/08 20:21:52 wiz Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.5 2022/01/10 08:40:59 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/IPy.py
${PYSITELIB}/IPy.pyc
${PYSITELIB}/IPy.pyo