Hello community, here is the log from the commit of package python-iwlib for openSUSE:Factory checked in at 2019-05-15 12:34:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-iwlib (Old) and /work/SRC/openSUSE:Factory/.python-iwlib.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-iwlib" Wed May 15 12:34:02 2019 rev:2 rq:702835 version:1.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-iwlib/python-iwlib.changes 2018-03-11 15:24:00.701883445 +0100 +++ /work/SRC/openSUSE:Factory/.python-iwlib.new.5148/python-iwlib.changes 2019-05-15 12:34:03.508591879 +0200 @@ -1,0 +2,12 @@ +Tue May 14 11:42:59 UTC 2019 - Petr Cervinka <p...@cervinka.net> + +- Update to 1.6.2 + * Added support for Python 3 (via migration to CFFI) + * Remove stub test build library from WIP testing code. +- Run spec-cleaner +- Migrated test execution to pytest +- Applied workaround for PYTHONPATH issue in python-rpm-macros +- Removed service files +- Migrated source url from GitHub to PyPI + +------------------------------------------------------------------- Old: ---- _service _servicedata python-iwlib-1.5+20170811.73b7fd2.tar.xz New: ---- iwlib-1.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-iwlib.spec ++++++ --- /var/tmp/diff_new_pack.1ly6Q6/_old 2019-05-15 12:34:04.292589621 +0200 +++ /var/tmp/diff_new_pack.1ly6Q6/_new 2019-05-15 12:34:04.292589621 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-iwlib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-iwlib -Version: 1.5+20170811.73b7fd2 +Version: 1.6.2 Release: 0 Summary: Python module to interface with iwlib License: GPL-2.0-only Group: Development/Languages/Python URL: https://github.com/nathan-hoad/python-iwlib -Source: python-iwlib-%{version}.tar.xz +Source: https://files.pythonhosted.org/packages/source/i/iwlib/iwlib-%{version}.tar.gz +BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module cffi} BuildRequires: fdupes BuildRequires: libiw-devel BuildRequires: python-rpm-macros @@ -42,10 +43,9 @@ back from a device. %prep -%setup -q -n python-iwlib-%{version} +%setup -q -n iwlib-%{version} %build -export CFLAGS="%{optflags}" %python_build %install @@ -53,7 +53,9 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +# Fix for https://github.com/openSUSE/python-rpm-macros/issues/31 +PYTHONPATH=FIX-ME +%pytest_arch %files %{python_files} %license COPYING