From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86EAA13835A for ; Tue, 3 Nov 2020 14:39:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AD7FE0AC0; Tue, 3 Nov 2020 14:39:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F89DE0AB5 for ; Tue, 3 Nov 2020 14:39:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12B29340DE2 for ; Tue, 3 Nov 2020 14:39:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 54F4642C for ; Tue, 3 Nov 2020 14:39:47 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1604360277.b078919d50300e52a8c6bb1d998daf64034db86b.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/liquidctl/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/liquidctl/Manifest app-misc/liquidctl/liquidctl-1.4.2.ebuild X-VCS-Directories: app-misc/liquidctl/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: b078919d50300e52a8c6bb1d998daf64034db86b X-VCS-Branch: master Date: Tue, 3 Nov 2020 14:39:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90a44505-f208-48c9-97c1-1c50bf72331e X-Archives-Hash: 912b628eb31a1f7a904bb2ad6836c460 commit: b078919d50300e52a8c6bb1d998daf64034db86b Author: Alexey Sokolov asokolov org> AuthorDate: Mon Nov 2 23:37:57 2020 +0000 Commit: Haelwenn Monnier hacktivis me> 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 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 +}