From 21a39fd209a84a834ee4437fd81078f0290455c2 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sat, 22 Jun 2024 20:26:34 +0200 Subject: sys-apps/razercommander: bump python compat to py3.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/934737 Signed-off-by: Maciej Barć --- .../razercommander-1.2.1.2-r1.ebuild | 36 ----------------- .../razercommander-1.2.1.2-r2.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 36 deletions(-) delete mode 100644 sys-apps/razercommander/razercommander-1.2.1.2-r1.ebuild create mode 100644 sys-apps/razercommander/razercommander-1.2.1.2-r2.ebuild (limited to 'sys-apps/razercommander') diff --git a/sys-apps/razercommander/razercommander-1.2.1.2-r1.ebuild b/sys-apps/razercommander/razercommander-1.2.1.2-r1.ebuild deleted file mode 100644 index 91e87705a06e..000000000000 --- a/sys-apps/razercommander/razercommander-1.2.1.2-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="razerCommander" -MY_P=${MY_PN}-${PV} - -PYTHON_COMPAT=( python3_{9..11} ) - -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} - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - >=x11-libs/gtk+-3.20:3[introspection] - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - sys-apps/openrazer[client,daemon,${PYTHON_USEDEP}] - ') -" -BDEPEND="${RDEPEND}" - -src_install() { - meson_src_install - python_optimize -} diff --git a/sys-apps/razercommander/razercommander-1.2.1.2-r2.ebuild b/sys-apps/razercommander/razercommander-1.2.1.2-r2.ebuild new file mode 100644 index 000000000000..60a6091d79c2 --- /dev/null +++ b/sys-apps/razercommander/razercommander-1.2.1.2-r2.ebuild @@ -0,0 +1,46 @@ +# 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}" + +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/" + +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" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=x11-libs/gtk+-3.20:3[introspection] + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + sys-apps/openrazer[client,daemon,${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${RDEPEND} +" + +src_install() { + meson_src_install + python_optimize +} -- cgit v1.2.3-65-gdbad