diff --git a/fix-tests.patch b/fix-tests.patch deleted file mode 100644 index 742d20e..0000000 --- a/fix-tests.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Georgi Valkov -Date: Sat, 25 Jan 2025 18:04:39 +0100 -Subject: [PATCH] Fix tests -Upstream: merged - -This is pulled from upstream main branch where it was committed right after the release. - ---- - tests/test_util.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_util.py b/tests/test_util.py -index 5a979df..7112927 100644 ---- a/tests/test_util.py -+++ b/tests/test_util.py -@@ -6,7 +6,7 @@ def test_match_ecodes_a(): - assert res == {1: [372, 418, 419, 420]} - assert dict(util.resolve_ecodes_dict(res)) == { - ("EV_KEY", 1): [ -- (["KEY_FULL_SCREEN", "KEY_ZOOM"], 372), -+ (("KEY_FULL_SCREEN", "KEY_ZOOM"), 372), - ("KEY_ZOOMIN", 418), - ("KEY_ZOOMOUT", 419), - ("KEY_ZOOMRESET", 420), - diff --git a/python-evdev-1.8.0.tar.gz b/python-evdev-1.8.0.tar.gz deleted file mode 100644 index 1407bcf..0000000 --- a/python-evdev-1.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:886a7d55fd734ec9bda65e3620d401ad3147201ea9dbc086ca5dbb3e70c505b5 -size 47568 diff --git a/python-evdev-1.9.0.tar.gz b/python-evdev-1.9.0.tar.gz new file mode 100644 index 0000000..61a69fd --- /dev/null +++ b/python-evdev-1.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9783a80dca381b9258f74a80a8f7be3fcd7e1c8206752bc428b1b88be22ab369 +size 47965 diff --git a/python-evdev.changes b/python-evdev.changes index c7968a4..ef4538e 100644 --- a/python-evdev.changes +++ b/python-evdev.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Feb 10 19:03:30 UTC 2025 - Matthias Bach - 1.9.0 + +- Update to 1.9.0 + * Slightly faster reading of events in device.read() and + device.read_one(). + * Drop deprecated InputDevice.fn (use InputDevice.path instead). + * Improve type hint coverage and add a py.typed file. +- Remove fix-tests.patch as it was included upstream. + ------------------------------------------------------------------- Wed Jan 29 19:36:45 UTC 2025 - Matthias Bach - 1.8.0 diff --git a/python-evdev.spec b/python-evdev.spec index 97a8496..b050dae 100644 --- a/python-evdev.spec +++ b/python-evdev.spec @@ -19,7 +19,7 @@ %define modname evdev %{?sle15_python_module_pythons} Name: python-evdev -Version: 1.8.0 +Version: 1.9.0 Release: 0 Summary: Python bindings to the Linux input handling subsystem License: BSD-3-Clause @@ -27,7 +27,6 @@ Group: Development/Languages/Python 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 -Patch0: fix-tests.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest}