eclass/distutils-r1: Sync with Gentoo

It's from Gentoo commit 5d977ed349465ab3cdc376194d03424cbb2cb9c8.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Flatcar Buildbot 2025-07-21 07:13:17 +00:00 committed by Mathieu Tortuyaux
parent 6132c8d759
commit 2376e48680
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

@ -565,6 +565,10 @@ distutils_enable_tests() {
_set_epytest_plugins _set_epytest_plugins
for plugin in "${EPYTEST_PLUGINS[@]}"; do for plugin in "${EPYTEST_PLUGINS[@]}"; do
case ${plugin} in case ${plugin} in
${PN})
# don't add a dependency on self
continue
;;
pkgcore) pkgcore)
plugin=sys-apps/${plugin} plugin=sys-apps/${plugin}
;; ;;