mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user