diff --git a/libevdev-0.12.tar.gz b/libevdev-0.12.tar.gz deleted file mode 100644 index a1040da..0000000 --- a/libevdev-0.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02e952632ec6c249cbb9c66f6fa00012ea448b06606c77cd139133bc2fe46b08 -size 27214 diff --git a/libevdev-0.13.1.tar.gz b/libevdev-0.13.1.tar.gz new file mode 100644 index 0000000..52294b1 --- /dev/null +++ b/libevdev-0.13.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc3369cd1401767b9ecb1117cd6b73faba9038e3bd9e1695a710a9e9d9415e8d +size 61523 diff --git a/python-libevdev.changes b/python-libevdev.changes index c98910b..a619863 100644 --- a/python-libevdev.changes +++ b/python-libevdev.changes @@ -1,3 +1,64 @@ +------------------------------------------------------------------- +Thu Dec 4 10:15:43 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.13.1 + * pyproject.toml: add pytest as dev dependency + * Import Self from type_checking if needed to be compat with 3.9 + * CI: run pytest via uv + * CI: test against multiple python versions +- from version 0.13 + * CI: update to Fedora 42 + * CI: drop now-unused ARCH_PKGS + * test: skip tests if our hardcoded event3 device node isn't available + * test: reduce max slot to 30 + * test: skip MT test if run in the CI + * CI: bump to latest ci-templates + * CI: drop the flake8 job + * Switch from setup.py to pyproject.toml + * doc: update sources for current sphinx-apidocs + * Format the code with ruff + * examples: fix a badly named variable + * Add re-exported symbols to __all__ + * Install pre-commit hooks + * CI: hook pre-commit into the CI + * Add some type information + * const: switch to using dataclasses for EvBit + * Export all event codes on the libevdev module directly + * Don't derive from object + * test: convert from unittest tests to pytest + * doc: update sources for current sphinx-apidoc + * Remove the obsolete encoding declarations + * device: replace pass with ... for empty class bodies + * const: return NotImplemented from unsupported comparisons + * pyproject: bump the python version to 3.9 + * Use f-strings over .format() + * Modernize super() invocations + * test: add another type hint + * pyproject: add some basic pytest configuration + * const: switch a list[0] to a generator + next + * Add a context manager to the UinputDevice + * test: remove some old camelCase test naming + * test: add a few "is not None" checks to satisfy the static checkers + * test: open device nodes as binary + * test: fix the is_identical check to actually compare two things + * clib: correct the return type for the fd property + * const: fix a doctest syntax + * clib: return the right file object from self.fd + * CI: drop the merge-request check + * clib: fix a typo + * const: drop EvdevBit and decouple its dependents + * const: add from_name/from_value for InputProperty/EventType/EventCode + * const: allow creating new InputProperties + * Sprinkle a lot of type-checks across the code + * device: don't return lists from generator methods + * device: enable the property on the new uinput device, not self + * device: fix an overly broad try/except + * device: use != instad of 'is not' for value check + * test: rename a variable to shut up some checkers + * Generate types for all known codes + * pre-commit: autoupdate to latest versions +- Update BuildRequires from pyproject.toml + ------------------------------------------------------------------- Tue Jun 3 09:28:19 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-libevdev.spec b/python-libevdev.spec index de890b9..bedcc6f 100644 --- a/python-libevdev.spec +++ b/python-libevdev.spec @@ -20,16 +20,16 @@ %global modname libevdev %define libevdev_reqver 1.6.0 Name: python-%{modname} -Version: 0.12 +Version: 0.13.1 Release: 0 Summary: Python wrapper around the libevdev C library License: MIT Group: Development/Libraries/Python URL: https://python-libevdev.readthedocs.io/ Source0: https://files.pythonhosted.org/packages/source/l/libevdev/libevdev-%{version}.tar.gz +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: libevdev-devel >= %{libevdev_reqver}