From db0e863b55d6cbf72fbc939ff3ab3c7712be58562118768e9c7f997ec308940c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 20 Nov 2012 08:36:18 +0000 Subject: [PATCH] Accepting request 141969 from home:adra:branches:devel:languages:python Update to version 0.16.1, Removed python-setuptools and added python-distribute as build requirement, Added python3-pyudev package OBS-URL: https://build.opensuse.org/request/show/141969 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=10 --- python-pyudev.changes | 34 ++++++++++++ python-pyudev.spec | 4 +- python3-pyudev.changes | 120 +++++++++++++++++++++++++++++++++++++++++ python3-pyudev.spec | 54 +++++++++++++++++++ pyudev-0.15.tar.gz | 3 -- pyudev-0.16.1.tar.gz | 3 ++ 6 files changed, 213 insertions(+), 5 deletions(-) create mode 100644 python3-pyudev.changes create mode 100644 python3-pyudev.spec delete mode 100644 pyudev-0.15.tar.gz create mode 100644 pyudev-0.16.1.tar.gz diff --git a/python-pyudev.changes b/python-pyudev.changes index 3e6fc9c..cf17d10 100644 --- a/python-pyudev.changes +++ b/python-pyudev.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Sun Nov 18 19:40:16 UTC 2012 - asterios.dramis@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.dramis@gmail.com diff --git a/python-pyudev.spec b/python-pyudev.spec index 27c4c83..addf9d0 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -17,7 +17,7 @@ Name: python-pyudev -Version: 0.15 +Version: 0.16.1 Release: 0 Summary: Udev bindings for Python License: LGPL-2.1+ @@ -26,7 +26,7 @@ Url: http://pyudev.readthedocs.org/ Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz BuildRequires: libudev-devel BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-distribute %{py_requires} # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version} diff --git a/python3-pyudev.changes b/python3-pyudev.changes new file mode 100644 index 0000000..cf17d10 --- /dev/null +++ b/python3-pyudev.changes @@ -0,0 +1,120 @@ +------------------------------------------------------------------- +Sun Nov 18 19:40:16 UTC 2012 - asterios.dramis@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.dramis@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. + +------------------------------------------------------------------- +Sat Feb 18 16:21:43 UTC 2012 - asterios.dramis@gmail.com + +- Update to version 0.14: + * Documentation now hosted at http://pyudev.readthedocs.org + * #37: Added :class:`pyudev.wx.WxUDevMonitorObserver` for wxPython + * Added :class:`pyudev.MonitorObserver` + * Added :attr:`pyudev.glib.GUDevMonitorObserver.enabled`, + :attr:`pyudev.pyqt4.QUDevMonitorObserver.enabled` and + :attr:`pyudev.pyside.QUDevMonitorObserver.enabled` + +------------------------------------------------------------------- +Sun Nov 6 13:37:02 UTC 2011 - asterios.dramis@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` + +------------------------------------------------------------------- +Wed Aug 31 20:43:18 UTC 2011 - asterios.dramis@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.dramis@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 - tittiatcoke@gmail.com + +- Initial Package (version 0.8). diff --git a/python3-pyudev.spec b/python3-pyudev.spec new file mode 100644 index 0000000..c25739c --- /dev/null +++ b/python3-pyudev.spec @@ -0,0 +1,54 @@ +# +# spec file for package python3-pyudev +# +# Copyright (c) 2012 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/ +# + + +Name: python3-pyudev +Version: 0.16.1 +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 +BuildRequires: libudev-devel +BuildRequires: python3-devel +BuildRequires: python3-distribute +Requires: python(abi) = %{py3_ver} +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 +python3 setup.py build + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc CHANGES.rst COPYING README.rst +%doc doc/guide.rst doc/index.rst +%{python3_sitelib}/pyudev-*.egg-info/ +%{python3_sitelib}/pyudev/ + +%changelog diff --git a/pyudev-0.15.tar.gz b/pyudev-0.15.tar.gz deleted file mode 100644 index 4b359af..0000000 --- a/pyudev-0.15.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12f462b777388c447edaac9e4b423a38a76eeb43f36b1a42288e771309d663c2 -size 72719 diff --git a/pyudev-0.16.1.tar.gz b/pyudev-0.16.1.tar.gz new file mode 100644 index 0000000..7ac9a32 --- /dev/null +++ b/pyudev-0.16.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:765d1c14bd9bd031f64e2612225621984cb2bbb8cbc0c03538bcc4c735ff1c95 +size 74953