commit: 1bf8102e3ce609bed7652d44028bd23466c4a82c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 6 03:55:47 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 6 04:23:11 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf8102e
dev-python/evdev: Bump to 1.9.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/evdev/Manifest | 1 +
dev-python/evdev/evdev-1.9.3.ebuild | 46 +++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-python/evdev/Manifest b/dev-python/evdev/Manifest
index 441a65186fea..5af0d6efc98a 100644
--- a/dev-python/evdev/Manifest
+++ b/dev-python/evdev/Manifest
@@ -1 +1,2 @@
DIST python-evdev-1.9.2.gh.tar.gz 48925 BLAKE2B
db6ae75edc292f84c9d8d035b371ab08d50b323562b41ae0ef798a3afc1acebdddbc7a9128011bcdd92cb0a61eba75718a4aac4c7e5253421ebe6f9f0404bed0
SHA512
25caf75925de21f90959be131d4fac3c181a2a57175fe598aec72962604e53a41ca233e1380204bb35048d25937701a7e22cc88a3cb40bba0eb343bb1b815921
+DIST python-evdev-1.9.3.gh.tar.gz 48953 BLAKE2B
93d9cb5f13fb83bbe028d7fe138ced73f369e97e48af9d3e6ce0d846169fe7378ad8f1e23a14e8d96c908d0d6f8f66c30cc69589454318e7de311fcdf16191f5
SHA512
3f78fc21da5afcea7651a36c13fdb3e7c5cfac0327c0a365e2d825c849f4a19664defba07a5ada45665864888301b5b38478b4e7716014877951872ae912bee8
diff --git a/dev-python/evdev/evdev-1.9.3.ebuild
b/dev-python/evdev/evdev-1.9.3.ebuild
new file mode 100644
index 000000000000..7a06cfb86435
--- /dev/null
+++ b/dev-python/evdev/evdev-1.9.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1
+
+MY_P=python-evdev-${PV}
+DESCRIPTION="Python library for evdev bindings"
+HOMEPAGE="
+ https://python-evdev.readthedocs.io/
+ https://github.com/gvalkov/python-evdev/
+ https://pypi.org/project/evdev/
+"
+SRC_URI="
+ https://github.com/gvalkov/python-evdev/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # these tests rely on being able to open /dev/uinput
+ tests/test_uinput.py
+)
+
+python_configure_all() {
+ esetup.py build_ecodes \
+ --evdev-headers \
+
"${ESYSROOT}/usr/include/linux/input.h:${ESYSROOT}/usr/include/linux/input-event-codes.h:${ESYSROOT}:/usr/include/linux/uinput.h"
+}
+
+src_test() {
+ cd tests || die
+ distutils-r1_src_test
+}