summaryrefslogtreecommitdiff
path: root/net/py-pcap
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-22 14:35:52 +0000
committerwiz <wiz@pkgsrc.org>2022-01-22 14:35:52 +0000
commitdf7aa0da4ec30489168b253b218e754f4718ab3c (patch)
treec4cf1ca8ed3c0752b700ba71930873fdc0f5f123 /net/py-pcap
parent4952b6c00d3d720445cc7f0d9385665b051589de (diff)
downloadpkgsrc-df7aa0da4ec30489168b253b218e754f4718ab3c.tar.gz
py-pcap: convert to egg.mk
Diffstat (limited to 'net/py-pcap')
-rw-r--r--net/py-pcap/Makefile8
-rw-r--r--net/py-pcap/PLIST3
2 files changed, 6 insertions, 5 deletions
diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile
index a6fe56848dc..a50bee84532 100644
--- a/net/py-pcap/Makefile
+++ b/net/py-pcap/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2019/11/03 11:45:51 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2022/01/22 14:35:52 wiz Exp $
DISTNAME= pypcap-1.1
PKGNAME= ${PYPKGPREFIX}-pcap-1.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net python
MASTER_SITES= http://pypcap.googlecode.com/files/
@@ -23,8 +23,8 @@ SUBST_FILES.prefix= Makefile
SUBST_VARS.prefix= PREFIX
SUBST_STAGE.prefix= pre-configure
-PYDISTUTILSPKG= yes
PYTHON_VERSIONS_ACCEPTED= 27 # py-pyrex
+EGG_NAME= pcap-${PKGVERSION_NOREV}
FILES_SUBST+= PYTHONBIN=${PYTHONBIN:Q}
@@ -38,6 +38,6 @@ do-configure:
# --with-pcap=${PREFIX}
.include "../../net/libpcap/buildlink3.mk"
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-pcap/PLIST b/net/py-pcap/PLIST
index a1ac170dde8..7bf9d744cfa 100644
--- a/net/py-pcap/PLIST
+++ b/net/py-pcap/PLIST
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/13 10:20:53 pettai Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/01/22 14:35:52 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}
${PYSITELIB}/pcap.so