Files
guru/dev-python/system_hotkey/system_hotkey-1.0.3.ebuild
T
David Roman 59f98117e4 */*: disable py3.12 && remove dead impls
Disable py3.12 except for packages which only had py3.12 in PYTHON_COMPAT

Signed-off-by: David Roman <stkw0@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/161
2026-11-03 14:42:49 +01:00

34 lines
800 B
Bash

# 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 )
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
}