pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-dpkt py-dpkt: update to version 1.9.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/243f2a20b348
branches:  trunk
changeset: 439818:243f2a20b348
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Tue Sep 29 02:40:24 2020 +0000

description:
py-dpkt: update to version 1.9.4

dpkt-1.9.3:
 - drop python 2.6 support
 - add python 3.7, 3.8 support
 - fix netbios name encoding and decoding
 - properly set type of last vlan tag to type of eth.data layer
 - fix QinQ vlan tag parsing with miscellaneous data
 - add explicit iter to dpkt.Packet so dict() maps the fields nicely
 - fix ipv6 packet so that it can be used for generating IPv6 data
 - handle zero Eth type
 - python 3 compatibility fixes

dpkt-1.9.0:
 - add support for Python 3.4, 3.5. Python 2.6 and 2.7 are still supported.

diffstat:

 net/py-dpkt/Makefile |  14 +++++++-------
 net/py-dpkt/PLIST    |  32 ++++++++++++++++++++++++++++++--
 net/py-dpkt/distinfo |  10 +++++-----
 3 files changed, 42 insertions(+), 14 deletions(-)

diffs (125 lines):

diff -r 2f6fbe56fee6 -r 243f2a20b348 net/py-dpkt/Makefile
--- a/net/py-dpkt/Makefile      Tue Sep 29 02:32:58 2020 +0000
+++ b/net/py-dpkt/Makefile      Tue Sep 29 02:40:24 2020 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.13 2019/09/02 13:19:48 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/09/29 02:40:24 khorben Exp $
 
-DISTNAME=      dpkt-1.8
+DISTNAME=      dpkt-1.9.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    net python
-MASTER_SITES=  http://dpkt.googlecode.com/files/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=kbandla/}
+GITHUB_PROJECT=        dpkt
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pettai%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/kbandla/dpkt
@@ -13,7 +14,6 @@
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_ACCEPTED=      27 # not yet ported as of 1.8
-
-.include "../../lang/python/distutils.mk"
+# TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2f6fbe56fee6 -r 243f2a20b348 net/py-dpkt/PLIST
--- a/net/py-dpkt/PLIST Tue Sep 29 02:32:58 2020 +0000
+++ b/net/py-dpkt/PLIST Tue Sep 29 02:40:24 2020 +0000
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2014/01/20 12:39:14 wiz Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.4 2020/09/29 02:40:24 khorben Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/dpkt/__init__.py
 ${PYSITELIB}/dpkt/__init__.pyc
 ${PYSITELIB}/dpkt/__init__.pyo
@@ -9,6 +13,15 @@
 ${PYSITELIB}/dpkt/aim.py
 ${PYSITELIB}/dpkt/aim.pyc
 ${PYSITELIB}/dpkt/aim.pyo
+${PYSITELIB}/dpkt/aoe.py
+${PYSITELIB}/dpkt/aoe.pyc
+${PYSITELIB}/dpkt/aoe.pyo
+${PYSITELIB}/dpkt/aoeata.py
+${PYSITELIB}/dpkt/aoeata.pyc
+${PYSITELIB}/dpkt/aoeata.pyo
+${PYSITELIB}/dpkt/aoecfg.py
+${PYSITELIB}/dpkt/aoecfg.pyc
+${PYSITELIB}/dpkt/aoecfg.pyo
 ${PYSITELIB}/dpkt/arp.py
 ${PYSITELIB}/dpkt/arp.pyc
 ${PYSITELIB}/dpkt/arp.pyo
@@ -21,6 +34,9 @@
 ${PYSITELIB}/dpkt/cdp.py
 ${PYSITELIB}/dpkt/cdp.pyc
 ${PYSITELIB}/dpkt/cdp.pyo
+${PYSITELIB}/dpkt/compat.py
+${PYSITELIB}/dpkt/compat.pyc
+${PYSITELIB}/dpkt/compat.pyo
 ${PYSITELIB}/dpkt/crc32c.py
 ${PYSITELIB}/dpkt/crc32c.pyc
 ${PYSITELIB}/dpkt/crc32c.pyo
