summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-10-16 09:26:14 +0200
committerMichał Górny <mgorny@gentoo.org>2020-10-16 09:42:00 +0200
commitecf9d27564f4c197d1950d6cfe6b06071b0aad72 (patch)
tree4231772940dc0a72c2d2d0db2773173490d5d98d /metadata/install-qa-check.d
parentdev-python/traitlets: Bump to 5.0.5 (diff)
downloadgentoo-ecf9d27564f4c197d1950d6cfe6b06071b0aad72.tar.gz
gentoo-ecf9d27564f4c197d1950d6cfe6b06071b0aad72.tar.bz2
gentoo-ecf9d27564f4c197d1950d6cfe6b06071b0aad72.zip
install-qa-check.d/60distutils...: Squash more false positives
Thanks to Arfrever for help with the pipeline. 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-setuptools6
1 files changed, 3 insertions, 3 deletions
diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools b/metadata/install-qa-check.d/60distutils-use-setuptools
index 698d832800f7..097c7dc8e5ae 100644
--- a/metadata/install-qa-check.d/60distutils-use-setuptools
+++ b/metadata/install-qa-check.d/60distutils-use-setuptools
@@ -29,10 +29,10 @@ distutils_use_setuptools_check() {
then
# entry_points == we need rdepend
new_expected=rdepend
- elif grep -q -E -s '^setuptools' \
- "${egg}"/requires.txt
+ elif grep -q -s '^setuptools' \
+ <(sed -e '/^\[/,$d' "${egg}"/requires.txt)
then
- # explicit rdepend in package metadata
+ # explicit *unconditional* rdepend in package metadata
new_expected=rdepend
else
new_expected=bdepend