commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2020-10-29 09:47:14 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new.3463 (New) Package is "python-pyudev" Thu Oct 29 09:47:14 2020 rev:22 rq:840460 version:0.22.0 Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2020-03-08 22:21:41.099986669 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new.3463/python-pyudev.changes 2020-10-29 09:47:17.616111230 +0100 @@ -1,0 +2,7 @@ +Thu Oct 8 23:03:04 UTC 2020 - Matej Cepl + +- Add pytest_register_mark.patch to make the test suite at least + syntactically correct and skip over tests we cannot run because + of missing /dev gh#pyudev/pyudev#404. + +--- New: pytest_register_mark.patch Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.xBpUNG/_old 2020-10-29 09:47:18.256111835 +0100 +++ /var/tmp/diff_new_pack.xBpUNG/_new 2020-10-29 09:47:18.256111835 +0100 @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-pyudev Version:0.22.0 Release:0 @@ -26,22 +25,27 @@ Group: Development/Libraries/Python URL:http://pyudev.readthedocs.org/ Source0: https://files.pythonhosted.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz +# PATCH-FIX-UPSTREAM pytest_register_mark.patch gh#pyudev/pyudev#404 mc...@suse.com +# Add missing mark registration and register and use another mark +Patch0: pytest_register_mark.patch BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(udev) Requires: libudev1 Requires: python-six BuildArch: noarch -%if %{with test} +BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module docutils} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module mock} +BuildRequires: %{python_module pylint} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} -%endif +BuildRequires: %{python_module yapf} %ifpython2 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version} @@ -54,7 +58,8 @@ in modern linux systems. %prep -%setup -q -n pyudev-%{version} +%autosetup -p1 -n pyudev-%{version} + # Disable intersphinx and issuetracker, we don't want to access the web during doc build: sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py @@ -65,10 +70,9 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_expand nosetests-%{$python_bin_suffix} -%endif +# We don't have real /dev in osc build chroot gh#pyudev/pyudev#404 +%pytest -k 'not real_udev' %files %{python_files} %license COPYING ++ pytest_register_mark.patch ++ --- pytest.ini |5 - tests/_device_tests/_attributes_tests.py |1 + tests/_device_tests/_device_tests.py |1 + tests/_device_tests/_devices_tests.py|3 +++ tests/test_enumerate.py |8 +--- tests/test_util.py |2 ++ 6 files changed, 16 insertions(+), 4 deletions(-) --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,6 @@ -[tool:pytest] +[pytest] # do not search for tests in build directory norecursedirs = .* _* build +markers = +conversion +real_udev --- a/tests/_device_tests/_attributes_tests.py +++ b/tests/_device_tests/_attributes_tests.py @@ -124,6 +124,7 @@ class TestAttributes(object): with pytest.raises(ValueError): device.attributes.asbool(key) +@pytest.mark.real_udev @_UDEV_TEST(167, "test_available_attributes") @given(strategies.sampled_from(_DEVICES)) @settings(max_examples=5) --- a/tests/_device_tests/_devices_tests.py +++ b/tests/_device_tests/_devices_tests.py @@ -127,6 +127,7 @@ class TestDevices(object): assert error.subsystem == 'no_such_subsystem' assert error.sys_name == 'foobar' +@pytest.mark.real_udev @failed_health_check_wrapper @given( _CONTEXT_STRATEGY, @@ -142,6 +143,7 @@ class TestDevices(object): Devices.from_device_number(a_context, typ, a_device.device_number) assert a_device == device +@pytest.mark.real_udev @failed_health_check_wrapper @given( _CONTEXT_
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2020-03-08 22:21:36 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new.26092 (New) Package is "python-pyudev" Sun Mar 8 22:21:36 2020 rev:21 rq:780386 version:0.22.0 Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2018-12-27 00:28:10.299722996 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new.26092/python-pyudev.changes 2020-03-08 22:21:41.099986669 +0100 @@ -1,0 +2,12 @@ +Fri Feb 28 21:38:51 UTC 2020 - Dirk Mueller + +- update to 0.22.0: + - Add a six-enabled move for collections move imports: +https://github.com/pyudev/pyudev/pull/386 + - Fix any newly introduced pylint errors + - Numerous improvements or updates to the test infrastructure + - A number of test updates + - Require yapf 0.21.0 for Python formatting + - Various documentation fixes and updates + +--- Old: pyudev-0.21.0.tar.gz New: pyudev-0.22.0.tar.gz Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.033tmF/_old 2020-03-08 22:21:41.503986918 +0100 +++ /var/tmp/diff_new_pack.033tmF/_new 2020-03-08 22:21:41.507986920 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyudev # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_with test Name: python-pyudev -Version:0.21.0 +Version:0.22.0 Release:0 Summary:Udev bindings for Python License:LGPL-2.1-or-later @@ -40,6 +40,7 @@ BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six} %endif %ifpython2 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) ++ pyudev-0.21.0.tar.gz -> pyudev-0.22.0.tar.gz ++ 5174 lines of diff (skipped)
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2018-12-27 00:28:09 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new.28833 (New) Package is "python-pyudev" Thu Dec 27 00:28:09 2018 rev:20 rq:659626 version:0.21.0 Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2018-02-03 15:35:46.560222154 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new.28833/python-pyudev.changes 2018-12-27 00:28:10.299722996 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:53:19 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.mbge1W/_old 2018-12-27 00:28:10.719722652 +0100 +++ /var/tmp/diff_new_pack.mbge1W/_new 2018-12-27 00:28:10.723722649 +0100 @@ -12,7 +12,7 @@ # 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/ # @@ -22,31 +22,30 @@ Version:0.21.0 Release:0 Summary:Udev bindings for Python -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: Development/Libraries/Python -Url:http://pyudev.readthedocs.org/ +URL:http://pyudev.readthedocs.org/ 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: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libudev) +Requires: libudev1 +Requires: python-six +BuildArch: noarch %if %{with test} BuildRequires: %{python_module docutils} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} %endif -Requires: libudev1 -Requires: python-six %ifpython2 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version} Obsoletes: pyudev < %{version} %endif -BuildArch: noarch - %python_subpackages %description @@ -71,8 +70,8 @@ %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst COPYING README.rst +%license COPYING +%doc CHANGES.rst README.rst %{python_sitelib}/* %changelog
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2018-02-03 15:35:45 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev" Sat Feb 3 15:35:45 2018 rev:19 rq:570868 version:0.21.0 Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2018-01-26 13:37:33.938714074 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2018-02-03 15:35:46.560222154 +0100 @@ -1,0 +2,5 @@ +Tue Jan 30 08:07:41 UTC 2018 - mimi...@gmail.com + +- fix Requires and BuiildRequires + +--- Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.ItMZgh/_old 2018-02-03 15:35:47.096197119 +0100 +++ /var/tmp/diff_new_pack.ItMZgh/_new 2018-02-03 15:35:47.096197119 +0100 @@ -36,13 +36,10 @@ BuildRequires: %{python_module docutils} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module py} %endif +Requires: libudev1 Requires: python-six -Requires: udev -Requires: pkgconfig(libudev) %ifpython2 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version}
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2018-01-26 13:37:33 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev" Fri Jan 26 13:37:33 2018 rev:18 rq:568741 version:0.21.0 Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2017-09-07 22:08:57.906907892 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2018-01-26 13:37:33.938714074 +0100 @@ -1,0 +2,7 @@ +Tue Jan 23 17:35:31 UTC 2018 - tbecht...@suse.com + +- Require libudev (bsc#1077282) + Otherwise, an pyudev import fails with: + ImportError: No library named udev + +--- Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.rI9etW/_old 2018-01-26 13:37:34.870670547 +0100 +++ /var/tmp/diff_new_pack.rI9etW/_new 2018-01-26 13:37:34.870670547 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyudev # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -30,19 +30,19 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes -BuildRequires: libudev-devel -BuildRequires: libudev1 BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(libudev) %if %{with test} BuildRequires: %{python_module docutils} -BuildRequires: %{python_module mock} BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} %endif -Requires: udev Requires: python-six +Requires: udev +Requires: pkgconfig(libudev) %ifpython2 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version}
commit python-pyudev for openSUSE:Factory
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.0 +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)
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2016-05-26 23:53:31 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev" Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2015-09-30 05:51:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2016-05-26 23:53:32.0 +0200 @@ -1,0 +2,43 @@ +Mon May 23 16:12:57 UTC 2016 - tbecht...@suse.com + +- Remove do_not_install_tests.patch +- Require python-six + +--- +Mon May 23 14:49:16 UTC 2016 - tbecht...@suse.com + +- update to 0.20.0: + * Remove parsing code added in previous release. + * No longer do CI for Python 2.6. + * Eliminate all wildcard imports and __all__ statements. + * No longer use deprecated Device.from_sys_path() method. + * Minor pylint induced changes. + * Documentation fixes. + * Restore raising KeyError by Attributes.as* methods when attribute not found. + * Explicitly require six module. + * Never raise a DeviceNotFoundError when iterating over a device enumeration. + * Device.subsystem() now returns None if device has no subsystem. + * Add DeprecationWarnings to deprecated Device methods. + * Replace "/" with "!" in Device.from_name() sys_name parameter. + * Add some unstable classes for parsing some kinds of values. + * Make version info more like Python's including micro numbers and levels. + * Refactor some internal modules into subdirectories. + * Work on tests and reproducers. + * DeviceNotFoundError is no longer a subtype of LookupError + * Added support for pyqt5 monitor observer + * Added discover module, which looks up a device on limited information + * Attributes class no longer extends Mapping, extends object instead + * Attributes class no longer inherits [] operator, Mapping methods + * Attributes class objects are no longer iterable + * Attributes.available_attributes property added + * Attributes.get() method, with usual semantics, defined + * Device.from_* methods are deprecated, uses Devices.from_* methods instead + * Device.from_device_file() now raises DeviceNotFoundByFileError + * Device.from_device_number() now raises DeviceNotFoundByNumberError + * Devices.from_interface_index() method added + * Devices.from_kernel_device() method added + * Numerous testing infrastructure changes +- Remove do_not_install_tests.patch . No longer needed. +- Require libudev1 . Needed to use python-pyudev + +--- Old: do_not_install_tests.patch pyudev-0.17.tar.gz New: pyudev-0.20.0.tar.gz Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.1OLCAX/_old 2016-05-26 23:53:33.0 +0200 +++ /var/tmp/diff_new_pack.1OLCAX/_new 2016-05-26 23:53:33.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyudev # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,16 +17,15 @@ Name: python-pyudev -Version:0.17 +Version:0.20.0 Release:0 Summary:Udev bindings for Python License:LGPL-2.1+ Group: Development/Libraries/Python Url:http://pyudev.readthedocs.org/ -Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz -# PATCH-FIX-OPENSUSE do_not_install_tests.patch asterios.dra...@gmail.com -- Do not install the tests as a module -Patch0: do_not_install_tests.patch +Source0: https://pypi.python.org/packages/78/6a/2fc9ed0ffbcdb480a026274ca221b959de6c549a67753ff4b3c790db0d8a/pyudev-%{version}.tar.gz BuildRequires: libudev-devel +BuildRequires: libudev1 BuildRequires: python-Sphinx BuildRequires: python-devel BuildRequires: python-setuptools @@ -35,6 +34,8 @@ BuildRequires: python-nose BuildRequires: python-py BuildRequires: python-pytest +Requires: libudev1 +Requires: python-six # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version} Obsoletes: pyudev < %{version} @@ -51,13 +52,12 @@ %prep %setup -q -n pyudev-%{version} -%patch0 -p1 # Disable intersphinx and issuetracker, we don't want to access the web during doc build: sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py %build py
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2015-09-30 05:51:34 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev" Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2013-10-25 11:30:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2015-09-30 05:51:36.0 +0200 @@ -1,0 +2,29 @@ +Wed Sep 23 18:44:41 UTC 2015 - asterios.dra...@gmail.com + +- Added a patch (do_not_install_tests.patch) to not install the + tests as a module (not needed). Fixes also file conflicts in + Factory. + +--- +Tue Sep 15 05:47:44 UTC 2015 - h...@urpla.net + +- Update to version 0.17: + * #52: Remove global libudev object + * #57: Really start the monitor on :meth:`pyudev.Monitor.poll()` + * #60: Do not use :meth:`select.select` to avoid hitting its file descriptor +limit + * #58: Force non-blocking IO in :class:`pyudev.Monitor` to avoid blocking on +receiving the device + * #63: Set proper flags on pipe fds. + * #65: Handle irregular polling events properly. + * #50: Add :class:`pyudev.wx.MonitorObserver` and deprecate +:class:`pyudev.wx.WxUDevMonitorObserver` + * #50: Add :class:`pyudev.glib.MonitorObserver` and deprecate +:class:`pyudev.glib.GUDevMonitorObserver` + * #50: Add :class:`pyudev.pyqt4.MonitorObserver` and deprecate +:class:`pyudev.pyqt4.QUDevMonitorObserver` + * #50: Add :class:`pyudev.pyside.MonitorObserver` and deprecate +:class:`pyudev.pyside.QUDevMonitorObserver` + * Add a wrapper function to retry interruptible system calls. + +--- Old: pyudev-0.16.1.tar.gz New: do_not_install_tests.patch pyudev-0.17.tar.gz Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.NC9BEX/_old 2015-09-30 05:51:37.0 +0200 +++ /var/tmp/diff_new_pack.NC9BEX/_new 2015-09-30 05:51:37.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyudev # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,13 +17,15 @@ Name: python-pyudev -Version:0.16.1 +Version:0.17 Release:0 Summary:Udev bindings for Python License:LGPL-2.1+ Group: Development/Libraries/Python Url:http://pyudev.readthedocs.org/ Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz +# PATCH-FIX-OPENSUSE do_not_install_tests.patch asterios.dra...@gmail.com -- Do not install the tests as a module +Patch0: do_not_install_tests.patch BuildRequires: libudev-devel BuildRequires: python-Sphinx BuildRequires: python-devel @@ -49,6 +51,7 @@ %prep %setup -q -n pyudev-%{version} +%patch0 -p1 # Disable intersphinx and issuetracker, we don't want to access the web during doc build: sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py ++ do_not_install_tests.patch ++ --- setup.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: pyudev-0.17/setup.py === --- pyudev-0.17.orig/setup.py +++ pyudev-0.17/setup.py @@ -52,5 +52,5 @@ setuptools.setup( 'Topic :: System :: Hardware', 'Topic :: System :: Operating System Kernels :: Linux', ], -packages=setuptools.find_packages(), +packages=setuptools.find_packages(exclude=['tests.*', 'tests']), ) ++ pyudev-0.16.1.tar.gz -> pyudev-0.17.tar.gz ++ 6891 lines of diff (skipped)
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2013-10-25 11:30:41 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev" Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2012-11-28 14:34:39.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2013-10-25 11:30:43.0 +0200 @@ -1,0 +2,5 @@ +Thu Oct 24 11:12:59 UTC 2013 - speili...@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +--- Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.BAgqP6/_old 2013-10-25 11:30:44.0 +0200 +++ /var/tmp/diff_new_pack.BAgqP6/_new 2013-10-25 11:30:44.0 +0200 @@ -27,7 +27,7 @@ BuildRequires: libudev-devel BuildRequires: python-Sphinx BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-setuptools # Testsuite BuildRequires: BuildRequires: python-mock BuildRequires: python-nose -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2013-06-19 15:52:13 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev" Changes: Old: python3-pyudev.changes python3-pyudev.spec Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.Z50DlT/_old 2013-06-19 15:54:38.0 +0200 +++ /var/tmp/diff_new_pack.Z50DlT/_new 2013-06-19 15:54:38.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyudev # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2012-11-28 14:34:38 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2012-11-21 17:06:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2012-11-28 14:34:39.0 +0100 @@ -1,0 +2,6 @@ +Tue Nov 20 11:14:36 UTC 2012 - sasc...@suse.de + +- Build HTML documentation +- Fix SLE_11_SP2 build (not noarch) + +--- --- /work/SRC/openSUSE:Factory/python-pyudev/python3-pyudev.changes 2012-11-21 17:06:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python3-pyudev.changes 2012-11-28 14:34:39.0 +0100 @@ -1,0 +2,6 @@ +Tue Nov 20 11:15:39 UTC 2012 - sasc...@suse.de + +- Build HTML documentation, but disable due to python3-Sphinx error +- No need to require a specific Python ABI version, RPM does that + +--- Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.F6Rigr/_old 2012-11-28 14:34:40.0 +0100 +++ /var/tmp/diff_new_pack.F6Rigr/_new 2012-11-28 14:34:40.0 +0100 @@ -25,14 +25,23 @@ Url:http://pyudev.readthedocs.org/ Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz BuildRequires: libudev-devel +BuildRequires: python-Sphinx BuildRequires: python-devel BuildRequires: python-distribute -%{py_requires} +# Testsuite BuildRequires: +BuildRequires: python-mock +BuildRequires: python-nose +BuildRequires: python-py +BuildRequires: python-pytest # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version} Obsoletes: pyudev < %{version} -BuildArch: noarch 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 A Python binding to libudev, the hardware management library and service found @@ -40,16 +49,24 @@ %prep %setup -q -n pyudev-%{version} +# Disable intersphinx and issuetracker, we don't want to access the web during doc build: +sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py %build python setup.py build +python setup.py build_sphinx +rm build/sphinx/html/.buildinfo %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +#TODO: fix +#%%check +#nosetests -%files -f INSTALLED_FILES +%files %defattr(-,root,root,-) -%doc CHANGES.rst COPYING README.rst -%doc doc/guide.rst doc/index.rst +%doc CHANGES.rst COPYING README.rst build/sphinx/html/ +%{python_sitelib}/* %changelog ++ python3-pyudev.spec ++ --- /var/tmp/diff_new_pack.F6Rigr/_old 2012-11-28 14:34:40.0 +0100 +++ /var/tmp/diff_new_pack.F6Rigr/_new 2012-11-28 14:34:40.0 +0100 @@ -25,9 +25,10 @@ Url:http://pyudev.readthedocs.org/ Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz BuildRequires: libudev-devel +BuildRequires: python3-2to3 +BuildRequires: python3-Sphinx BuildRequires: python3-devel BuildRequires: python3-distribute -Requires: python(abi) = %{py3_ver} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,9 +38,13 @@ %prep %setup -q -n pyudev-%{version} +# Disable intersphinx and issuetracker, we don't want to access the web during doc build: +sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py %build python3 setup.py build +#python3 setup.py build_sphinx +#rm build/sphinx/html/.buildinfo %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -47,7 +52,7 @@ %files %defattr(-,root,root,-) %doc CHANGES.rst COPYING README.rst -%doc doc/guide.rst doc/index.rst +#build/sphinx/html/ %{python3_sitelib}/pyudev-*.egg-info/ %{python3_sitelib}/pyudev/ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2012-11-21 17:06:33 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2012-03-12 20:16:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2012-11-21 17:06:36.0 +0100 @@ -1,0 +2,34 @@ +Sun Nov 18 19:40:16 UTC 2012 - asterios.dra...@gmail.com + +- Update to version 0.16.1: + * #53: Fix source distribution + * #54: Fix typo in test + From version 0.16: + * Remove :meth:`pyudev.Monitor.from_socket`. + * Deprecate :meth:`pyudev.Device.traverse()` in favor of +:attr:`pyudev.Device.ancestors`. + * #47: Deprecate :meth:`pyudev.Monitor.receive_device` in favor of +:attr:`pyudev.Monitor.poll`. + * #47: Deprecate :attr:`pyudev.Monitor.enable_receiving` in favor of +:attr:`pyudev.Monitor.start`. + * #47: Deprecate :attr:`pyudev.Monitor.__iter__` in favor of explicit looping +or :class:`pyudev.MonitorObserver`. + * #49: Deprecate ``event_handler`` to :class:`pyudev.MonitorObserver` in +favour of ``callback`` argument. + * #46: Continuously test pyudev on Travis-CI. + * Add :attr:`pyudev.Device.ancestors`. + * Add :attr:`pyudev.Device.action`. + * #10: Add :attr:`pyudev.Device.sequence_number`. + * #47: Add :meth:`pyudev.Monitor.poll`. + * #47: Add :attr:`pyudev.Monitor.started`. + * #49: Add ``callback`` argument to :class:`pyudev.Monitor`. + * :meth:`pyudev.Monitor.start` can be called repeatedly. + * #45: Get rid of 2to3 + * #43: Fix test failures on Python 2.6 + * Fix signature in declaration of ``udev_monitor_set_receive_buffer_size``. + * #44: Test wrapped signatures with help of ``gccxml``. + * Fix compatibility with udev 183 and newer in :class:`pyudev.Context`. + * :meth:`pyudev.MonitorObserver.stop` can be called from the observer thread. +- Removed python-setuptools and added python-distribute as build requirement. + +--- New Changes file: --- /dev/null 2012-10-22 00:44:18.403455820 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python3-pyudev.changes 2012-11-21 17:06:36.0 +0100 @@ -0,0 +1,120 @@ +--- +Sun Nov 18 19:40:16 UTC 2012 - asterios.dra...@gmail.com + +- Update to version 0.16.1: + * #53: Fix source distribution + * #54: Fix typo in test + From version 0.16: + * Remove :meth:`pyudev.Monitor.from_socket`. + * Deprecate :meth:`pyudev.Device.traverse()` in favor of +:attr:`pyudev.Device.ancestors`. + * #47: Deprecate :meth:`pyudev.Monitor.receive_device` in favor of +:attr:`pyudev.Monitor.poll`. + * #47: Deprecate :attr:`pyudev.Monitor.enable_receiving` in favor of +:attr:`pyudev.Monitor.start`. + * #47: Deprecate :attr:`pyudev.Monitor.__iter__` in favor of explicit looping +or :class:`pyudev.MonitorObserver`. + * #49: Deprecate ``event_handler`` to :class:`pyudev.MonitorObserver` in +favour of ``callback`` argument. + * #46: Continuously test pyudev on Travis-CI. + * Add :attr:`pyudev.Device.ancestors`. + * Add :attr:`pyudev.Device.action`. + * #10: Add :attr:`pyudev.Device.sequence_number`. + * #47: Add :meth:`pyudev.Monitor.poll`. + * #47: Add :attr:`pyudev.Monitor.started`. + * #49: Add ``callback`` argument to :class:`pyudev.Monitor`. + * :meth:`pyudev.Monitor.start` can be called repeatedly. + * #45: Get rid of 2to3 + * #43: Fix test failures on Python 2.6 + * Fix signature in declaration of ``udev_monitor_set_receive_buffer_size``. + * #44: Test wrapped signatures with help of ``gccxml``. + * Fix compatibility with udev 183 and newer in :class:`pyudev.Context`. + * :meth:`pyudev.MonitorObserver.stop` can be called from the observer thread. +- Removed python-setuptools and added python-distribute as build requirement. + +--- +Sat Mar 10 19:20:03 UTC 2012 - asterios.dra...@gmail.com + +- Update to version 0.15: + * #20: :meth:`pyudev.Monitor.filter_by()` and +:meth:`pyudev.Monitor.filter_by_tag()` can be called after +:meth:`pyudev.Monitor.enable_receiving()` now + * #20: Added :meth:`~pyudev.Monitor.remove_filter()` + * :class:`pyudev.MonitorObserver` calls +:meth:`pyudev.Monitor.enable_receiving()` now when started. + * #40: Added user guide to the documentation + * #39: Added :meth:`pyudev.Device.from_device_file()` + * :data:`errno.EINVAL` from underlying libudev functions causes +:exc:`~exceptions.ValueError` instead of +:exc:`~exceptions.EnvironmentError` now. + +
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2012-03-12 20:16:22 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2012-02-22 15:54:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2012-03-12 20:16:47.0 +0100 @@ -1,0 +2,16 @@ +Sat Mar 10 19:20:03 UTC 2012 - asterios.dra...@gmail.com + +- Update to version 0.15: + * #20: :meth:`pyudev.Monitor.filter_by()` and +:meth:`pyudev.Monitor.filter_by_tag()` can be called after +:meth:`pyudev.Monitor.enable_receiving()` now + * #20: Added :meth:`~pyudev.Monitor.remove_filter()` + * :class:`pyudev.MonitorObserver` calls +:meth:`pyudev.Monitor.enable_receiving()` now when started. + * #40: Added user guide to the documentation + * #39: Added :meth:`pyudev.Device.from_device_file()` + * :data:`errno.EINVAL` from underlying libudev functions causes +:exc:`~exceptions.ValueError` instead of +:exc:`~exceptions.EnvironmentError` now. + +--- Old: pyudev-0.14.tar.gz New: pyudev-0.15.tar.gz Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.Vx7Df7/_old 2012-03-12 20:16:50.0 +0100 +++ /var/tmp/diff_new_pack.Vx7Df7/_new 2012-03-12 20:16:50.0 +0100 @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-pyudev -Version:0.14 +Version:0.15 Release:0 -License:LGPL-2.1+ Summary:Udev bindings for Python -Url:http://pyudev.readthedocs.org/ +License:LGPL-2.1+ Group: Development/Libraries/Python +Url:http://pyudev.readthedocs.org/ Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz BuildRequires: libudev-devel BuildRequires: python-devel @@ -49,6 +50,6 @@ %files -f INSTALLED_FILES %defattr(-,root,root,-) %doc CHANGES.rst COPYING README.rst -%doc doc/ +%doc doc/guide.rst doc/index.rst %changelog ++ pyudev-0.14.tar.gz -> pyudev-0.15.tar.gz ++ 2871 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at 2011-11-07 17:25:06 Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old) and /work/SRC/openSUSE:Factory/.python-pyudev.new (New) Package is "python-pyudev", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes 2011-09-23 12:43:11.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyudev.new/python-pyudev.changes 2011-11-07 17:25:09.0 +0100 @@ -1,0 +2,16 @@ +Sun Nov 6 13:37:02 UTC 2011 - asterios.dra...@gmail.com + +- Update to version 0.13: + * #36: Added :meth:`pyudev.Monitor.set_receive_buffer_size` (thanks to Rémi +Rérolle) + * #34: :class:`pyudev.Device.tags` returns a :class:`pyudev.Tags` object now + * Added :meth:`pyudev.Enumerator.match_parent` + * Added ``parent`` keyword argument to :meth:`pyudev.Enumerator.match()` + * Removed :meth:`pyudev.Enumerator.match_children` in favour of +:meth:`pyudev.Enumerator.match_parent` + * :attr:`pyudev.Device.children` requires udev version 172 now + * #31: Added :meth:`pyudev.Enumerator.match_attribute` + * Added ``nomatch`` argument to :meth:`pyudev.Enumerator.match_subsystem` and +:meth:`pyudev.Enumerator.match_attribute` + +--- Old: pyudev-0.12.tar.gz New: pyudev-0.13.tar.gz Other differences: -- ++ python-pyudev.spec ++ --- /var/tmp/diff_new_pack.0R2blD/_old 2011-11-07 17:25:10.0 +0100 +++ /var/tmp/diff_new_pack.0R2blD/_new 2011-11-07 17:25:10.0 +0100 @@ -15,11 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: python-pyudev -Version:0.12 +Version:0.13 Release:1 License:LGPL-2.1+ Summary:Udev bindings for Python ++ pyudev-0.12.tar.gz -> pyudev-0.13.tar.gz ++ 2062 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-pyudev for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyudev for openSUSE:Factory checked in at Mon Sep 5 17:03:58 CEST 2011. New Changes file: --- /dev/null 2010-08-26 16:28:41.0 +0200 +++ python-pyudev/python-pyudev.changes 2011-08-31 22:44:58.0 +0200 @@ -0,0 +1,43 @@ +--- +Wed Aug 31 20:43:18 UTC 2011 - asterios.dra...@gmail.com + +- Update to version 0.12: + * #32: Fixed memory leak + * #33: Fixed Python 3 support for :mod:`pyudev.glib` + * Fixed license header in :mod:`pyudev._compat` +- Spec file updates. + * Changed License: to LGPL-2.1+. + * Minor other updates. + +--- +Sun Aug 28 19:28:06 UTC 2011 - asterios.dra...@gmail.com + +- Update to version 0.11: + * #30: Added :attr:`pyudev.Device.sys_number` + * #29: Added :meth:`pyudev.Device.from_device_number` and +:attr:`pyudev.Device.device_number` + * Officially support PyPy now + From 0.10: + * Added :attr:`pyudev.__version_info__` + * Added :attr:`pyudev.Device.device_type` + * :class:`pyudev.Context`, :class:`pyudev.Enumerator`, :class:`pyudev.Device` +and :class:`pyudev.Monitor` can now directly be passed to +:mod:`ctypes`-wrapped functions + * #24: Added :attr:`pyudev.Context.run_path` + From 0.9: + * #21: Added :meth:`pyudev.Device.find_parent` + * #22: Added :meth:`pyudev.Monitor.filter_by_tag` + * Added :attr:`pyudev.Context.log_priority` to control internal UDev logging + * Improve error reporting, if libudev is missing +- Spec file updates: + * Changed package name to python-pyudev. + * Changed License: to LGPL-2.1. + * Updated Url:. + * Added Provides/Obsoletes entries for pyudev. + * Build the package as noarch. + * Minor other updates. + +--- +Tue Feb 8 13:18:25 UTC 2011 - tittiatc...@gmail.com + +- Initial Package (version 0.8). calling whatdependson for head-i586 New: python-pyudev.changes python-pyudev.spec pyudev-0.12.tar.gz Other differences: -- ++ python-pyudev.spec ++ # # spec file for package python-pyudev # # Copyright (c) 2011 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # # norootforbuild Name: python-pyudev Version:0.12 Release:1 License:LGPL-2.1+ Summary:Udev bindings for Python Url:http://packages.python.org/pyudev/ Group: Development/Libraries/Python Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz BuildRequires: libudev-devel BuildRequires: python-devel BuildRequires: python-setuptools %{py_requires} # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version} Obsoletes: pyudev < %{version} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A Python binding to libudev, the hardware management library and service found in modern linux systems. %prep %setup -q -n pyudev-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root,-) %doc CHANGES.rst COPYING README.rst %doc doc/ %changelog Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org