aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-05-02 10:06:46 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-05-02 10:07:09 +0200
commite4c9b9c48ae44a097da42eada8991e24b3f87a48 (patch)
tree04a44668b631afeb8bf203c5a9fdd4f3dad20b8e /sys-power
parentx11-drivers/OpenTabletDriver-bin: fixed formatting (diff)
downloadguru-e4c9b9c48ae44a097da42eada8991e24b3f87a48.tar.gz
guru-e4c9b9c48ae44a097da42eada8991e24b3f87a48.tar.bz2
guru-e4c9b9c48ae44a097da42eada8991e24b3f87a48.zip
sys-power/amdgpu-fan: new package
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/amdgpu-fan/Manifest1
-rw-r--r--sys-power/amdgpu-fan/amdgpu-fan-0.1.0.ebuild28
-rw-r--r--sys-power/amdgpu-fan/metadata.xml8
3 files changed, 37 insertions, 0 deletions
diff --git a/sys-power/amdgpu-fan/Manifest b/sys-power/amdgpu-fan/Manifest
new file mode 100644
index 000000000..ddc91761e
--- /dev/null
+++ b/sys-power/amdgpu-fan/Manifest
@@ -0,0 +1 @@
+DIST amdgpu-fan-0.1.0.tar.gz 12469 BLAKE2B 955ed51e5b1d6054542cfe9a3057c4cedcb95a73782472a2e2c9fa731e525259e38ba7d8186c2a166ba85ecf0b3c1f7d7288112670ff3587040c92bbc2a17ad1 SHA512 b21d8e413d44a263fdbef37fff11a496fe5e46a1f4d1e7ade161dde36750cf0dc02dfd2ccaebc455dac5aa023150101a65a255a38e6d9b70a6bba39da8f26378
diff --git a/sys-power/amdgpu-fan/amdgpu-fan-0.1.0.ebuild b/sys-power/amdgpu-fan/amdgpu-fan-0.1.0.ebuild
new file mode 100644
index 000000000..157d1f880
--- /dev/null
+++ b/sys-power/amdgpu-fan/amdgpu-fan-0.1.0.ebuild
@@ -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
+}
diff --git a/sys-power/amdgpu-fan/metadata.xml b/sys-power/amdgpu-fan/metadata.xml
new file mode 100644
index 000000000..b119d860d
--- /dev/null
+++ b/sys-power/amdgpu-fan/metadata.xml
@@ -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>