pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-pcap py-pcap: convert to egg.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/743feeec98a3
branches:  trunk
changeset: 372243:743feeec98a3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 22 14:35:52 2022 +0000

description:
py-pcap: convert to egg.mk

diffstat:

 net/py-pcap/Makefile |  8 ++++----
 net/py-pcap/PLIST    |  3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 5bc40e8bebdc -r 743feeec98a3 net/py-pcap/Makefile
--- a/net/py-pcap/Makefile      Sat Jan 22 14:34:18 2022 +0000
+++ b/net/py-pcap/Makefile      Sat Jan 22 14:35:52 2022 +0000
@@ -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_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 @@
        # --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 -r 5bc40e8bebdc -r 743feeec98a3 net/py-pcap/PLIST
--- a/net/py-pcap/PLIST Sat Jan 22 14:34:18 2022 +0000
+++ b/net/py-pcap/PLIST Sat Jan 22 14:35:52 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index