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@gentoo.org>
This commit is contained in:
Sam James
2025-10-18 15:36:16 +01:00
parent eff05da8cc
commit a6387dd486
2 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,10 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Sam James <sam@gentoo.org> (2025-10-18)
# dev-python/nvidia-ml-py is not keyworded here
sys-process/atop video_cards_nvidia
# PPN-SD <nicolas.parlant@parhuet.fr> (2025-10-04)
# media-libs/libemf is not keyworded here
app-office/dia wmf

View File

@@ -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