From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/system_hotkey/Manifest | 1 - ...tem_hotkey-1.0.3-fix-collections-iterable.patch | 15 ---------- dev-python/system_hotkey/metadata.xml | 12 -------- .../system_hotkey/system_hotkey-1.0.3.ebuild | 33 ---------------------- 4 files changed, 61 deletions(-) delete mode 100644 dev-python/system_hotkey/Manifest delete mode 100644 dev-python/system_hotkey/files/system_hotkey-1.0.3-fix-collections-iterable.patch delete mode 100644 dev-python/system_hotkey/metadata.xml delete mode 100644 dev-python/system_hotkey/system_hotkey-1.0.3.ebuild (limited to 'dev-python/system_hotkey') diff --git a/dev-python/system_hotkey/Manifest b/dev-python/system_hotkey/Manifest deleted file mode 100644 index a04774942964..000000000000 --- a/dev-python/system_hotkey/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST system_hotkey-1.0.3.gh.tar.gz 29898 BLAKE2B c92c515c53efdf0816f9d94520f5755fc0e2972437079288baf1025b9005545b29c156dbc0ab6ceaba2b7141cb4b57352742a42a12bcad848421eda27866cb74 SHA512 8812cb2542ba7f72bca3a40212ddbc0e8094a25fe6f67d42185e69a4485a809c36547312468c691a385c60aa241661e01dc8a12daaf97e94028c60e0e6a6f21d diff --git a/dev-python/system_hotkey/files/system_hotkey-1.0.3-fix-collections-iterable.patch b/dev-python/system_hotkey/files/system_hotkey-1.0.3-fix-collections-iterable.patch deleted file mode 100644 index 265c32a5f096..000000000000 --- a/dev-python/system_hotkey/files/system_hotkey-1.0.3-fix-collections-iterable.patch +++ /dev/null @@ -1,15 +0,0 @@ -system_hotkey was written for a previous version of Python that had -collections.Iterable available. That moved under collections.abc in a -later release. - ---- a/system_hotkey/system_hotkey.py -+++ b/system_hotkey/system_hotkey.py -@@ -281,7 +281,7 @@ class MixIn(): - - thread safe - ''' -- assert isinstance(hotkey, collections.Iterable) and type(hotkey) not in (str, bytes) -+ assert isinstance(hotkey, collections.abc.Iterable) and type(hotkey) not in (str, bytes) - if self.consumer == 'callback' and not callback: - raise TypeError('Function register requires callback argument in non sonsumer mode') - diff --git a/dev-python/system_hotkey/metadata.xml b/dev-python/system_hotkey/metadata.xml deleted file mode 100644 index a69e0c83986f..000000000000 --- a/dev-python/system_hotkey/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - devrin@fastmail.com - Devrin Talen - - - system_hotkey - timeyyy/system_hotkey - - diff --git a/dev-python/system_hotkey/system_hotkey-1.0.3.ebuild b/dev-python/system_hotkey/system_hotkey-1.0.3.ebuild deleted file mode 100644 index 47b564fde5b8..000000000000 --- a/dev-python/system_hotkey/system_hotkey-1.0.3.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) -inherit distutils-r1 virtualx - -DESCRIPTION="Multi-platform system-wide hotkeys" -HOMEPAGE="https://github.com/timeyyy/system_hotkey" -SRC_URI="https://github.com/timeyyy/system_hotkey/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -# TODO this depends on xpybutil -RDEPEND=">=dev-python/xcffib-1.5.0[${PYTHON_USEDEP}] - >=dev-python/xpybutil-0.0.6[${PYTHON_USEDEP}] - >=dev-python/pytest-xvfb-3.0.0[${PYTHON_USEDEP}]" - -PATCHES=( - # Fix for unit test - "${FILESDIR}/${P}-fix-collections-iterable.patch" -) - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} -- cgit v1.3