Hello community, here is the log from the commit of package python-ipaddress for openSUSE:Factory checked in at 2018-04-22 14:31:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ipaddress (Old) and /work/SRC/openSUSE:Factory/.python-ipaddress.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipaddress" Sun Apr 22 14:31:10 2018 rev:5 rq:597003 version:1.0.22 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ipaddress/python-ipaddress.changes 2018-02-16 21:39:09.835007512 +0100 +++ /work/SRC/openSUSE:Factory/.python-ipaddress.new/python-ipaddress.changes 2018-04-22 14:31:11.791300663 +0200 @@ -1,0 +2,11 @@ +Mon Apr 16 12:41:38 UTC 2018 - tchva...@suse.com + +- Install license file + +------------------------------------------------------------------- +Mon Apr 16 11:53:35 UTC 2018 - mich...@stroeder.com + +- update to version v1.0.22: + * Avoid using assertRaises as a context manager + +------------------------------------------------------------------- Old: ---- ipaddress-1.0.19.tar.gz New: ---- ipaddress-1.0.22.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ipaddress.spec ++++++ --- /var/tmp/diff_new_pack.7NBzD8/_old 2018-04-22 14:31:12.263283579 +0200 +++ /var/tmp/diff_new_pack.7NBzD8/_new 2018-04-22 14:31:12.267283435 +0200 @@ -17,25 +17,20 @@ Name: python-ipaddress -Version: 1.0.19 +Version: 1.0.22 Release: 0 Summary: Backport of the Python3 IPv4/IPv6 manipulation library to older Python versions License: Python-2.0 Group: Development/Languages/Python -Url: https://github.com/phihag/ipaddress -Source: https://pypi.io/packages/source/i/ipaddress/ipaddress-%{version}.tar.gz +URL: https://github.com/phihag/ipaddress +Source: https://files.pythonhosted.org/packages/source/i/ipaddress/ipaddress-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools Provides: python2-ipaddress -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif %description -Port of the 3.3+ ipaddress module to 2.6, 2.7, 3.2. +Backport of the Python 3.3+ IPv4/IPv6 manipulation library to older Python versions %prep %setup -q -n ipaddress-%{version} @@ -47,7 +42,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files -%defattr(-,root,root,-) +%license LICENSE %doc README.md README %{python_sitelib}/* ++++++ ipaddress-1.0.19.tar.gz -> ipaddress-1.0.22.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipaddress-1.0.19/Makefile new/ipaddress-1.0.22/Makefile --- old/ipaddress-1.0.19/Makefile 2017-12-16 22:30:38.000000000 +0100 +++ new/ipaddress-1.0.22/Makefile 2018-04-15 20:00:24.000000000 +0200 @@ -7,7 +7,18 @@ @(python --version 2>&1 | grep -q ' 2\.6\.') || flake8 ipaddress.py test_ipaddress.py pypi: - python setup.py sdist bdist upload + python setup.py sdist bdist_wheel upload + +release: + if test -z "${VERSION}"; then echo VERSION missing; exit 1; fi + sed -i "s#^\(__version__\s*=\s*'\)[^']*'\$$#\1${VERSION}'#" ipaddress.py + sed -i "s#^\(\s*'version':\s*'\)[^']*\('.*\)\$$#\1${VERSION}\2#" setup.py + git diff + git add ipaddress.py setup.py + git commit -m "release ${VERSION}" + git tag "v${VERSION}" + git push --tags + $(MAKE) pypi clean: rm -rf -- build dist ipaddress.egg-info diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipaddress-1.0.19/PKG-INFO new/ipaddress-1.0.22/PKG-INFO --- old/ipaddress-1.0.19/PKG-INFO 2017-12-16 22:30:40.000000000 +0100 +++ new/ipaddress-1.0.22/PKG-INFO 2018-04-15 20:00:46.000000000 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: ipaddress -Version: 1.0.19 +Version: 1.0.22 Summary: IPv4/IPv6 manipulation library Home-page: https://github.com/phihag/ipaddress Author: Philipp Hagemeister Author-email: phi...@phihag.de License: Python Software Foundation License -Description-Content-Type: UNKNOWN Description: Port of the 3.3+ ipaddress module to 2.6, 2.7, 3.2 Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipaddress-1.0.19/ipaddress.egg-info/PKG-INFO new/ipaddress-1.0.22/ipaddress.egg-info/PKG-INFO --- old/ipaddress-1.0.19/ipaddress.egg-info/PKG-INFO 2017-12-16 22:30:40.000000000 +0100 +++ new/ipaddress-1.0.22/ipaddress.egg-info/PKG-INFO 2018-04-15 20:00:46.000000000 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: ipaddress -Version: 1.0.19 +Version: 1.0.22 Summary: IPv4/IPv6 manipulation library Home-page: https://github.com/phihag/ipaddress Author: Philipp Hagemeister Author-email: phi...@phihag.de License: Python Software Foundation License -Description-Content-Type: UNKNOWN Description: Port of the 3.3+ ipaddress module to 2.6, 2.7, 3.2 Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipaddress-1.0.19/ipaddress.egg-info/SOURCES.txt new/ipaddress-1.0.22/ipaddress.egg-info/SOURCES.txt --- old/ipaddress-1.0.19/ipaddress.egg-info/SOURCES.txt 2017-12-16 22:30:40.000000000 +0100 +++ new/ipaddress-1.0.22/ipaddress.egg-info/SOURCES.txt 2018-04-15 20:00:46.000000000 +0200 @@ -4,6 +4,7 @@ README README.md ipaddress.py +setup.cfg setup.py test_ipaddress.py ipaddress.egg-info/PKG-INFO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipaddress-1.0.19/ipaddress.py new/ipaddress-1.0.22/ipaddress.py --- old/ipaddress-1.0.19/ipaddress.py 2017-12-16 22:18:15.000000000 +0100 +++ new/ipaddress-1.0.22/ipaddress.py 2018-04-15 20:00:41.000000000 +0200 @@ -14,7 +14,7 @@ import itertools import struct -__version__ = '1.0.19' +__version__ = '1.0.22' # Compatibility functions _compat_int_types = (int,) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipaddress-1.0.19/setup.cfg new/ipaddress-1.0.22/setup.cfg --- old/ipaddress-1.0.19/setup.cfg 2017-12-16 22:30:40.000000000 +0100 +++ new/ipaddress-1.0.22/setup.cfg 2018-04-15 20:00:46.000000000 +0200 @@ -1,3 +1,9 @@ +[bdist_wheel] +universal = 1 + +[metadata] +license_file = LICENSE + [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipaddress-1.0.19/setup.py new/ipaddress-1.0.22/setup.py --- old/ipaddress-1.0.19/setup.py 2017-12-16 22:18:58.000000000 +0100 +++ new/ipaddress-1.0.22/setup.py 2018-04-15 20:00:41.000000000 +0200 @@ -8,7 +8,7 @@ settings = { 'name': 'ipaddress', - 'version': '1.0.19', + 'version': '1.0.22', 'description': 'IPv4/IPv6 manipulation library', 'long_description': 'Port of the 3.3+ ipaddress module to 2.6, 2.7, 3.2', 'author': 'Philipp Hagemeister', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipaddress-1.0.19/test_ipaddress.py new/ipaddress-1.0.22/test_ipaddress.py --- old/ipaddress-1.0.19/test_ipaddress.py 2017-12-16 22:16:12.000000000 +0100 +++ new/ipaddress-1.0.22/test_ipaddress.py 2018-04-14 19:45:00.000000000 +0200 @@ -545,18 +545,26 @@ self.factory('10.0.0.0/30'))) def test_subnet_of_mixed_types(self): - with self.assertRaises(TypeError): - ipaddress.IPv4Network('10.0.0.0/30').supernet_of( - ipaddress.IPv6Network('::1/128')) - with self.assertRaises(TypeError): - ipaddress.IPv6Network('::1/128').supernet_of( - ipaddress.IPv4Network('10.0.0.0/30')) - with self.assertRaises(TypeError): - ipaddress.IPv4Network('10.0.0.0/30').subnet_of( - ipaddress.IPv6Network('::1/128')) - with self.assertRaises(TypeError): - ipaddress.IPv6Network('::1/128').subnet_of( - ipaddress.IPv4Network('10.0.0.0/30')) + self.assertRaises( + TypeError, + ipaddress.IPv4Network('10.0.0.0/30').supernet_of, + ipaddress.IPv6Network('::1/128'), + ) + self.assertRaises( + TypeError, + ipaddress.IPv6Network('::1/128').subnet_of, + ipaddress.IPv4Network('10.0.0.0/30'), + ) + self.assertRaises( + TypeError, + ipaddress.IPv4Network('10.0.0.0/30').subnet_of, + ipaddress.IPv6Network('::1/128'), + ) + self.assertRaises( + TypeError, + ipaddress.IPv6Network('::1/128').subnet_of, + ipaddress.IPv4Network('10.0.0.0/30'), + ) class NetmaskTestMixin_v6(CommonTestMixin_v6):