forked from pool/python-evdev
- Update to 1.1.2:
* Fix handling of absinfo capabilities * Fix invalid example * Check if FF_MAX_EFFECTS is defined OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
7b051e8c87
commit
0cd8d69a7b
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-evdev
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,26 +12,25 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define modname evdev
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-evdev
|
||||
Version: 1.1.0
|
||||
Version: 1.1.2
|
||||
Release: 0
|
||||
Summary: Python bindings to the Linux input handling subsystem
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/gvalkov/python-evdev
|
||||
URL: https://github.com/gvalkov/python-evdev
|
||||
Source: https://github.com/gvalkov/%{name}/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -53,13 +52,13 @@ subsystem.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %buildroot/%$python_sitearch
|
||||
%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*
|
||||
%files %{python_files}
|
||||
%{python_sitearch}/evdev*
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user