dev-python/toml: move toml-test once before the tests

Closes: https://bugs.gentoo.org/974946
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-05-15 17:45:05 +03:00
parent 562a14e4a5
commit 386e63e23e

View File

@@ -32,13 +32,16 @@ RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
if use test; then
mv "${WORKDIR}/${TT_P}" toml-test || die
fi
}
src_install() {
distutils-r1_src_install
dodoc LICENSE
}
python_test() {
mv "${WORKDIR}/${TT_P}" toml-test || die
epytest
}