commit:     ebd54b1524f14ef83062db855cd43e72ac05e002
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 19 13:21:16 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Apr 19 13:50:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd54b15

sys-apps/razer-cli: bump to 2.3.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sys-apps/razer-cli/Manifest               |  1 +
 sys-apps/razer-cli/razer-cli-2.3.0.ebuild | 42 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/sys-apps/razer-cli/Manifest b/sys-apps/razer-cli/Manifest
index 7a57cd2174f9..b7c4519b58ab 100644
--- a/sys-apps/razer-cli/Manifest
+++ b/sys-apps/razer-cli/Manifest
@@ -1 +1,2 @@
 DIST razer-cli-2.2.1.gh.tar.gz 6985735 BLAKE2B 
0ee1f4a123ca7bd853ca71b5962bd26339c0a51941f8d51e478d43ba96559227d89383d9ba8bf054cb9dec708d6abc0903a9537a55a05eecb56b0e4448e78001
 SHA512 
e0b6302ea599c578f9445ebfba90bc942c9fa1aec02ad836790318ea91b7f07f0c38aca49267b320b0576fdcc11c9ab98da019026eb06476ec016619b5aafe65
+DIST razer-cli-2.3.0.gh.tar.gz 6985738 BLAKE2B 
2abc54a4879594c93cbae706bee2e94665df799784c1fe5802bb981daa18ba9ac6d4254fb4153beffae7c571360eec0f228b2bb8a816609c2a58a498a420c6c9
 SHA512 
95cc7816f1731c1aa1ba6423139a122c441663bcd0e03949581175b3e619ed17298b8cf75e8c309b96b177e7f9e0141f719b8226e7f45e6620307296bc75f6b4

diff --git a/sys-apps/razer-cli/razer-cli-2.3.0.ebuild 
b/sys-apps/razer-cli/razer-cli-2.3.0.ebuild
new file mode 100644
index 000000000000..1fb7a670539b
--- /dev/null
+++ b/sys-apps/razer-cli/razer-cli-2.3.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Command line interface for controlling Razer devices on Linux"
+HOMEPAGE="https://github.com/LoLei/razer-cli/";
+
+if [[ ${PV} == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/LoLei/${PN}.git";
+else
+       SRC_URI="https://github.com/LoLei/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+       sys-apps/openrazer[client,daemon,${PYTHON_USEDEP}]
+       x11-apps/xrdb
+"
+BDEPEND="
+       ${RDEPEND}
+"
+
+PATCHES=( "${FILESDIR}/${PN}-setup.patch" )
+
+distutils_enable_tests unittest
+
+src_test() {
+       virtx distutils-r1_src_test
+}

Reply via email to