commit:     a6387dd4869c7d94b14eb705f06f54de4abbbefd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 18 14:36:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 18 14:36:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6387dd4

sys-process/atop: make video_cards_nvidia work on arm64

.. but mask there for now, as  dev-python/nvidia-ml-py is not keyworded
there.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/arch/arm64/package.use.mask   | 4 ++++
 sys-process/atop/atop-2.12.0-r1.ebuild | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/profiles/arch/arm64/package.use.mask 
b/profiles/arch/arm64/package.use.mask
index e7af54732f2b..b5f013bf3a67 100644
--- a/profiles/arch/arm64/package.use.mask
+++ b/profiles/arch/arm64/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-10-18)
+# dev-python/nvidia-ml-py is not keyworded here
+sys-process/atop video_cards_nvidia
+
 # PPN-SD <[email protected]> (2025-10-04)
 # media-libs/libemf is not keyworded here
 app-office/dia wmf

diff --git a/sys-process/atop/atop-2.12.0-r1.ebuild 
b/sys-process/atop/atop-2.12.0-r1.ebuild
index 8b1a6583307a..3f48985c7560 100644
--- a/sys-process/atop/atop-2.12.0-r1.ebuild
+++ b/sys-process/atop/atop-2.12.0-r1.ebuild
@@ -33,12 +33,12 @@ RDEPEND="
        sys-libs/ncurses:=
        sys-libs/zlib
        >=sys-process/acct-6.6.4-r1
-       amd64? ( video_cards_nvidia? (
+       video_cards_nvidia? (
                ${PYTHON_DEPS}
                $(python_gen_cond_dep '
                        dev-python/nvidia-ml-py[${PYTHON_USEDEP}]
                ')
-       ) )
+       )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
@@ -54,7 +54,7 @@ pkg_setup() {
                linux-mod-r1_pkg_setup
        fi
 
-       if use amd64 && use video_cards_nvidia ; then
+       if use video_cards_nvidia ; then
                python-single-r1_pkg_setup
        fi
 }
@@ -124,7 +124,7 @@ src_install() {
 
                newinitd "${FILESDIR}"/atopgpud.initd atopgpud
 
-               python_fix_shebang ${ED}"/usr/sbin/atopgpud"
+               python_fix_shebang "${ED}/usr/sbin/atopgpud"
        else
                rm "${ED}"/usr/sbin/atopgpud || die
        fi

Reply via email to