From b99d693f4d27fe2eb2237a0fe7e9c3b87d4d6df5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Jul 2022 08:31:06 +0100 Subject: gentoo auto-resync : 17:07:2022 - 08:31:06 --- dev-python/python-evdev/Manifest | 3 +- .../files/python-evdev-1.5.0-python311.patch | 14 -------- .../python-evdev/python-evdev-1.5.0-r1.ebuild | 37 +++++++++++++++++++ dev-python/python-evdev/python-evdev-1.5.0.ebuild | 42 ---------------------- 4 files changed, 38 insertions(+), 58 deletions(-) delete mode 100644 dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch create mode 100644 dev-python/python-evdev/python-evdev-1.5.0-r1.ebuild delete mode 100644 dev-python/python-evdev/python-evdev-1.5.0.ebuild (limited to 'dev-python/python-evdev') diff --git a/dev-python/python-evdev/Manifest b/dev-python/python-evdev/Manifest index d52493619223..bcbaf107e941 100644 --- a/dev-python/python-evdev/Manifest +++ b/dev-python/python-evdev/Manifest @@ -1,4 +1,3 @@ -AUX python-evdev-1.5.0-python311.patch 430 BLAKE2B c735906d032cdd94f7a42ffc616fff89419ed30622bf9da77e108afd38e5ef867fcab92c12c462d6508e3877351e300a3e3af9c7c6e11e7d80deb4c2a17f99c0 SHA512 24fc3a1e0a4966611d57a44019144d2c6052995aedd2587dc4502b0593258efeea7aad41f60eb992f1f7b2bddddabe5fbcfb1cd6e05c0bed0b99495d8b211bf2 DIST python-evdev-1.5.0.tar.gz 86384 BLAKE2B 6cb6fb634d974b8ab15722def24037019590f510792fcf2bb64d8c2ffec0871ab4075674eb45a737185e4b42e39d0cd556760d51b13b5a97b79d3ee64cfd342f SHA512 27ceca723a0157fe9efa2f7aad8bb790c63d2b8d399f629eaf11fb387f3ebde0885b2d8a5297492968d625d8d9b186877e074334115e70551a1b121c8864339d -EBUILD python-evdev-1.5.0.ebuild 831 BLAKE2B 6c26520eb2b51f32cdd3a2c76f5a80ff51fe0435b22f43f35dcf4c5c1460e49b21c4330f261bd29ce2519f26415344889d5f3043ee4bbdc952d894f1ed73ebd0 SHA512 ea7bed5d4fed4af67702dd597ee849d18952da1680d6dda562cbbaa33050e5d3a8ab67848276228da36deb2fdb1047020b296a9e9f13643c7c804eb44358a336 +EBUILD python-evdev-1.5.0-r1.ebuild 730 BLAKE2B 887ad1fe48fcd5615d7f56f083902c5bf5b89cddcd3f74ce40acf216083a378c3445297c7615a0c81a27ceade56ae504a689d2e0e347e4c7365e611f9490b104 SHA512 f77b9be830adbd1659f253165ec9933e302cbcc81c9249fd60b34a569c71a9e39d0f7086b5834650ea78840a95edbe47645e1e8e80da6cd16277b5c98730f7f0 MISC metadata.xml 309 BLAKE2B 6ae01a8430958d20e84fe2de8b8eaeec666b4937a5dc140eed1a90b455f6a17be819e8ae999fe13e1095f2aa9415385ff520fad147318110482390a1aae8419e SHA512 067f19a8bcb3eb7174b9db8c475ca66fbe661a263c8280accd7d05cfd2864605ddfb2660cfd2f146e99266985808b29081a9bff1aef8c8c50303d2ba059c13bc diff --git a/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch b/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch deleted file mode 100644 index 1f516c79acb2..000000000000 --- a/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/evdev/eventio_async.py b/evdev/eventio_async.py -index 77542a4..68225c3 100644 ---- a/evdev/eventio_async.py -+++ b/evdev/eventio_async.py -@@ -85,8 +85,7 @@ class ReadIterator(object): - def __aiter__(self): - return self - -- @asyncio.coroutine -- def __anext__(self): -+ async def __anext__(self): - future = asyncio.Future() - try: - # Read from the previous batch of events. diff --git a/dev-python/python-evdev/python-evdev-1.5.0-r1.ebuild b/dev-python/python-evdev/python-evdev-1.5.0-r1.ebuild new file mode 100644 index 000000000000..a1df11de9086 --- /dev/null +++ b/dev-python/python-evdev/python-evdev-1.5.0-r1.ebuild @@ -0,0 +1,37 @@ +# 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..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for evdev bindings" +HOMEPAGE="https://python-evdev.readthedocs.io/" +SRC_URI=" + https://github.com/gvalkov/${PN}/archive/v${PV}.tar.gz + -> ${P}.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 +} diff --git a/dev-python/python-evdev/python-evdev-1.5.0.ebuild b/dev-python/python-evdev/python-evdev-1.5.0.ebuild deleted file mode 100644 index 3d0340816d88..000000000000 --- a/dev-python/python-evdev/python-evdev-1.5.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# 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/" -SRC_URI=" - https://github.com/gvalkov/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm x86" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/gvalkov/python-evdev/pull/174 - "${FILESDIR}/${P}-python311.patch" -) - -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 -} -- cgit v1.2.3