mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-python/evdev: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2025 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"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user