diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-23 23:30:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-23 23:30:45 +0100 |
commit | f892e24578e434bbea68c4f1c9a8eef429461268 (patch) | |
tree | 5fc6072a72fd5ca8397e89183bad49896e6bf372 /sys-apps/razer-cli | |
parent | 0e7ef53ddcc33809bcb2644d3649617113b78ea3 (diff) |
gentoo auto-resync : 23:09:2022 - 23:30:45
Diffstat (limited to 'sys-apps/razer-cli')
-rw-r--r-- | sys-apps/razer-cli/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/razer-cli/files/razer-cli-setup.patch | 9 | ||||
-rw-r--r-- | sys-apps/razer-cli/metadata.xml | 20 | ||||
-rw-r--r-- | sys-apps/razer-cli/razer-cli-2.1.0.ebuild | 37 |
4 files changed, 70 insertions, 0 deletions
diff --git a/sys-apps/razer-cli/Manifest b/sys-apps/razer-cli/Manifest new file mode 100644 index 000000000000..591efd5c0299 --- /dev/null +++ b/sys-apps/razer-cli/Manifest @@ -0,0 +1,4 @@ +AUX razer-cli-setup.patch 298 BLAKE2B 18b852425de2b6e7ae1edda4be359ceef99b599397b73646135cde4499611d097737b6f22d1c855bde75a09a3979777232c6db4bc943a25681eae858940192e4 SHA512 fed44c63b22ac0646e34ad830ae6224794511949e91039a2f5ac0e9fed29111e5d71aae86d94e99ab07c2dbc346f82130dff79bd04733b7ef8fdb36dc7540439 +DIST razer-cli-2.1.0.gh.tar.gz 6985414 BLAKE2B 817a53061d1174fb0b0ae50e645c6b9796599760459523455dd4ee20e07f00389c2eaad41c81f08d1dba5eec6a9712dbf2c5c449d3671726c2b2cf0ddb3c0b8e SHA512 d29cb334673f9ae20b9a322f5af86ce9355392a63d9444d7ac46b0f3fd80af63b5e4bf12644897f3eefa76a5f1fa81dcdaf091dc978f00552b01d14813ff19fd +EBUILD razer-cli-2.1.0.ebuild 800 BLAKE2B fb5c7e3f1a4f0e4e54d708bd18f414468c3a199ec15b58aac323c57c4eeaee037b4cc9567f00879c521a7a424be6c6ea5bd53f92b3b22f34c9bb69b711fc35f6 SHA512 187f62ac3cd90409be851ddcaccf05ef3e7295581807828e4c431e90a78b1099cd028346a051df556b271ced198768c641c5a7ced0699626012c8714d93e292a +MISC metadata.xml 773 BLAKE2B 6cdf54709545125072df21192c6ca025690501406a29e5bc08932a07ff8291517caa6bd7bfac9b84e0bd2292c793089516ff2d28119e6ca9941d6f0b18b59b21 SHA512 5a4a626a03ccfb489b17aaf99cb3a519895304a718cdbe682002e754cc846c2fe2f09062e1ea65fc210cfab776d16de1f96c42aed52b7ff3be2e8e77957c4884 diff --git a/sys-apps/razer-cli/files/razer-cli-setup.patch b/sys-apps/razer-cli/files/razer-cli-setup.patch new file mode 100644 index 000000000000..de0aee5cc68b --- /dev/null +++ b/sys-apps/razer-cli/files/razer-cli-setup.patch @@ -0,0 +1,9 @@ +--- a/setup.py ++++ b/setup.py +@@ -20,6 +20,4 @@ setup( + packages=find_packages(), + entry_points={"console_scripts": ["razer-cli=razer_cli.razer_cli.main:main"]}, + python_requires=">=3.6", +- package_data={'': ['razer_cli/razer_cli/man_pages']}, +- include_package_data=True, + ) diff --git a/sys-apps/razer-cli/metadata.xml b/sys-apps/razer-cli/metadata.xml new file mode 100644 index 000000000000..46f8e78aef64 --- /dev/null +++ b/sys-apps/razer-cli/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <longdescription> + With this command line interface you can configure your Razer peripherals, + such as keyboard and mouse, set their colors and effects, etc. The most + simple use case (for which this tool was originally developed) is to use it + in symbiosis with pywal. Then this tool will set your Razer colors to + Pywal's colors. + </longdescription> + <upstream> + <bugs-to>https://gitlab.com/LoLei/razer-cli/-/issues/</bugs-to> + <remote-id type="gitlab">LoLei/razer-cli</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-apps/razer-cli/razer-cli-2.1.0.ebuild b/sys-apps/razer-cli/razer-cli-2.1.0.ebuild new file mode 100644 index 000000000000..b886d06eb6cb --- /dev/null +++ b/sys-apps/razer-cli/razer-cli-2.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +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 +} |