From 96383918580907c2d5b0d52af23e67f5e691889bc10345a7fa9b23c16a121461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 19 May 2014 12:05:22 +0000 Subject: [PATCH] Accepting request 233654 from home:frispete:python - Update to 0.7.11: * Performance of IPSet increased dramatically, implemented by Stefan Nordhausen and Martijn van Oosterhout. As a side effect, IPSet(IPNetwork("10.0.0.0/8")) is now as fast as you'd expect. * Various performance improvements all over the place. * netaddr is now hosted on PyPI and can be installed via pip. * Doing "10.0.0.42" in IPNetwork("10.0.0.0/24") works now. * IPSet has two new methods: iscontiguous() and iprange(), thanks to Louis des Landes. * Re-added the IPAddress.netmask_bits() method that was accidently removed. * Networks 128.0.0.0/16, 191.255.0.0/16, and 223.255.255.0/24 are not marked as reserved IPv4 addresses any more. Thanks to marnickv for pointing that out. * Various bug fixes contributed by Wilfred Hughes, 2*yo and Adam Goodman. FIXED Issue 58: https://github.com/drkjam/netaddr/issues/58 - foo.bar doesn't throw AddrFormatError FIXED Issue 57: https://github.com/drkjam/netaddr/issues/57 - netaddr packages not hosted on PyPI FIXED Issue 56: https://github.com/drkjam/netaddr/issues/56 - Fix comparison with large IPSet() FIXED Issue 55: https://github.com/drkjam/netaddr/pull/55 - Fix smallest_matching_cidr and all_matching_cidrs FIXED Issue 53: https://github.com/drkjam/netaddr/issues/53 - Exclude 128.0.0.0/16 and possibly others from reserved range set? FIXED Issue 51: https://github.com/drkjam/netaddr/issues/51 - Encoding errors in netaddr/eui/oui.txt FIXED Issue 46: https://github.com/drkjam/netaddr/issues/46 - len(IPSet()) fails on python3 FIXED Issue 43: https://github.com/drkjam/netaddr/issues/43 - Method to check if IPSet is contiguous FIXED Issue 38: https://github.com/drkjam/netaddr/issues/38 - netmask_bits is missing from the IPAddress OBS-URL: https://build.opensuse.org/request/show/233654 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=11 --- netaddr-0.7.10.tar.bz2 | 3 --- netaddr-0.7.11.tar.gz | 3 +++ python-netaddr.changes | 36 ++++++++++++++++++++++++++++++++++++ python-netaddr.spec | 6 +++--- 4 files changed, 42 insertions(+), 6 deletions(-) delete mode 100644 netaddr-0.7.10.tar.bz2 create mode 100644 netaddr-0.7.11.tar.gz diff --git a/netaddr-0.7.10.tar.bz2 b/netaddr-0.7.10.tar.bz2 deleted file mode 100644 index 3744f40..0000000 --- a/netaddr-0.7.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67aa3fe1f8ebff5b11e7a319b722d1ac93a18e77bebb1ea36eeb4b5c7810caef -size 1007233 diff --git a/netaddr-0.7.11.tar.gz b/netaddr-0.7.11.tar.gz new file mode 100644 index 0000000..854e3c2 --- /dev/null +++ b/netaddr-0.7.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:831901f0ea064cb301d64057632fc6f1e4a774eac13c4bf927c0b9fdf5f03277 +size 1478615 diff --git a/python-netaddr.changes b/python-netaddr.changes index df7fc0b..627bdc5 100644 --- a/python-netaddr.changes +++ b/python-netaddr.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Mon May 12 20:10:14 UTC 2014 - hpj@urpla.net + +- Update to 0.7.11: + * Performance of IPSet increased dramatically, implemented by + Stefan Nordhausen and Martijn van Oosterhout. As a side effect, + IPSet(IPNetwork("10.0.0.0/8")) is now as fast as you'd expect. + * Various performance improvements all over the place. + * netaddr is now hosted on PyPI and can be installed via pip. + * Doing "10.0.0.42" in IPNetwork("10.0.0.0/24") works now. + * IPSet has two new methods: iscontiguous() and iprange(), thanks to Louis des Landes. + * Re-added the IPAddress.netmask_bits() method that was accidently removed. + * Networks 128.0.0.0/16, 191.255.0.0/16, and 223.255.255.0/24 are not marked as + reserved IPv4 addresses any more. Thanks to marnickv for pointing that out. + * Various bug fixes contributed by Wilfred Hughes, 2*yo and Adam Goodman. + FIXED Issue 58: https://github.com/drkjam/netaddr/issues/58 + - foo.bar doesn't throw AddrFormatError + FIXED Issue 57: https://github.com/drkjam/netaddr/issues/57 + - netaddr packages not hosted on PyPI + FIXED Issue 56: https://github.com/drkjam/netaddr/issues/56 + - Fix comparison with large IPSet() + FIXED Issue 55: https://github.com/drkjam/netaddr/pull/55 + - Fix smallest_matching_cidr and all_matching_cidrs + FIXED Issue 53: https://github.com/drkjam/netaddr/issues/53 + - Exclude 128.0.0.0/16 and possibly others from reserved range set? + FIXED Issue 51: https://github.com/drkjam/netaddr/issues/51 + - Encoding errors in netaddr/eui/oui.txt + FIXED Issue 46: https://github.com/drkjam/netaddr/issues/46 + - len(IPSet()) fails on python3 + FIXED Issue 43: https://github.com/drkjam/netaddr/issues/43 + - Method to check if IPSet is contiguous + FIXED Issue 38: https://github.com/drkjam/netaddr/issues/38 + - netmask_bits is missing from the IPAddress + FIXED Issue 37: https://github.com/drkjam/netaddr/issues/37 + - Test failures with Python 3.3 + ------------------------------------------------------------------- Thu Oct 24 11:09:05 UTC 2013 - speilicke@suse.com diff --git a/python-netaddr.spec b/python-netaddr.spec index ed3fa99..513eaa2 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -1,7 +1,7 @@ # # spec file for package python-netaddr # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: python-netaddr -Version: 0.7.10 +Version: 0.7.11 Release: 0 Url: http://github.com/drkjam/netaddr Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses License: BSD-3-Clause Group: Development/Languages/Python -Source: netaddr-%{version}.tar.bz2 +Source: netaddr-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools