diff --git a/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass index b9366d1875..7b025261eb 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass @@ -565,6 +565,10 @@ distutils_enable_tests() { _set_epytest_plugins for plugin in "${EPYTEST_PLUGINS[@]}"; do case ${plugin} in + ${PN}) + # don't add a dependency on self + continue + ;; pkgcore) plugin=sys-apps/${plugin} ;;