commit: 0e5f3e7615d2f9ccee3c8dc00d7d1a36c68c5f57
Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Wed Jan 18 12:52:37 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 07:33:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5f3e76
dev-util/rocm-smi: Fix shebang of rocm-smi
The shebang of rocm_smi.py is `/usr/bin/env python3`, thus should be mangled.
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/rocm-smi/rocm-smi-5.1.3.ebuild | 2 +-
dev-util/rocm-smi/rocm-smi-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-util/rocm-smi/rocm-smi-5.1.3.ebuild
b/dev-util/rocm-smi/rocm-smi-5.1.3.ebuild
index 90b2396a727d..f2b4fc660707 100644
--- a/dev-util/rocm-smi/rocm-smi-5.1.3.ebuild
+++ b/dev-util/rocm-smi/rocm-smi-5.1.3.ebuild
@@ -57,6 +57,6 @@ src_configure() {
src_install() {
cmake_src_install
- python_foreach_impl python_newexe python_smi_tools/rocm_smi.py rocm-smi
+ python_foreach_impl python_newscript python_smi_tools/rocm_smi.py
rocm-smi
python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py
}
diff --git a/dev-util/rocm-smi/rocm-smi-9999.ebuild
b/dev-util/rocm-smi/rocm-smi-9999.ebuild
index 16c82ecdbbe5..8d35ce910b8b 100644
--- a/dev-util/rocm-smi/rocm-smi-9999.ebuild
+++ b/dev-util/rocm-smi/rocm-smi-9999.ebuild
@@ -51,6 +51,6 @@ src_configure() {
src_install() {
cmake_src_install
- python_foreach_impl python_newexe python_smi_tools/rocm_smi.py rocm-smi
+ python_foreach_impl python_newscript python_smi_tools/rocm_smi.py
rocm-smi
python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py
}