mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 19:42:15 +02:00
eclass/distutils-r1: Sync with Gentoo
It's from Gentoo commit 3229e9f67a15f5a4e9031cb7813be36556537b58.
This commit is contained in:
parent
d6bb7a614a
commit
68f70b3d23
@ -561,6 +561,20 @@ distutils_enable_tests() {
|
|||||||
test_pkgs+=' dev-python/pytest-xdist[${PYTHON_USEDEP}]'
|
test_pkgs+=' dev-python/pytest-xdist[${PYTHON_USEDEP}]'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local plugin
|
||||||
|
_set_epytest_plugins
|
||||||
|
for plugin in "${EPYTEST_PLUGINS[@]}"; do
|
||||||
|
case ${plugin} in
|
||||||
|
pkgcore)
|
||||||
|
plugin=sys-apps/${plugin}
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
plugin=dev-python/${plugin}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
test_pkgs+=" ${plugin}[\${PYTHON_USEDEP}]"
|
||||||
|
done
|
||||||
|
|
||||||
if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
|
if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
|
||||||
test_deps+=" ${test_pkgs//'${PYTHON_USEDEP}'/${PYTHON_USEDEP}}"
|
test_deps+=" ${test_pkgs//'${PYTHON_USEDEP}'/${PYTHON_USEDEP}}"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user