public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercommander/
Date: Sat, 22 Jun 2024 19:05:47 +0000 (UTC)	[thread overview]
Message-ID: <1719083072.21a39fd209a84a834ee4437fd81078f0290455c2.xgqt@gentoo> (raw)

commit:     21a39fd209a84a834ee4437fd81078f0290455c2
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 18:26:34 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 19:04:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a39fd2

sys-apps/razercommander: bump python compat to py3.12

Closes: https://bugs.gentoo.org/934737
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...-r1.ebuild => razercommander-1.2.1.2-r2.ebuild} | 24 +++++++++++++++-------
 1 file 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
similarity index 61%
rename from sys-apps/razercommander/razercommander-1.2.1.2-r1.ebuild
rename to 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


             reply	other threads:[~2024-06-22 19:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-22 19:05 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-01 16:34 [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercommander/ Arthur Zamarin
2023-01-16  1:57 Maciej Barć
2022-09-21 12:19 Maciej Barć
2022-09-20 23:23 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1719083072.21a39fd209a84a834ee4437fd81078f0290455c2.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox