summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-06-22 20:26:34 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-06-22 21:04:32 +0200
commit21a39fd209a84a834ee4437fd81078f0290455c2 (patch)
tree9b93a34036be31de8ef545909416483c2719b0da /sys-apps/razercommander
parentapp-text/tkinfo: add 2.8 (diff)
downloadgentoo-21a39fd209a84a834ee4437fd81078f0290455c2.tar.gz
gentoo-21a39fd209a84a834ee4437fd81078f0290455c2.tar.bz2
gentoo-21a39fd209a84a834ee4437fd81078f0290455c2.zip
sys-apps/razercommander: bump python compat to py3.12
Closes: https://bugs.gentoo.org/934737 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sys-apps/razercommander')
-rw-r--r--sys-apps/razercommander/razercommander-1.2.1.2-r2.ebuild (renamed from sys-apps/razercommander/razercommander-1.2.1.2-r1.ebuild)24
1 files changed, 17 insertions, 7 deletions
diff --git a/sys-apps/razercommander/razercommander-1.2.1.2-r1.ebuild b/sys-apps/razercommander/razercommander-1.2.1.2-r2.ebuild
index 91e87705a06e..60a6091d79c2 100644
--- a/sys-apps/razercommander/razercommander-1.2.1.2-r1.ebuild
+++ b/sys-apps/razercommander/razercommander-1.2.1.2-r2.ebuild
@@ -1,23 +1,31 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="razerCommander"
-MY_P=${MY_PN}-${PV}
+MY_P="${MY_PN}-${PV}"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{11..12} )
inherit meson python-single-r1 xdg
DESCRIPTION="GTK contol center for managing Razer peripherals on Linux"
HOMEPAGE="https://gitlab.com/gabmus/razerCommander/"
-SRC_URI="https://gitlab.com/gabmus/${MY_PN}/-/archive/${PV}/${MY_P}.tar.gz"
-S="${WORKDIR}"/${MY_P}
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://gitlab.com/gabmus/${MY_PN}.git"
+else
+ SRC_URI="https://gitlab.com/gabmus/${MY_PN}/-/archive/${PV}/${MY_P}.tar.gz"
+ S="${WORKDIR}/${MY_P}"
+
+ KEYWORDS="amd64 ~x86"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
@@ -28,7 +36,9 @@ RDEPEND="
sys-apps/openrazer[client,daemon,${PYTHON_USEDEP}]
')
"
-BDEPEND="${RDEPEND}"
+BDEPEND="
+ ${RDEPEND}
+"
src_install() {
meson_src_install