commit:     b078919d50300e52a8c6bb1d998daf64034db86b
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Mon Nov  2 23:37:57 2020 +0000
Commit:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
CommitDate: Mon Nov  2 23:37:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b078919d

app-misc/liquidctl: 1.4.2

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>

 app-misc/liquidctl/Manifest               |  1 +
 app-misc/liquidctl/liquidctl-1.4.2.ebuild | 35 +++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/app-misc/liquidctl/Manifest b/app-misc/liquidctl/Manifest
index 373b6da8..ad738268 100644
--- a/app-misc/liquidctl/Manifest
+++ b/app-misc/liquidctl/Manifest
@@ -1 +1,2 @@
 DIST liquidctl-1.4.1.tar.gz 149114 BLAKE2B 
eee91d82cd31021aa8a290844c74ff117024383f85eaa83ef89bf4f1d3e9d1af29b6b530497c356fb51aaca6f686522768eb1df0c7fb85ecdc34b630109a1db9
 SHA512 
f5f1e1e9f4f03ab2bc1252a65a118a1cfd2203f4cbde7e7ddb45667b20ec7757d35eff9f69922395efb1461d660b104531230942f4d537428f30ae3e59ed2594
+DIST liquidctl-1.4.2.tar.gz 159500 BLAKE2B 
a307949798c779f0a45494b0353f45b1a1d957fc9e5d3eeb9eefaaa03b82e4df1c5a9adce3bc025caf2a95745b225a112780ba6a426367ee45aa868c1f1620e5
 SHA512 
06a832c1e4784def449e64b9c119cf9fc8554932644d0126ad24ce1ab68995ea510e5473db2bdd8f1d20d4d5f505f21ecbf4ae490b6984fb87407ea9e6bfb58e

diff --git a/app-misc/liquidctl/liquidctl-1.4.2.ebuild 
b/app-misc/liquidctl/liquidctl-1.4.2.ebuild
new file mode 100644
index 00000000..b4d2acfa
--- /dev/null
+++ b/app-misc/liquidctl/liquidctl-1.4.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1 udev
+
+DESCRIPTION="Cross-platform tool and drivers for liquid coolers and other 
devices"
+HOMEPAGE="https://github.com/jonasmalacofilho/liquidctl";
+SRC_URI="https://github.com/jonasmalacofilho/liquidctl/releases/download/v${PV}/${P}.tar.gz";
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/docopt[${PYTHON_USEDEP}]
+       dev-python/hidapi[${PYTHON_USEDEP}]
+       dev-python/pyusb[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+       # Without this variable, it attempts to write to /var/run and fails
+       XDG_RUNTIME_DIR="${T}/xdg" distutils-r1_src_test || die
+}
+
+python_install_all() {
+       distutils-r1_python_install_all
+       dodoc docs/*.md || die
+       dodoc -r docs/linux/
+       udev_dorules extra/linux/71-liquidctl.rules
+}

Reply via email to