pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-netaddr
Module Name: pkgsrc
Committed By: adam
Date: Sat Jun 20 07:27:45 UTC 2020
Modified Files:
pkgsrc/net/py-netaddr: ALTERNATIVES Makefile PLIST distinfo
Removed Files:
pkgsrc/net/py-netaddr/patches: patch-setup.py
Log Message:
py-netaddr: updated to 0.7.20
Changes since 0.7.19
* Fixed returning from an iterator on Python 3.7+, by Sergey Kozlov.
* Fixed Python 3.8 SyntaxWarning on using `is not` with a string literal, by Stefan Nordhausen.
* Fixed DeprecationWarnings by using raw strings for escape characters used in regexes, by Sean McGinnis.
* Improved IPGlob documentation, by obkmeta.
* Fixed exception creation in corner cases by explicitly passin error message params as tuples, by
Matthias Urlichs.
* Stopped manually replacing shebang of an included script.
* Stopped using __file__ in all code that's expected to run in environments that don't support it
(like PyOxidizer-produced binaries).
* Updated all databases included in the package.
Specific bug fixes addressed in this release
FIXED Issue 182: https://github.com/netaddr/netaddr/issues/182
- test_ip_splitter_remove_prefix_larger_than_input_range fails with python 3.7
FIXED Issue 206: https://github.com/netaddr/netaddr/issues/206
- ""is not" with a literal." SyntaxWarning
FIXED Issue 198: https://github.com/netaddr/netaddr/issues/198
- oui databases are outdated
FIXED Issue 188: https://github.com/netaddr/netaddr/issues/188
- Avoid use of __file__
Miscellanea
- Python 2 versions older than 2.7 and Python 3 versions older than 3.5 should be considered
unsupported. No incompatible code has been introduced to the best of our knowledge but
there's no CI infrastructure in place to verify this and if there are any issues with
those versions they won't be fixed.
- Consequently, Python 2.7 and 3.5 support should be considered deprecated as 2.7 has
reached its end-of-life already and 3.5 will hit it soon.
- A CI setup has been introduced which allows us to test on a variety of Python versions
on all Mac, Linux and Windows.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-netaddr/ALTERNATIVES
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/py-netaddr/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-netaddr/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-netaddr/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/net/py-netaddr/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-netaddr/ALTERNATIVES
diff -u pkgsrc/net/py-netaddr/ALTERNATIVES:1.1 pkgsrc/net/py-netaddr/ALTERNATIVES:1.2
--- pkgsrc/net/py-netaddr/ALTERNATIVES:1.1 Thu Sep 28 12:25:11 2017
+++ pkgsrc/net/py-netaddr/ALTERNATIVES Sat Jun 20 07:27:44 2020
@@ -1 +1 @@
-bin/netaddr @PREFIX@/bin/netaddr@PYVERSSUFFIX@
+bin/netaddr @PREFIX@/bin/netaddr-@PYVERSSUFFIX@
Index: pkgsrc/net/py-netaddr/Makefile
diff -u pkgsrc/net/py-netaddr/Makefile:1.5 pkgsrc/net/py-netaddr/Makefile:1.6
--- pkgsrc/net/py-netaddr/Makefile:1.5 Sat May 23 07:55:15 2020
+++ pkgsrc/net/py-netaddr/Makefile Sat Jun 20 07:27:44 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/05/23 07:55:15 adam Exp $
+# $NetBSD: Makefile,v 1.6 2020/06/20 07:27:44 adam Exp $
-DISTNAME= netaddr-0.7.19
+DISTNAME= netaddr-0.7.20
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/netaddr/}
@@ -10,6 +10,11 @@ HOMEPAGE= https://github.com/drkjam/neta
COMMENT= Python library for manipluating network addresses
LICENSE= modified-bsd
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 37
+DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
+.endif
+
USE_LANGUAGES= # none
REPLACE_PYTHON+= netaddr/eui/ieee.py
@@ -17,7 +22,8 @@ REPLACE_PYTHON+= netaddr/ip/iana.py
REPLACE_PYTHON+= netaddr/tools/netaddr
post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${MV} netaddr netaddr${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} netaddr netaddr-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
Index: pkgsrc/net/py-netaddr/PLIST
diff -u pkgsrc/net/py-netaddr/PLIST:1.3 pkgsrc/net/py-netaddr/PLIST:1.4
--- pkgsrc/net/py-netaddr/PLIST:1.3 Thu Sep 28 12:25:11 2017
+++ pkgsrc/net/py-netaddr/PLIST Sat Jun 20 07:27:44 2020
@@ -1,12 +1,17 @@
-@comment $NetBSD: PLIST,v 1.3 2017/09/28 12:25:11 adam Exp $
-bin/netaddr${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.4 2020/06/20 07:27:44 adam Exp $
+bin/netaddr-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/netaddr/__init__.py
${PYSITELIB}/netaddr/__init__.pyc
${PYSITELIB}/netaddr/__init__.pyo
+${PYSITELIB}/netaddr/cli.py
+${PYSITELIB}/netaddr/cli.pyc
+${PYSITELIB}/netaddr/cli.pyo
${PYSITELIB}/netaddr/compat.py
${PYSITELIB}/netaddr/compat.pyc
${PYSITELIB}/netaddr/compat.pyo
Index: pkgsrc/net/py-netaddr/distinfo
diff -u pkgsrc/net/py-netaddr/distinfo:1.4 pkgsrc/net/py-netaddr/distinfo:1.5
--- pkgsrc/net/py-netaddr/distinfo:1.4 Thu Sep 28 12:25:11 2017
+++ pkgsrc/net/py-netaddr/distinfo Sat Jun 20 07:27:44 2020
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/09/28 12:25:11 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/06/20 07:27:44 adam Exp $
-SHA1 (netaddr-0.7.19.tar.gz) = 00e0ce7d7ebc1d6e7943e884aa51ccb7becdc9ea
-RMD160 (netaddr-0.7.19.tar.gz) = 726d351f5c2a2e13446322c9ffd169215deb2601
-SHA512 (netaddr-0.7.19.tar.gz) = 8440dee19d51828cd0dee403ec8c2fbc70e42d8c7c922d1a6a2a752100f9a313c521fa5e0789e024af0998f713599d50cf986e96867d3cc62a4143875e52d6bf
-Size (netaddr-0.7.19.tar.gz) = 1622835 bytes
-SHA1 (patch-setup.py) = c62ca80240f8f53e2ddf88476d9e41b5ff693b23
+SHA1 (netaddr-0.7.20.tar.gz) = 118a33614bd6db85e462fb8375f06ed97b501da9
+RMD160 (netaddr-0.7.20.tar.gz) = bf73edac6c0da67c4099ae4ab1a5e1844445b514
+SHA512 (netaddr-0.7.20.tar.gz) = f6cbfefa3cec95c039ef711b15e3c9509cdf730c9c4b9427fe2fa55beddd8fd44621fe8615d26a3b9ac6989a648f96d42a6a8e848a4976d883b8a5a243590ccf
+Size (netaddr-0.7.20.tar.gz) = 1889698 bytes
Home |
Main Index |
Thread Index |
Old Index