diff --git a/python-evdev-1.6.1.tar.gz b/python-evdev-1.6.1.tar.gz deleted file mode 100644 index 74e4abe..0000000 --- a/python-evdev-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b412da2d3b206feff86bb3b6456b8dde8e2b0b9ce23dfd4e556ced125c6ac4f -size 86199 diff --git a/python-evdev-1.7.0.tar.gz b/python-evdev-1.7.0.tar.gz new file mode 100644 index 0000000..a95c51d --- /dev/null +++ b/python-evdev-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bf81c674412298531d26dd1e83b4b555faf392ba8a761c546aecd7ce4d8a7ba +size 87773 diff --git a/python-evdev.changes b/python-evdev.changes index 8b0b8ba..9982ca5 100644 --- a/python-evdev.changes +++ b/python-evdev.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Feb 19 18:59:44 UTC 2024 - Matthias Bach - 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 diff --git a/python-evdev.spec b/python-evdev.spec index 07453bb..1e29b3a 100644 --- a/python-evdev.spec +++ b/python-evdev.spec @@ -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}