From 5c135724c546218a6bc28195b8d0c991a3dfb38b Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 9 Jun 2022 19:48:15 +0000 Subject: Adding metadata --- .../python-evdev/files/python-evdev-1.5.0-python311.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch (limited to 'dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch') 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 new file mode 100644 index 000000000000..1f516c79acb2 --- /dev/null +++ b/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch @@ -0,0 +1,14 @@ +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. -- cgit v1.3.1