Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-netaddr py-netaddr: updated to 0.7.20
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ab75dcefd1a
branches: trunk
changeset: 434649:4ab75dcefd1a
user: adam <adam%pkgsrc.org@localhost>
date: Sat Jun 20 07:27:44 2020 +0000
description:
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.
diffstat:
net/py-netaddr/ALTERNATIVES | 2 +-
net/py-netaddr/Makefile | 12 +++++++++---
net/py-netaddr/PLIST | 9 +++++++--
net/py-netaddr/distinfo | 11 +++++------
net/py-netaddr/patches/patch-setup.py | 14 --------------
5 files changed, 22 insertions(+), 26 deletions(-)
diffs (97 lines):
diff -r 094121ac66cd -r 4ab75dcefd1a net/py-netaddr/ALTERNATIVES
--- a/net/py-netaddr/ALTERNATIVES Sat Jun 20 07:20:28 2020 +0000
+++ b/net/py-netaddr/ALTERNATIVES Sat Jun 20 07:27:44 2020 +0000
@@ -1,1 +1,1 @@
-bin/netaddr @PREFIX@/bin/netaddr@PYVERSSUFFIX@
+bin/netaddr @PREFIX@/bin/netaddr-@PYVERSSUFFIX@
diff -r 094121ac66cd -r 4ab75dcefd1a net/py-netaddr/Makefile
--- a/net/py-netaddr/Makefile Sat Jun 20 07:20:28 2020 +0000
+++ b/net/py-netaddr/Makefile Sat Jun 20 07:27:44 2020 +0000
@@ -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 @@
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/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"
diff -r 094121ac66cd -r 4ab75dcefd1a net/py-netaddr/PLIST
--- a/net/py-netaddr/PLIST Sat Jun 20 07:20:28 2020 +0000
+++ b/net/py-netaddr/PLIST Sat Jun 20 07:27:44 2020 +0000
@@ -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
diff -r 094121ac66cd -r 4ab75dcefd1a net/py-netaddr/distinfo
--- a/net/py-netaddr/distinfo Sat Jun 20 07:20:28 2020 +0000
+++ b/net/py-netaddr/distinfo Sat Jun 20 07:27:44 2020 +0000
@@ -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
diff -r 094121ac66cd -r 4ab75dcefd1a net/py-netaddr/patches/patch-setup.py
--- a/net/py-netaddr/patches/patch-setup.py Sat Jun 20 07:20:28 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-setup.py,v 1.3 2017/09/28 12:25:11 adam Exp $
-
-Do not overwrite script's interpreter.
-
---- setup.py.orig 2017-01-11 23:42:52.000000000 +0000
-+++ setup.py
-@@ -176,7 +176,6 @@ def main():
- version=netaddr.__version__,
- options={
- 'build_scripts': {
-- 'executable': '/usr/bin/env python',
- },
- },
- )
Home |
Main Index |
Thread Index |
Old Index