forked from pool/python-pyudev
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
This commit is contained in:
commit
cb2144dfa3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
32
python-pyudev.changes
Normal file
32
python-pyudev.changes
Normal file
@ -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).
|
60
python-pyudev.spec
Normal file
60
python-pyudev.spec
Normal file
@ -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
|
3
pyudev-0.11.tar.gz
Normal file
3
pyudev-0.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a
|
||||||
|
size 59645
|
Loading…
Reference in New Issue
Block a user