diff --git a/evdev-0.7.0.tar.gz b/evdev-0.7.0.tar.gz deleted file mode 100644 index 2aa10d7..0000000 --- a/evdev-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1 -size 22623 diff --git a/python-evdev-1.0.0.tar.xz b/python-evdev-1.0.0.tar.xz new file mode 100644 index 0000000..c65cc3c --- /dev/null +++ b/python-evdev-1.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb6db97ba4a8df860efb2facbb3f1b7997be43a880eb05b565be7d9f5b8d2bc8 +size 75000 diff --git a/python-evdev.changes b/python-evdev.changes index 36d6ccb..1bf0df8 100644 --- a/python-evdev.changes +++ b/python-evdev.changes @@ -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 diff --git a/python-evdev.spec b/python-evdev.spec index d1ad975..e906c55 100644 --- a/python-evdev.spec +++ b/python-evdev.spec @@ -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