1 |
commit: eebe04d2a37156ac27ed1b3006a0d924da782ea7 |
2 |
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> |
3 |
AuthorDate: Wed Jul 7 11:57:52 2021 +0000 |
4 |
Commit: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> |
5 |
CommitDate: Wed Jul 7 11:57:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eebe04d2 |
7 |
|
8 |
app-misc/liquidctl: version 1.7.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/800992 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
12 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
13 |
|
14 |
app-misc/liquidctl/Manifest | 1 + |
15 |
app-misc/liquidctl/liquidctl-1.7.0.ebuild | 37 +++++++++++++++++++++++++++++++ |
16 |
app-misc/liquidctl/metadata.xml | 2 +- |
17 |
3 files changed, 39 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/app-misc/liquidctl/Manifest b/app-misc/liquidctl/Manifest |
20 |
index c5bdc6332..104d7c0ab 100644 |
21 |
--- a/app-misc/liquidctl/Manifest |
22 |
+++ b/app-misc/liquidctl/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST liquidctl-1.4.2.tar.gz 159500 BLAKE2B a307949798c779f0a45494b0353f45b1a1d957fc9e5d3eeb9eefaaa03b82e4df1c5a9adce3bc025caf2a95745b225a112780ba6a426367ee45aa868c1f1620e5 SHA512 06a832c1e4784def449e64b9c119cf9fc8554932644d0126ad24ce1ab68995ea510e5473db2bdd8f1d20d4d5f505f21ecbf4ae490b6984fb87407ea9e6bfb58e |
25 |
+DIST liquidctl-1.7.0.tar.gz 2036796 BLAKE2B 38227ee16daa769c72b6070e23885f14fce3695db01a5b278b37d570cf9c293d8e7442d9f71e26fe3d50890c8cdcd59114539b014c14d3fc6aeca888bfb652da SHA512 f13925cebad63996475f0535d2db0a0cfb5177a83aebceba0ab45600ab1c175cb76bfb351118acfd4995eec44a75acd86b7b7539d69e999525a3aa9cd88f16ed |
26 |
|
27 |
diff --git a/app-misc/liquidctl/liquidctl-1.7.0.ebuild b/app-misc/liquidctl/liquidctl-1.7.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000..547ab6c45 |
30 |
--- /dev/null |
31 |
+++ b/app-misc/liquidctl/liquidctl-1.7.0.ebuild |
32 |
@@ -0,0 +1,37 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8,9} ) |
39 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
+inherit distutils-r1 udev |
41 |
+ |
42 |
+DESCRIPTION="Cross-platform tool and drivers for liquid coolers and other devices" |
43 |
+HOMEPAGE="https://github.com/liquidctl/liquidctl" |
44 |
+SRC_URI="https://github.com/liquidctl/liquidctl/releases/download/v${PV}/${P}.tar.gz" |
45 |
+LICENSE="GPL-3+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/colorlog[${PYTHON_USEDEP}] |
51 |
+ dev-python/docopt[${PYTHON_USEDEP}] |
52 |
+ dev-python/hidapi[${PYTHON_USEDEP}] |
53 |
+ dev-python/pyusb[${PYTHON_USEDEP}] |
54 |
+ sys-apps/i2c-tools[${PYTHON_USEDEP},python] |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+src_test() { |
60 |
+ # Without this variable, it attempts to write to /var/run and fails |
61 |
+ XDG_RUNTIME_DIR="${T}/xdg" distutils-r1_src_test || die |
62 |
+} |
63 |
+ |
64 |
+python_install_all() { |
65 |
+ distutils-r1_python_install_all |
66 |
+ dodoc docs/*.md || die |
67 |
+ dodoc -r docs/linux/ |
68 |
+ udev_dorules extra/linux/71-liquidctl.rules |
69 |
+} |
70 |
|
71 |
diff --git a/app-misc/liquidctl/metadata.xml b/app-misc/liquidctl/metadata.xml |
72 |
index 8e9aedf81..abd809ae8 100644 |
73 |
--- a/app-misc/liquidctl/metadata.xml |
74 |
+++ b/app-misc/liquidctl/metadata.xml |
75 |
@@ -6,6 +6,6 @@ |
76 |
<name>Alexey Sokolov</name> |
77 |
</maintainer> |
78 |
<upstream> |
79 |
- <remote-id type="github">jonasmalacofilho/liquidctl</remote-id> |
80 |
+ <remote-id type="github">liquidctl/liquidctl</remote-id> |
81 |
</upstream> |
82 |
</pkgmetadata> |