forked from pool/python-evdev
Accepting request 1147703 from devel:languages:python
- Update to 1.7.0
* Add the uniq address to the string representation of InputDevice.
* Improved method for finding the device node corresponding to a
uinput device
- Adjust package build to upstream's switch to pyproject.toml.
- Drop obsolete Leap 15.3 compatiblity handling in spec file.
OBS-URL: https://build.opensuse.org/request/show/1147703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=14
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b412da2d3b206feff86bb3b6456b8dde8e2b0b9ce23dfd4e556ced125c6ac4f
|
||||
size 86199
|
||||
3
python-evdev-1.7.0.tar.gz
Normal file
3
python-evdev-1.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3bf81c674412298531d26dd1e83b4b555faf392ba8a761c546aecd7ce4d8a7ba
|
||||
size 87773
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 19 18:59:44 UTC 2024 - Matthias Bach <marix@marix.org> - 1.7.0
|
||||
|
||||
- Update to 1.7.0
|
||||
* Add the uniq address to the string representation of InputDevice.
|
||||
* Improved method for finding the device node corresponding to a
|
||||
uinput device
|
||||
- Adjust package build to upstream's switch to pyproject.toml.
|
||||
- Drop obsolete Leap 15.3 compatiblity handling in spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 12:35:05 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-evdev
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%define modname evdev
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-evdev
|
||||
Version: 1.6.1
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: Python bindings to the Linux input handling subsystem
|
||||
License: BSD-3-Clause
|
||||
@@ -28,8 +28,10 @@ URL: https://github.com/gvalkov/python-evdev
|
||||
# Source needs to be pulled form Github as the source distribution on PyPI lacks the test directory
|
||||
Source: https://github.com/gvalkov/python-evdev/archive/refs/tags/v%{version}.tar.gz#/python-evdev-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools >= 61.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
@@ -49,17 +51,14 @@ subsystem.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitearch}
|
||||
%python_expand rm %{buildroot}/%{$python_sitearch}/%{modname}/*.c
|
||||
|
||||
%check
|
||||
%if 0%{?sle_version} == 150300 && 0%{?is_opensuse}
|
||||
# Work around broken pytest macro on Leap 15.3
|
||||
PYTHONPATH=dummy
|
||||
%endif
|
||||
%pytest_arch tests -k 'not test_uinput'
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user