diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2023-01-14 09:37:40 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2023-01-14 09:37:56 +0100 |
commit | 84bcc9d072c4f6730984e33e9b18becd46416415 (patch) | |
tree | d2f096f22065bce8528ce89e6d038998a084785e /app-misc/liquidctl | |
parent | www-client/chromium: promote M109 to stable (diff) | |
download | gentoo-84bcc9d072c4f6730984e33e9b18becd46416415.tar.gz gentoo-84bcc9d072c4f6730984e33e9b18becd46416415.tar.bz2 gentoo-84bcc9d072c4f6730984e33e9b18becd46416415.zip |
app-misc/liquidctl: add 1.12.0
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'app-misc/liquidctl')
-rw-r--r-- | app-misc/liquidctl/Manifest | 1 | ||||
-rw-r--r-- | app-misc/liquidctl/liquidctl-1.12.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/liquidctl/Manifest b/app-misc/liquidctl/Manifest index fd09f0a631a6..cc92424046cd 100644 --- a/app-misc/liquidctl/Manifest +++ b/app-misc/liquidctl/Manifest @@ -1,2 +1,3 @@ DIST liquidctl-1.10.0.tar.gz 1807672 BLAKE2B e7f06ed51c82f0f1fcf5e3adfca1f84040373b1010246eca9f74a170019e53acecc588772708753585fc9c8491e00fd0fa5a1ecd991bef6507e5042431519199 SHA512 3e86078d8d9f985f60a52a13778b14712dc56a7574a885bb4238bdce7ebb1bcc80c29e560c47e4d0523b621e9d3c7faf2e28631e20e45c083e365024327ba5a2 DIST liquidctl-1.11.1.tar.gz 1836371 BLAKE2B e302251855b48405d811287061df3593f0549f02d8d369ae0c0178c27722b69e3c589763de5a963e2b2a37d88f3213e649da9e6f74db59a36f9b803d33d2b038 SHA512 06c11eb0bb258ec4111e885d5ed2bf89842fc0a9bfbc57aee6c86d405808d9bd9582fa137beac7250949448454412d03ade0bc3ee16cd3bd8de3fff66a0cc1bf +DIST liquidctl-1.12.0.tar.gz 1841834 BLAKE2B b3922a55db32234cf87914530beccbf58943fb66a9c71f94ed7135187035ad901da364fcab87dbfc8c57312d494e2daec7fabcfff6823b7b55fbb3b538db889b SHA512 6c55cd223e64a6f202dca0331fdb352c8402de859bd01b1eed1d9f3859fd9b6371393b2e365c642dd9a24e76adb5a1f6a9c0603214b3198c3c0ee4e7a8fafd39 diff --git a/app-misc/liquidctl/liquidctl-1.12.0.ebuild b/app-misc/liquidctl/liquidctl-1.12.0.ebuild new file mode 100644 index 000000000000..446ab3f13df9 --- /dev/null +++ b/app-misc/liquidctl/liquidctl-1.12.0.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 +} |