app-misc/liquidctl - 1.16.0 (gentoo)

Search

Install

Install this version:

emerge -a =app-misc/liquidctl-1.16.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/liquidctl-1.16.0

Or alternatively:

emerge --autounmask-write -a =app-misc/liquidctl-1.16.0

Package Information

Description:
Cross-platform tool and drivers for liquid coolers and other devices
Homepage:
https://github.com/liquidctl/liquidctl
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
1.16.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools

inherit distutils-r1 udev xdg-utils

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-1.7[${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}]
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

src_test() {
	# Clear xdg env, otherwise it attempts to write to /var/run and fails
	xdg_environment_reset
	distutils-r1_src_test
}

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
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/colorlog[]
	~dev-python/crcmod-1.7[]
	dev-python/docopt[]
	dev-python/hidapi[]
	dev-python/pillow[]
	dev-python/pyusb[]
	sys-apps/i2c-tools[,python]

BDEPEND

	dev-python/setuptools-scm[]

Manifest for 1.16.0

Type File Size Source URLs
DIST liquidctl-1.16.0.tar.gz 1901733 bytes https://github.com/liquidctl/liquidctl/releases/download/v1.16.0/liquidctl-1.16.0.tar.gz