Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/
Date: Tue, 25 May 2021 05:14:01
Message-Id: 1621918627.04b906571525255384ef1538147fa9d1ff5996b9.mgorny@gentoo
1 commit: 04b906571525255384ef1538147fa9d1ff5996b9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 25 04:44:06 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 25 04:57:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b90657
7
8 install-qa-check.d: expect unset DUS for bdepend
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 metadata/install-qa-check.d/60distutils-use-setuptools | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15 diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools b/metadata/install-qa-check.d/60distutils-use-setuptools
16 index d5b9f87a21a..effa65358aa 100644
17 --- a/metadata/install-qa-check.d/60distutils-use-setuptools
18 +++ b/metadata/install-qa-check.d/60distutils-use-setuptools
19 @@ -76,7 +76,11 @@ distutils_use_setuptools_check() {
20
21 eqawarn "DISTUTILS_USE_SETUPTOOLS value is probably incorrect"
22 eqawarn " have: DISTUTILS_USE_SETUPTOOLS=${DISTUTILS_USE_SETUPTOOLS}${def}"
23 - eqawarn " expected: DISTUTILS_USE_SETUPTOOLS=${expected[0]}"
24 + if [[ ${expected[0]} == bdepend ]]; then
25 + eqawarn " expected: (unset)"
26 + else
27 + eqawarn " expected: DISTUTILS_USE_SETUPTOOLS=${expected[0]}"
28 + fi
29 fi
30 fi
31 }