commit cb2144dfa3062bc3c20b9d0200502b2655492799250c0d1ae749cf225aa0ebb6 Author: Sascha Peilicke Date: Mon Aug 29 07:24:15 2011 +0000 Accepting request 79981 from home:adra:branches:KDE:Unstable:Playground New package submission: python-pyudev, Udev bindings for Python - python-pyudev is needed by newer versions of synaptiks package - Based on package from KDE:Unstable:Playground OBS-URL: https://build.opensuse.org/request/show/79981 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-pyudev.changes b/python-pyudev.changes new file mode 100644 index 0000000..d90612a --- /dev/null +++ b/python-pyudev.changes @@ -0,0 +1,32 @@ +------------------------------------------------------------------- +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/python-pyudev.spec b/python-pyudev.spec new file mode 100644 index 0000000..97e4c9c --- /dev/null +++ b/python-pyudev.spec @@ -0,0 +1,60 @@ +# +# 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.11 +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 +env CFLAGS="%{optflags}" 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 diff --git a/pyudev-0.11.tar.gz b/pyudev-0.11.tar.gz new file mode 100644 index 0000000..a0b007d --- /dev/null +++ b/pyudev-0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a +size 59645