commit: ce4ffcbe97e237429594136a3b600c3948f6d6c0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 17:23:53 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 17:48:47 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce4ffcbe
install-qa-check.d: Account for setuptools in requires.txt
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
metadata/install-qa-check.d/60distutils-use-setuptools | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools
b/metadata/install-qa-check.d/60distutils-use-setuptools
index db07212cce4..6581b5dab09 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