Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2017-09-07 22:08:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyudev.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyudev"

Thu Sep  7 22:08:53 2017 rev:17 rq:520040 version:0.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes      
2016-05-26 23:53:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 
2017-09-07 22:08:57.906907892 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:52:57 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -203,0 +209 @@
+

Old:
----
  pyudev-0.20.0.tar.gz

New:
----
  pyudev-0.21.0.tar.gz

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

Other differences:
------------------
++++++ python-pyudev.spec ++++++
--- /var/tmp/diff_new_pack.7XGQjw/_old  2017-09-07 22:09:02.010329499 +0200
+++ /var/tmp/diff_new_pack.7XGQjw/_new  2017-09-07 22:09:02.014328935 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyudev
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,35 +16,41 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_with     test
 Name:           python-pyudev
-Version:        0.20.0
+Version:        0.21.0
 Release:        0
 Summary:        Udev bindings for Python
 License:        LGPL-2.1+
 Group:          Development/Libraries/Python
 Url:            http://pyudev.readthedocs.org/
-Source0:        
https://pypi.python.org/packages/78/6a/2fc9ed0ffbcdb480a026274ca221b959de6c549a67753ff4b3c790db0d8a/pyudev-%{version}.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+BuildRequires:  fdupes
 BuildRequires:  libudev-devel
 BuildRequires:  libudev1
-BuildRequires:  python-Sphinx
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-# Testsuite BuildRequires:
-BuildRequires:  python-mock
-BuildRequires:  python-nose
-BuildRequires:  python-py
-BuildRequires:  python-pytest
-Requires:       libudev1
+BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module docutils}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module py}
+%endif
+Requires:       udev
 Requires:       python-six
+%ifpython2
 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8)
 Provides:       pyudev = %{version}
 Obsoletes:      pyudev < %{version}
-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
+BuildArch:      noarch
+
+%python_subpackages
 
 %description
 A Python binding to libudev, the hardware management library and service found
@@ -56,20 +62,20 @@
 sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e 
"s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py
 
 %build
-python setup.py build
-PYTHONPATH=src/ python setup.py build_sphinx
-rm build/sphinx/html/.buildinfo
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-#TODO: fix
-#%%check
-#nosetests
+%if %{with test}
+%check
+%python_expand nosetests-%{$python_bin_suffix}
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc CHANGES.rst COPYING README.rst build/sphinx/html/
+%doc CHANGES.rst COPYING README.rst
 %{python_sitelib}/*
 
 %changelog

++++++ pyudev-0.20.0.tar.gz -> pyudev-0.21.0.tar.gz ++++++
++++ 3418 lines of diff (skipped)


Reply via email to