commit:     04b906571525255384ef1538147fa9d1ff5996b9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 25 04:44:06 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 25 04:57:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b90657

install-qa-check.d: expect unset DUS for bdepend

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 metadata/install-qa-check.d/60distutils-use-setuptools | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools 
b/metadata/install-qa-check.d/60distutils-use-setuptools
index d5b9f87a21a..effa65358aa 100644
--- a/metadata/install-qa-check.d/60distutils-use-setuptools
+++ b/metadata/install-qa-check.d/60distutils-use-setuptools
@@ -76,7 +76,11 @@ distutils_use_setuptools_check() {
 
                                eqawarn "DISTUTILS_USE_SETUPTOOLS value is 
probably incorrect"
                                eqawarn "  have:     
DISTUTILS_USE_SETUPTOOLS=${DISTUTILS_USE_SETUPTOOLS}${def}"
-                               eqawarn "  expected: 
DISTUTILS_USE_SETUPTOOLS=${expected[0]}"
+                               if [[ ${expected[0]} == bdepend ]]; then
+                                       eqawarn "  expected: (unset)"
+                               else
+                                       eqawarn "  expected: 
DISTUTILS_USE_SETUPTOOLS=${expected[0]}"
+                               fi
                fi
        fi
 }

Reply via email to