forked from pool/python-evdev
Accepting request 614382 from home:theMarix:branches:devel:languages:python
- Run tests during packaging.
* This runs only those tests which do not require /dev/uinput.
- Changed to source taken directly from Git instead of PyPI.
- Update to version 1.0.0
* Fixed asyncio support in Python 3.5+.
* Fixed handling of missing data.
* Fixed device comparison.
* Deprecated the InputDevice.fn attribute in favour of
InputDevice.path
* Add a context manager for grabbing access to a device -
InputDevice.grab_context.
* Add the InputDevice.uniq attribute, which contains the unique
identifier of the device.
OBS-URL: https://build.opensuse.org/request/show/614382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1
|
||||
size 22623
|
||||
3
python-evdev-1.0.0.tar.xz
Normal file
3
python-evdev-1.0.0.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb6db97ba4a8df860efb2facbb3f1b7997be43a880eb05b565be7d9f5b8d2bc8
|
||||
size 75000
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 20:06:40 UTC 2018 - marix@marix.org
|
||||
|
||||
- Run tests during packaging.
|
||||
* This runs only those tests which do not require /dev/uinput.
|
||||
- Changed to source taken directly from Git instead of PyPI.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 4 20:07:15 UTC 2018 - marix@marix.org
|
||||
|
||||
- Update to version 1.0.0
|
||||
* Fixed asyncio support in Python 3.5+.
|
||||
* Fixed handling of missing data.
|
||||
* Fixed device comparison.
|
||||
* Deprecated the InputDevice.fn attribute in favour of
|
||||
InputDevice.path
|
||||
* Add a context manager for grabbing access to a device -
|
||||
InputDevice.grab_context.
|
||||
* Add the InputDevice.uniq attribute, which contains the unique
|
||||
identifier of the device.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 29 15:33:32 UTC 2018 - jengelh@inai.de
|
||||
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-evdev
|
||||
Version: 0.7.0
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Python bindings to the Linux input handling subsystem
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://pypi.python.org/pypi/evdev
|
||||
#Git-Clone: https://github.com/gvalkov/python-evdev
|
||||
Source: https://files.pythonhosted.org/packages/source/e/evdev/evdev-%version.tar.gz
|
||||
Url: https://github.com/gvalkov/python-evdev
|
||||
Source: %{name}-%version.tar.xz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -43,9 +43,9 @@ This package also comes with bindings to uinput, the userspace input
|
||||
subsystem. Uinput allows userspace programs to create and handle
|
||||
input devices that can inject events directly into the input
|
||||
subsystem.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n evdev-%version
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -54,6 +54,9 @@ subsystem.
|
||||
%python_install
|
||||
%python_expand %fdupes %buildroot/%$python_sitearch
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_version} tests -k 'not test_uinput'
|
||||
|
||||
%files %python_files
|
||||
%python_sitearch/evdev*
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user