Skip to content

Commit

Permalink
Update python-evdev to version 1.7.0 / rev 14 via SR 1147703
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1147703
by user theMarix + anag+factory
- 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.
  • Loading branch information
theMarix authored and bmwiedemann committed Feb 20, 2024
1 parent 6d59dec commit 8ff0207
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 10 deletions.
Binary file modified packages/p/python-evdev/.files
Binary file not shown.
13 changes: 13 additions & 0 deletions packages/p/python-evdev/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,17 @@
<comment></comment>
<requestid>1098387</requestid>
</revision>
<revision rev="14" vrev="1">
<srcmd5>196c924c314d8aaaa55acf788003edaa</srcmd5>
<version>1.7.0</version>
<time>1708460094</time>
<user>anag+factory</user>
<comment>- 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.</comment>
<requestid>1147703</requestid>
</revision>
</revisionlist>
1 change: 0 additions & 1 deletion packages/p/python-evdev/python-evdev-1.6.1.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/python-evdev/python-evdev-1.7.0.tar.gz
10 changes: 10 additions & 0 deletions packages/p/python-evdev/python-evdev.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Feb 19 18:59:44 UTC 2024 - Matthias Bach <[email protected]> - 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 <[email protected]>

Expand Down
17 changes: 8 additions & 9 deletions packages/p/python-evdev/python-evdev.spec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit 8ff0207

Please sign in to comment.