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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DCE1C15800F for ; Sat, 14 Jan 2023 17:46:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C300E084A; Sat, 14 Jan 2023 17:46:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4AA0E084A for ; Sat, 14 Jan 2023 17:46:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0CC6335CE9 for ; Sat, 14 Jan 2023 17:46:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90A207F4 for ; Sat, 14 Jan 2023 17:46:04 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1673718335.d7eff65271d43a6354572d8e2c4821072cb3e339.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/liquidctl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/liquidctl/Manifest app-misc/liquidctl/liquidctl-1.12.1.ebuild X-VCS-Directories: app-misc/liquidctl/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: d7eff65271d43a6354572d8e2c4821072cb3e339 X-VCS-Branch: master Date: Sat, 14 Jan 2023 17:46:04 +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: 6a715bae-ba62-47dd-b510-a7e4c6275efb X-Archives-Hash: 8a4e606f2b71cd737047f5f296887553 commit: d7eff65271d43a6354572d8e2c4821072cb3e339 Author: Stephan Hartmann gentoo org> AuthorDate: Sat Jan 14 17:45:22 2023 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Sat Jan 14 17:45:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7eff652 app-misc/liquidctl: add 1.12.1 Signed-off-by: Stephan Hartmann gentoo.org> app-misc/liquidctl/Manifest | 1 + app-misc/liquidctl/liquidctl-1.12.1.ebuild | 53 ++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-misc/liquidctl/Manifest b/app-misc/liquidctl/Manifest index 7223a49aed85..77760ab0c8e2 100644 --- a/app-misc/liquidctl/Manifest +++ b/app-misc/liquidctl/Manifest @@ -1,2 +1,3 @@ DIST liquidctl-1.11.1.tar.gz 1836371 BLAKE2B e302251855b48405d811287061df3593f0549f02d8d369ae0c0178c27722b69e3c589763de5a963e2b2a37d88f3213e649da9e6f74db59a36f9b803d33d2b038 SHA512 06c11eb0bb258ec4111e885d5ed2bf89842fc0a9bfbc57aee6c86d405808d9bd9582fa137beac7250949448454412d03ade0bc3ee16cd3bd8de3fff66a0cc1bf DIST liquidctl-1.12.0.tar.gz 1841834 BLAKE2B b3922a55db32234cf87914530beccbf58943fb66a9c71f94ed7135187035ad901da364fcab87dbfc8c57312d494e2daec7fabcfff6823b7b55fbb3b538db889b SHA512 6c55cd223e64a6f202dca0331fdb352c8402de859bd01b1eed1d9f3859fd9b6371393b2e365c642dd9a24e76adb5a1f6a9c0603214b3198c3c0ee4e7a8fafd39 +DIST liquidctl-1.12.1.tar.gz 1842721 BLAKE2B b3732d4192fef2a2dfcb8edd42a3fb0d5c2f9b32c43a8950561e302a122fe4c993338035d3b779929e625257f4f59576550bfbf8a334c1b1fbba868ed0abc562 SHA512 37e81f29516d051603fb50f9fd5e6b6646a02d2aea1dc1d4247b2286a9649f79b85c4d856ab5f1df04ae2f3eecc2ebc4f865e08b28be85c2915be9723854cf7a diff --git a/app-misc/liquidctl/liquidctl-1.12.1.ebuild b/app-misc/liquidctl/liquidctl-1.12.1.ebuild new file mode 100644 index 000000000000..446ab3f13df9 --- /dev/null +++ b/app-misc/liquidctl/liquidctl-1.12.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 udev + +DESCRIPTION="Cross-platform tool and drivers for liquid coolers and other devices" +HOMEPAGE="https://github.com/liquidctl/liquidctl" +SRC_URI="https://github.com/liquidctl/liquidctl/releases/download/v${PV}/${P}.tar.gz" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/crcmod[${PYTHON_USEDEP}] + dev-python/docopt[${PYTHON_USEDEP}] + dev-python/hidapi[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pyusb[${PYTHON_USEDEP}] + sys-apps/i2c-tools[${PYTHON_USEDEP},python] +" + +BDEPEND=" + dev-python/setuptools_scm[${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 + dodoc -r docs/linux/ + + udev_dorules extra/linux/71-liquidctl.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}