* [gentoo-commits] repo/proj/guru:dev commit in: sys-power/amdgpu-fan/
@ 2021-05-02 8:07 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-05-02 8:07 UTC (permalink / raw
To: gentoo-commits
commit: e4c9b9c48ae44a097da42eada8991e24b3f87a48
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 2 08:06:46 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May 2 08:07:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4c9b9c4
sys-power/amdgpu-fan: new package
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-power/amdgpu-fan/Manifest | 1 +
sys-power/amdgpu-fan/amdgpu-fan-0.1.0.ebuild | 28 ++++++++++++++++++++++++++++
sys-power/amdgpu-fan/metadata.xml | 8 ++++++++
3 files changed, 37 insertions(+)
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>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-power/amdgpu-fan/
@ 2021-05-02 8:10 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-05-02 8:10 UTC (permalink / raw
To: gentoo-commits
commit: 7ef7627bd2fcec665cbfd23d6f60ece88990309c
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 2 08:09:53 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May 2 08:09:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ef7627b
sys-power/amdgpu-fan: add maintainer
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-power/amdgpu-fan/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys-power/amdgpu-fan/metadata.xml b/sys-power/amdgpu-fan/metadata.xml
index b119d860d..0bea694ff 100644
--- a/sys-power/amdgpu-fan/metadata.xml
+++ b/sys-power/amdgpu-fan/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
<upstream>
<bugs-to>https://github.com/zzkW35/amdgpu-fan/issues</bugs-to>
<remote-id type="github">zzkW35/amdgpu-fan</remote-id>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-power/amdgpu-fan/
@ 2021-07-10 4:24 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-07-10 4:24 UTC (permalink / raw
To: gentoo-commits
commit: 3830bc43ee9ab7d182d7253fca02e2ee46b8bd38
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Jul 10 04:24:00 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Jul 10 04:24:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3830bc43
sys-power/amdgpu-fan: enable tests
Closes: https://bugs.gentoo.org/801013
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
...gpu-fan-0.1.0.ebuild => amdgpu-fan-0.1.0-r1.ebuild} | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/sys-power/amdgpu-fan/amdgpu-fan-0.1.0.ebuild b/sys-power/amdgpu-fan/amdgpu-fan-0.1.0-r1.ebuild
similarity index 75%
rename from sys-power/amdgpu-fan/amdgpu-fan-0.1.0.ebuild
rename to sys-power/amdgpu-fan/amdgpu-fan-0.1.0-r1.ebuild
index 157d1f880..0a54d7d45 100644
--- a/sys-power/amdgpu-fan/amdgpu-fan-0.1.0.ebuild
+++ b/sys-power/amdgpu-fan/amdgpu-fan-0.1.0-r1.ebuild
@@ -1,14 +1,16 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
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"
@@ -19,10 +21,22 @@ RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
"
DEPEND="${PYTHON_DEPS}"
+
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DOCS=( README.md )
+distutils_enable_tests unittest
+
+src_prepare() {
+ sed -e "s|PROJECTVERSION|${PV}|g" -i setup.py || die
+ default
+}
+
python_install_all() {
distutils-r1_python_install_all
systemd_dounit amdgpu-fan.service
}
+
+python_test() {
+ "${EPYTHON}" -m unittest discover tests || die
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-power/amdgpu-fan/
@ 2022-05-28 15:15 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2022-05-28 15:15 UTC (permalink / raw
To: gentoo-commits
commit: 9be4fb8a5da8311b6144bed0cf7e8c7383ac6336
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May 28 14:53:18 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat May 28 14:53:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9be4fb8a
sys-power/amdgpu-fan: enable py3.11
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-power/amdgpu-fan/amdgpu-fan-0.1.0-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-power/amdgpu-fan/amdgpu-fan-0.1.0-r1.ebuild b/sys-power/amdgpu-fan/amdgpu-fan-0.1.0-r1.ebuild
index 0a54d7d45..2413023f7 100644
--- a/sys-power/amdgpu-fan/amdgpu-fan-0.1.0-r1.ebuild
+++ b/sys-power/amdgpu-fan/amdgpu-fan-0.1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 systemd
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-28 15:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-28 15:15 [gentoo-commits] repo/proj/guru:dev commit in: sys-power/amdgpu-fan/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2021-07-10 4:24 Alessandro Barbieri
2021-05-02 8:10 Alessandro Barbieri
2021-05-02 8:07 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox