diff --git a/sys-apps/amd-debug-tools/Manifest b/sys-apps/amd-debug-tools/Manifest new file mode 100644 index 0000000000..8149aa244f --- /dev/null +++ b/sys-apps/amd-debug-tools/Manifest @@ -0,0 +1 @@ +DIST amd-debug-tools-0.2.7.tar.gz 96113 BLAKE2B 7b7bc52258193774627de6d3c88ca364229a2c06aace5b90032f24862ff98d27f7d93f1dca567ab41a3f465b0d130f8d364bb8cf00355a0f056c5ae3f8b5bfe3 SHA512 b66de366490830fe1de52b7bad8f9858d5023f79ee33412d016af94c21372668acef2ed9e1b8b59b434be58d8901364b0464b460baaf40cef2cf76e8382b5947 diff --git a/sys-apps/amd-debug-tools/amd-debug-tools-0.2.7.ebuild b/sys-apps/amd-debug-tools/amd-debug-tools-0.2.7.ebuild new file mode 100644 index 0000000000..04feb8a1fe --- /dev/null +++ b/sys-apps/amd-debug-tools/amd-debug-tools-0.2.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..13} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Helpful tools for debugging AMD Zen systems" +HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/superm1/amd-debug-tools.git" +SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/superm1/${PN}.git/snapshot/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] + dev-python/seaborn[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}]" + +RDEPEND="${DEPEND} + || ( >=media-libs/libv4l-1.30.1[utils] sys-apps/edid-decode ) + sys-power/iasl" + +distutils_enable_tests unittest + +python_test() { + eunittest -s src +}