@@ -39,6 +55,9 @@
 ${PYSITELIB}/dpkt/dtp.py
 ${PYSITELIB}/dpkt/dtp.pyc
 ${PYSITELIB}/dpkt/dtp.pyo
+${PYSITELIB}/dpkt/edp.py
+${PYSITELIB}/dpkt/edp.pyc
+${PYSITELIB}/dpkt/edp.pyo
 ${PYSITELIB}/dpkt/esp.py
 ${PYSITELIB}/dpkt/esp.pyc
 ${PYSITELIB}/dpkt/esp.pyo
@@ -60,6 +79,9 @@
 ${PYSITELIB}/dpkt/http.py
 ${PYSITELIB}/dpkt/http.pyc
 ${PYSITELIB}/dpkt/http.pyo
+${PYSITELIB}/dpkt/http2.py
+${PYSITELIB}/dpkt/http2.pyc
+${PYSITELIB}/dpkt/http2.pyo
 ${PYSITELIB}/dpkt/icmp.py
 ${PYSITELIB}/dpkt/icmp.pyc
 ${PYSITELIB}/dpkt/icmp.pyo
@@ -78,6 +100,9 @@
 ${PYSITELIB}/dpkt/ip6.py
 ${PYSITELIB}/dpkt/ip6.pyc
 ${PYSITELIB}/dpkt/ip6.pyo
+${PYSITELIB}/dpkt/ipip.py
+${PYSITELIB}/dpkt/ipip.pyc
+${PYSITELIB}/dpkt/ipip.pyo
 ${PYSITELIB}/dpkt/ipx.py
 ${PYSITELIB}/dpkt/ipx.pyc
 ${PYSITELIB}/dpkt/ipx.pyo
@@ -105,6 +130,9 @@
 ${PYSITELIB}/dpkt/pcap.py
 ${PYSITELIB}/dpkt/pcap.pyc
 ${PYSITELIB}/dpkt/pcap.pyo
+${PYSITELIB}/dpkt/pcapng.py
+${PYSITELIB}/dpkt/pcapng.pyc
+${PYSITELIB}/dpkt/pcapng.pyo
 ${PYSITELIB}/dpkt/pim.py
 ${PYSITELIB}/dpkt/pim.pyc
 ${PYSITELIB}/dpkt/pim.pyo
diff -r 2f6fbe56fee6 -r 243f2a20b348 net/py-dpkt/distinfo
--- a/net/py-dpkt/distinfo      Tue Sep 29 02:32:58 2020 +0000
+++ b/net/py-dpkt/distinfo      Tue Sep 29 02:40:24 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 00:35:30 agc Exp $
+$NetBSD: distinfo,v 1.4 2020/09/29 02:40:24 khorben Exp $
 
-SHA1 (dpkt-1.8.tar.gz) = 4dd4d8b384177fcfbad3891798ff5779bb39ee2a
-RMD160 (dpkt-1.8.tar.gz) = 6c52dd753897ea10b15b9a67ef0303464bbfc7eb
-SHA512 (dpkt-1.8.tar.gz) = 25af49a7b79d192382103e056e762e2933f37b6c72f490c9c6740883e18fdde6c983d640aa27514f15f77ac27e2f037b1943adcaa6046872f53d92e08de73cb3
-Size (dpkt-1.8.tar.gz) = 76311 bytes
+SHA1 (dpkt-1.9.4.tar.gz) = 021c8596f699f63019c1512f5fc60cb91e780113
+RMD160 (dpkt-1.9.4.tar.gz) = e71ccee2d4063ef672960c3161f3e1e183eb9d89
+SHA512 (dpkt-1.9.4.tar.gz) = 52698c8933f25c5a15b9d871ec5f892e6e515110aaaf6ea4625cd26227b041b959f96c3b17f0e16fab0a3e5a5d2d4ac24fe8b5921b69bd094ff8f9926eb1fb2f
+Size (dpkt-1.9.4.tar.gz) = 147123 bytes



Home | Main Index | Thread Index | Old Index