summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-21 19:23:53 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-21 19:48:47 +0200
commitce4ffcbe97e237429594136a3b600c3948f6d6c0 (patch)
treef772c9e9a608ea4ce53fc4f660befd5eb48fa4fa /metadata/install-qa-check.d
parentsys-kernel/zen-sources: Version bump, 5.8.10 (diff)
downloadgentoo-ce4ffcbe97e237429594136a3b600c3948f6d6c0.tar.gz
gentoo-ce4ffcbe97e237429594136a3b600c3948f6d6c0.tar.bz2
gentoo-ce4ffcbe97e237429594136a3b600c3948f6d6c0.zip
install-qa-check.d: Account for setuptools in requires.txt
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'metadata/install-qa-check.d')
-rw-r--r--metadata/install-qa-check.d/60distutils-use-setuptools4
1 files changed, 4 insertions, 0 deletions
diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools b/metadata/install-qa-check.d/60distutils-use-setuptools
index db07212cce48..6581b5dab09c 100644
--- a/metadata/install-qa-check.d/60distutils-use-setuptools
+++ b/metadata/install-qa-check.d/60distutils-use-setuptools
@@ -15,6 +15,10 @@ get_expected_distutils_use_setuptools() {
then
# entry_points == we need rdepend
new_expected=rdepend
+ elif grep -q -E -s '^setuptools' "${egg}"/requires.txt
+ then
+ # explicit rdepend in package metadata
+ new_expected=rdepend
else
new_expected=bdepend
fi