diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-18 08:29:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-18 09:54:39 +0200 |
commit | 8eb95bb0cd3e0fe510dc402c82da56f8c72021c7 (patch) | |
tree | 85a67b9f98d0e71faeb1c144cd427e6a1a335b53 /dev-python/python-evdev | |
parent | dev-python/hypothesis: Bump to 6.52.1 (diff) | |
download | gentoo-8eb95bb0cd3e0fe510dc402c82da56f8c72021c7.tar.gz gentoo-8eb95bb0cd3e0fe510dc402c82da56f8c72021c7.tar.bz2 gentoo-8eb95bb0cd3e0fe510dc402c82da56f8c72021c7.zip |
dev-python/python-evdev: Bump to 1.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-evdev')
-rw-r--r-- | dev-python/python-evdev/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-evdev/python-evdev-1.6.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/python-evdev/Manifest b/dev-python/python-evdev/Manifest index 192ec2fe87ce..caa3506ed4ca 100644 --- a/dev-python/python-evdev/Manifest +++ b/dev-python/python-evdev/Manifest @@ -1 +1,2 @@ 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 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 +} |