summaryrefslogtreecommitdiff
path: root/dev-python/system_hotkey
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/system_hotkey')
-rw-r--r--dev-python/system_hotkey/Manifest1
-rw-r--r--dev-python/system_hotkey/files/system_hotkey-1.0.3-fix-collections-iterable.patch15
-rw-r--r--dev-python/system_hotkey/metadata.xml12
-rw-r--r--dev-python/system_hotkey/system_hotkey-1.0.3.ebuild33
4 files changed, 0 insertions, 61 deletions
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 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>devrin@fastmail.com</email>
- <name>Devrin Talen</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">system_hotkey</remote-id>
- <remote-id type="github">timeyyy/system_hotkey</remote-id>
- </upstream>
-</pkgmetadata>
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
-}