sys-power/amdgpu-fan: new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-05-02 10:06:46 +02:00
parent 46c2c356c2
commit e4c9b9c48a
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST amdgpu-fan-0.1.0.tar.gz 12469 BLAKE2B 955ed51e5b1d6054542cfe9a3057c4cedcb95a73782472a2e2c9fa731e525259e38ba7d8186c2a166ba85ecf0b3c1f7d7288112670ff3587040c92bbc2a17ad1 SHA512 b21d8e413d44a263fdbef37fff11a496fe5e46a1f4d1e7ade161dde36750cf0dc02dfd2ccaebc455dac5aa023150101a65a255a38e6d9b70a6bba39da8f26378

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1 systemd
DESCRIPTION="Fan controller for AMD graphics cards running the amdgpu driver on Linux"
HOMEPAGE="https://github.com/zzkW35/amdgpu-fan"
SRC_URI="https://github.com/zzkW35/amdgpu-fan/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
${PYTHON_DEPS}
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
"
DEPEND="${PYTHON_DEPS}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DOCS=( README.md )
python_install_all() {
distutils-r1_python_install_all
systemd_dounit amdgpu-fan.service
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<bugs-to>https://github.com/zzkW35/amdgpu-fan/issues</bugs-to>
<remote-id type="github">zzkW35/amdgpu-fan</remote-id>
</upstream>
</pkgmetadata>