summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-08-01 16:08:44 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-08-01 20:53:26 +0200
commit60476457959f865503e372b37ee7f1a315e292f3 (patch)
treed88279f4ab708eb26ca9db446e06504d53ef47be /sys-apps/razer-cli
parentdev-lang/eisl: drop old 3.27 (diff)
downloadgentoo-60476457959f865503e372b37ee7f1a315e292f3.tar.gz
gentoo-60476457959f865503e372b37ee7f1a315e292f3.tar.bz2
gentoo-60476457959f865503e372b37ee7f1a315e292f3.zip
sys-apps/razer-cli: bump to 2.2.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sys-apps/razer-cli')
-rw-r--r--sys-apps/razer-cli/Manifest1
-rw-r--r--sys-apps/razer-cli/razer-cli-2.2.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-apps/razer-cli/Manifest b/sys-apps/razer-cli/Manifest
index 07441f8ebf2d..36063b53c266 100644
--- a/sys-apps/razer-cli/Manifest
+++ b/sys-apps/razer-cli/Manifest
@@ -1 +1,2 @@
DIST razer-cli-2.1.0.gh.tar.gz 6985414 BLAKE2B 817a53061d1174fb0b0ae50e645c6b9796599760459523455dd4ee20e07f00389c2eaad41c81f08d1dba5eec6a9712dbf2c5c449d3671726c2b2cf0ddb3c0b8e SHA512 d29cb334673f9ae20b9a322f5af86ce9355392a63d9444d7ac46b0f3fd80af63b5e4bf12644897f3eefa76a5f1fa81dcdaf091dc978f00552b01d14813ff19fd
+DIST razer-cli-2.2.0.gh.tar.gz 6985679 BLAKE2B 2ed6a343759a2fb1a74accc509fd862330226bb407cc1f6c276ab06d1c6719ee5c358041dfd35ad596885499c5affbef79fdc14aed331b466f2d383e5d552b26 SHA512 a82b2bc29bee30a0994c3f061809e63ffb2b8cca651ad09641fcf9bdc3dd370614ca6d6d8305345573810e20dc2cde96a48979bcfad1473a83c509cd322ab471
diff --git a/sys-apps/razer-cli/razer-cli-2.2.0.ebuild b/sys-apps/razer-cli/razer-cli-2.2.0.ebuild
new file mode 100644
index 000000000000..68cf275a243e
--- /dev/null
+++ b/sys-apps/razer-cli/razer-cli-2.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+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
+}