diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-23 18:55:58 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-23 18:55:58 -0500 |
| commit | cdcbdbc2768a2b227ed7d980ebcec51a492bd53f (patch) | |
| tree | 3d2e7f33d50ce982cd8767ee5099f7c924d4eb49 /dev-python/evdev | |
| parent | 3ac897312b1982e0855eb4251695765d57976b18 (diff) | |
| download | baldeagleos-repo-cdcbdbc2768a2b227ed7d980ebcec51a492bd53f.tar.gz baldeagleos-repo-cdcbdbc2768a2b227ed7d980ebcec51a492bd53f.tar.xz baldeagleos-repo-cdcbdbc2768a2b227ed7d980ebcec51a492bd53f.zip | |
Adding metadata
Diffstat (limited to 'dev-python/evdev')
| -rw-r--r-- | dev-python/evdev/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/evdev/evdev-2.0.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/evdev/Manifest b/dev-python/evdev/Manifest index 0207a3b8ebc4..2f32e4c53e5d 100644 --- a/dev-python/evdev/Manifest +++ b/dev-python/evdev/Manifest @@ -1 +1,2 @@ DIST python-evdev-1.9.3.gh.tar.gz 48953 BLAKE2B 93d9cb5f13fb83bbe028d7fe138ced73f369e97e48af9d3e6ce0d846169fe7378ad8f1e23a14e8d96c908d0d6f8f66c30cc69589454318e7de311fcdf16191f5 SHA512 3f78fc21da5afcea7651a36c13fdb3e7c5cfac0327c0a365e2d825c849f4a19664defba07a5ada45665864888301b5b38478b4e7716014877951872ae912bee8 +DIST python-evdev-2.0.0.gh.tar.gz 50762 BLAKE2B eb74510425cf83ca51e2d33783096a1d6fbde4e954bb75666c01d92b45c46ef8dd345b9c3885a1db335a40b214c4cce1f90a624e538ef6fb9b996d7228be72e3 SHA512 55f7a263f0500a8a6e2ba49038507388d1579a8482d0b3614815867e583ae6a2dd7e141c6dec9ff3bda6389c8c71ad0b42935ee448c96ce2d943482669797162 diff --git a/dev-python/evdev/evdev-2.0.0.ebuild b/dev-python/evdev/evdev-2.0.0.ebuild new file mode 100644 index 000000000000..331783ada74a --- /dev/null +++ b/dev-python/evdev/evdev-2.0.0.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_{13..14} ) + +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 +} |
