Hello community,

here is the log from the commit of package python-netaddr for openSUSE:Factory 
checked in at 2020-07-07 12:59:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-netaddr (Old)
 and      /work/SRC/openSUSE:Factory/.python-netaddr.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-netaddr"

Tue Jul  7 12:59:04 2020 rev:24 rq:819016 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-netaddr/python-netaddr.changes    
2020-05-28 09:12:42.824516642 +0200
+++ /work/SRC/openSUSE:Factory/.python-netaddr.new.3060/python-netaddr.changes  
2020-07-07 13:00:05.130081509 +0200
@@ -1,0 +2,19 @@
+Sat Jul  4 18:19:40 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 0.8.0
+  * Fixed weak reference support in classes with __slots__
+  * Added __bytes__ to IPAddress for intuitive usage
+  * Added format() function to EUI
+  * Added IPNetwork.netmask property setter
+  * Added support for IABs in the 40:D8:55 OUI
+  * Drastically optimized spanning_cidr()
+  * Fixed "x.x.x.x/x" in IPNetwork tests
+  * Added support for passing iterables of IPRange to IPSet and
+    cidr_merge()
+  Bugfixes:
+  * N log N complexity instead of linear
+  * Efficiently creating a large IPSet from a list of IPRanges?
+  * Weak reference support
+- Run testsuite
+
+-------------------------------------------------------------------

Old:
----
  netaddr-0.7.19.tar.gz

New:
----
  netaddr-0.8.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-netaddr.spec ++++++
--- /var/tmp/diff_new_pack.vRv3FW/_old  2020-07-07 13:00:08.074091114 +0200
+++ /var/tmp/diff_new_pack.vRv3FW/_new  2020-07-07 13:00:08.078091127 +0200
@@ -17,18 +17,22 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-#%%bcond_without test
 Name:           python-netaddr
-Version:        0.7.19
+Version:        0.8.0
 Release:        0
 Summary:        Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network 
addresses
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/drkjam/netaddr
 Source:         
https://files.pythonhosted.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
+BuildRequires:  %{python_module importlib-metadata}
+BuildRequires:  %{python_module importlib_resources}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-importlib-metadata
+Requires:       python-importlib_resources
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:      noarch
@@ -53,7 +57,7 @@
 
 %prep
 %setup -q -n netaddr-%{version}
-sed -i "1d" netaddr/{ip/iana,eui/ieee,tests/__init__}.py # Fix non-executable 
scripts
+sed -i "1d" netaddr/{cli,ip/iana,eui/ieee,tests/__init__}.py # Fix 
non-executable scripts
 
 %build
 %python_build
@@ -63,10 +67,8 @@
 %python_clone -a %{buildroot}%{_bindir}/netaddr
 %fdupes %{buildroot}
 
-%if %{with test}
 %check
-%python_exec setup.py test
-%endif
+%pytest
 
 %post
 %python_install_alternative netaddr
@@ -75,10 +77,10 @@
 %python_uninstall_alternative netaddr
 
 %files %{python_files}
+%license LICENSE
+%doc AUTHORS CHANGELOG COPYRIGHT README.rst
 %{python_sitelib}/*
 %{_bindir}/netaddr-%{python_bin_suffix}
 %python_alternative %{_bindir}/netaddr
-%license LICENSE
-%doc AUTHORS CHANGELOG COPYRIGHT README.md
 
 %changelog

++++++ netaddr-0.7.19.tar.gz -> netaddr-0.8.0.tar.gz ++++++
++++ 386978 lines of diff (skipped)


Reply via email to