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