Gentoo Archives: gentoo-commits

From: Alexey Sokolov <alexey+gentoo@××××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/liquidctl/
Date: Mon, 02 Nov 2020 23:38:48
Message-Id: 1604360277.b078919d50300e52a8c6bb1d998daf64034db86b.DarthGandalf@gentoo
1 commit: b078919d50300e52a8c6bb1d998daf64034db86b
2 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
3 AuthorDate: Mon Nov 2 23:37:57 2020 +0000
4 Commit: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
5 CommitDate: Mon Nov 2 23:37:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b078919d
7
8 app-misc/liquidctl: 1.4.2
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
12
13 app-misc/liquidctl/Manifest | 1 +
14 app-misc/liquidctl/liquidctl-1.4.2.ebuild | 35 +++++++++++++++++++++++++++++++
15 2 files changed, 36 insertions(+)
16
17 diff --git a/app-misc/liquidctl/Manifest b/app-misc/liquidctl/Manifest
18 index 373b6da8..ad738268 100644
19 --- a/app-misc/liquidctl/Manifest
20 +++ b/app-misc/liquidctl/Manifest
21 @@ -1 +1,2 @@
22 DIST liquidctl-1.4.1.tar.gz 149114 BLAKE2B eee91d82cd31021aa8a290844c74ff117024383f85eaa83ef89bf4f1d3e9d1af29b6b530497c356fb51aaca6f686522768eb1df0c7fb85ecdc34b630109a1db9 SHA512 f5f1e1e9f4f03ab2bc1252a65a118a1cfd2203f4cbde7e7ddb45667b20ec7757d35eff9f69922395efb1461d660b104531230942f4d537428f30ae3e59ed2594
23 +DIST liquidctl-1.4.2.tar.gz 159500 BLAKE2B a307949798c779f0a45494b0353f45b1a1d957fc9e5d3eeb9eefaaa03b82e4df1c5a9adce3bc025caf2a95745b225a112780ba6a426367ee45aa868c1f1620e5 SHA512 06a832c1e4784def449e64b9c119cf9fc8554932644d0126ad24ce1ab68995ea510e5473db2bdd8f1d20d4d5f505f21ecbf4ae490b6984fb87407ea9e6bfb58e
24
25 diff --git a/app-misc/liquidctl/liquidctl-1.4.2.ebuild b/app-misc/liquidctl/liquidctl-1.4.2.ebuild
26 new file mode 100644
27 index 00000000..b4d2acfa
28 --- /dev/null
29 +++ b/app-misc/liquidctl/liquidctl-1.4.2.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7,8} )
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/jonasmalacofilho/liquidctl"
42 +SRC_URI="https://github.com/jonasmalacofilho/liquidctl/releases/download/v${PV}/${P}.tar.gz"
43 +LICENSE="GPL-3+"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +RDEPEND="
48 + dev-python/docopt[${PYTHON_USEDEP}]
49 + dev-python/hidapi[${PYTHON_USEDEP}]
50 + dev-python/pyusb[${PYTHON_USEDEP}]
51 +"
52 +
53 +distutils_enable_tests pytest
54 +
55 +src_test() {
56 + # Without this variable, it attempts to write to /var/run and fails
57 + XDG_RUNTIME_DIR="${T}/xdg" distutils-r1_src_test || die
58 +}
59 +
60 +python_install_all() {
61 + distutils-r1_python_install_all
62 + dodoc docs/*.md || die
63 + dodoc -r docs/linux/
64 + udev_dorules extra/linux/71-liquidctl.rules
65 +}