diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-18 14:34:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-18 14:34:47 +0100 |
commit | 3a1b8b124a5b405562b6e0ccf04e7bd2ddc131a4 (patch) | |
tree | 586b06fa140c17c92f004998807e894c1874db27 /dev-python/python-evdev | |
parent | e0d23d9d2468ec36070ef9fa63bd814db6a653da (diff) |
gentoo auto-resync : 18:07:2022 - 14:34:47
Diffstat (limited to 'dev-python/python-evdev')
-rw-r--r-- | dev-python/python-evdev/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-evdev/python-evdev-1.6.0.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/python-evdev/Manifest b/dev-python/python-evdev/Manifest index bcbaf107e941..ae0e36062df6 100644 --- a/dev-python/python-evdev/Manifest +++ b/dev-python/python-evdev/Manifest @@ -1,3 +1,5 @@ DIST python-evdev-1.5.0.tar.gz 86384 BLAKE2B 6cb6fb634d974b8ab15722def24037019590f510792fcf2bb64d8c2ffec0871ab4075674eb45a737185e4b42e39d0cd556760d51b13b5a97b79d3ee64cfd342f SHA512 27ceca723a0157fe9efa2f7aad8bb790c63d2b8d399f629eaf11fb387f3ebde0885b2d8a5297492968d625d8d9b186877e074334115e70551a1b121c8864339d +DIST python-evdev-1.6.0.gh.tar.gz 86212 BLAKE2B bbb9adc3caff31c817972e33cd02ff63ee4e037ebe346fc6b128d119c38b337681bc9ef9069cbe9b604b1ac926dd23a02add23da2f629b31b74b0de338f9f423 SHA512 d3dc27aad70897d46ae3cad71cafdf5ac49e8cb52b88566b004edaee3b192b68093e44b487f9ab27b503a18e8e62a08b17d7b782726658f4d8131aa4562cd17a EBUILD python-evdev-1.5.0-r1.ebuild 730 BLAKE2B 887ad1fe48fcd5615d7f56f083902c5bf5b89cddcd3f74ce40acf216083a378c3445297c7615a0c81a27ceade56ae504a689d2e0e347e4c7365e611f9490b104 SHA512 f77b9be830adbd1659f253165ec9933e302cbcc81c9249fd60b34a569c71a9e39d0f7086b5834650ea78840a95edbe47645e1e8e80da6cd16277b5c98730f7f0 +EBUILD python-evdev-1.6.0.ebuild 820 BLAKE2B 4ecf08d0b750b6635439dc398549190e3b4fa92095645591e9acb144e78219a38a56f0c866808ff975e4e026a09afdc7b1f455d61a84cdff6571c5fbd5557faa SHA512 636787a129db010891cc43f1f5c36305655a27cff7b025cda8d6dbdf30248958e560c11f410f39f895acf438ca5c274b51e4a4177519edc797224b1b427fdaae MISC metadata.xml 309 BLAKE2B 6ae01a8430958d20e84fe2de8b8eaeec666b4937a5dc140eed1a90b455f6a17be819e8ae999fe13e1095f2aa9415385ff520fad147318110482390a1aae8419e SHA512 067f19a8bcb3eb7174b9db8c475ca66fbe661a263c8280accd7d05cfd2864605ddfb2660cfd2f146e99266985808b29081a9bff1aef8c8c50303d2ba059c13bc diff --git a/dev-python/python-evdev/python-evdev-1.6.0.ebuild b/dev-python/python-evdev/python-evdev-1.6.0.ebuild new file mode 100644 index 000000000000..2399c0a71faf --- /dev/null +++ b/dev-python/python-evdev/python-evdev-1.6.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +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 + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + 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" +} + +src_test() { + cd tests || die + distutils-r1_src_test +} |