diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2022-08-30 21:04:48 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2022-08-30 21:05:02 +0200 |
commit | 14e698a2c04107c1df4a1be8b6657b1327bfb44f (patch) | |
tree | 0d2f35fac2af12341cc869601f8406295495d2ee /app-misc | |
parent | dev-python/geventhttpclient: Remove old (diff) | |
download | gentoo-14e698a2c04107c1df4a1be8b6657b1327bfb44f.tar.gz gentoo-14e698a2c04107c1df4a1be8b6657b1327bfb44f.tar.bz2 gentoo-14e698a2c04107c1df4a1be8b6657b1327bfb44f.zip |
app-misc/liquidctl: new package, add 1.10.0, moved from ::guru
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/liquidctl/Manifest | 1 | ||||
-rw-r--r-- | app-misc/liquidctl/liquidctl-1.10.0.ebuild | 51 | ||||
-rw-r--r-- | app-misc/liquidctl/metadata.xml | 12 |
3 files changed, 64 insertions, 0 deletions
diff --git a/app-misc/liquidctl/Manifest b/app-misc/liquidctl/Manifest new file mode 100644 index 000000000000..98e326679412 --- /dev/null +++ b/app-misc/liquidctl/Manifest @@ -0,0 +1 @@ +DIST liquidctl-1.10.0.tar.gz 1807672 BLAKE2B e7f06ed51c82f0f1fcf5e3adfca1f84040373b1010246eca9f74a170019e53acecc588772708753585fc9c8491e00fd0fa5a1ecd991bef6507e5042431519199 SHA512 3e86078d8d9f985f60a52a13778b14712dc56a7574a885bb4238bdce7ebb1bcc80c29e560c47e4d0523b621e9d3c7faf2e28631e20e45c083e365024327ba5a2 diff --git a/app-misc/liquidctl/liquidctl-1.10.0.ebuild b/app-misc/liquidctl/liquidctl-1.10.0.ebuild new file mode 100644 index 000000000000..8526e69b1a71 --- /dev/null +++ b/app-misc/liquidctl/liquidctl-1.10.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022 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/docopt[${PYTHON_USEDEP}] + dev-python/hidapi[${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 +} diff --git a/app-misc/liquidctl/metadata.xml b/app-misc/liquidctl/metadata.xml new file mode 100644 index 000000000000..dfbf44e3a404 --- /dev/null +++ b/app-misc/liquidctl/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sultan@gentoo.org</email> + <name>Stephan Hartmann</name> + </maintainer> + <upstream> + <remote-id type="github">liquidctl/liquidctl</remote-id> + <remote-id type="pypi">liquidctl</remote-id> + </upstream> +</pkgmetadata> |