From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rocm-smi/
Date: Mon, 28 Dec 2020 17:24:55 +0000 (UTC) [thread overview]
Message-ID: <1609176251.c3877a5815fb63c7c885fc79d27d8346c1f4e6ce.candrews@gentoo> (raw)
commit: c3877a5815fb63c7c885fc79d27d8346c1f4e6ce
Author: Wilfried Holzke <gentoo <AT> holzke <DOT> net>
AuthorDate: Mon Dec 28 09:42:03 2020 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 17:24:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3877a58
dev-util/rocm-smi: ROCm System Management Interface
Signed-off-by: Wilfried Holzke <gentoo <AT> holzke.net>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/18848
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
dev-util/rocm-smi/Manifest | 1 +
dev-util/rocm-smi/metadata.xml | 19 ++++++++++++++++++
dev-util/rocm-smi/rocm-smi-4.0.0.ebuild | 34 +++++++++++++++++++++++++++++++++
dev-util/rocm-smi/rocm-smi-9999.ebuild | 34 +++++++++++++++++++++++++++++++++
4 files changed, 88 insertions(+)
diff --git a/dev-util/rocm-smi/Manifest b/dev-util/rocm-smi/Manifest
new file mode 100644
index 00000000000..d19074784f5
--- /dev/null
+++ b/dev-util/rocm-smi/Manifest
@@ -0,0 +1 @@
+DIST rocm-smi-4.0.0.tar.gz 45065 BLAKE2B 90a28c162099deaa67c98701b79328c760973d88fa598f8a66116927483f25dbfd85366312c4c6e8e64fa2199dfb32fb661db04b464bd58cb39dea09a84ac51e SHA512 63c1274470df079320164d29cb4c009f52e59ffebdadfefe73cbe21238a70858fd5a86417b9f81ab2c405bc64707b02ddbf65e9d301f757f245b60152cd63dcf
diff --git a/dev-util/rocm-smi/metadata.xml b/dev-util/rocm-smi/metadata.xml
new file mode 100644
index 00000000000..c968d7fd87f
--- /dev/null
+++ b/dev-util/rocm-smi/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>candrews@gentoo.org</email>
+ <name>Craig Andrews</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>gentoo@holzke.net</email>
+ <name>Wilfried Holzke</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">RadeonOpenCompute/ROC-smi</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/rocm-smi/rocm-smi-4.0.0.ebuild b/dev-util/rocm-smi/rocm-smi-4.0.0.ebuild
new file mode 100644
index 00000000000..3dd0188d8e6
--- /dev/null
+++ b/dev-util/rocm-smi/rocm-smi-4.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit python-single-r1
+
+DESCRIPTION="ROCm System Management Interface"
+HOMEPAGE="https://github.com/RadeonOpenCompute/ROC-smi"
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROC-smi"
+ EGIT_BRANCH="master"
+else
+ SRC_URI="https://github.com/RadeonOpenCompute/ROC-smi/archive/rocm-${PV}.tar.gz -> rocm-smi-${PV}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/ROC-smi-rocm-${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="${PYTHON_DEPS}"
+
+src_install() {
+ python_scriptinto /usr/bin
+ python_newscript rocm_smi.py rocm-smi
+}
diff --git a/dev-util/rocm-smi/rocm-smi-9999.ebuild b/dev-util/rocm-smi/rocm-smi-9999.ebuild
new file mode 100644
index 00000000000..3dd0188d8e6
--- /dev/null
+++ b/dev-util/rocm-smi/rocm-smi-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit python-single-r1
+
+DESCRIPTION="ROCm System Management Interface"
+HOMEPAGE="https://github.com/RadeonOpenCompute/ROC-smi"
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROC-smi"
+ EGIT_BRANCH="master"
+else
+ SRC_URI="https://github.com/RadeonOpenCompute/ROC-smi/archive/rocm-${PV}.tar.gz -> rocm-smi-${PV}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/ROC-smi-rocm-${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="${PYTHON_DEPS}"
+
+src_install() {
+ python_scriptinto /usr/bin
+ python_newscript rocm_smi.py rocm-smi
+}
next reply other threads:[~2020-12-28 17:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-28 17:24 Craig Andrews [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-12 9:37 [gentoo-commits] repo/gentoo:master commit in: dev-util/rocm-smi/ Joonas Niilola
2022-12-19 14:00 Andreas Sturmlechner
2022-12-25 22:06 David Seifert
2023-01-27 7:33 Joonas Niilola
2023-01-27 7:33 Joonas Niilola
2023-01-27 7:33 Joonas Niilola
2023-02-01 9:53 Andreas Sturmlechner
2023-07-30 4:39 Benda XU
2024-03-21 2:41 Sam James
2024-07-20 6:42 Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1609176251.c3877a5815fb63c7c885fc79d27d8346c1f4e6ce.candrews@gentoo \
--to=candrews@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox