diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-17 16:21:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-17 21:01:22 +0200 |
commit | 9299e432898fbac084312c7766b660955b1041b7 (patch) | |
tree | 395b32be6a4e6a54b309be0bb16dbfb3ef6711a3 /metadata | |
parent | dev-python/executing: Bump to 0.5.3 (diff) | |
download | gentoo-9299e432898fbac084312c7766b660955b1041b7.tar.gz gentoo-9299e432898fbac084312c7766b660955b1041b7.tar.bz2 gentoo-9299e432898fbac084312c7766b660955b1041b7.zip |
install-qa-check.d/60distutils...: silence requires.txt error
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/install-qa-check.d/60distutils-use-setuptools | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools b/metadata/install-qa-check.d/60distutils-use-setuptools index 097c7dc8e5ae..3b9523fcdaba 100644 --- a/metadata/install-qa-check.d/60distutils-use-setuptools +++ b/metadata/install-qa-check.d/60distutils-use-setuptools @@ -29,7 +29,8 @@ distutils_use_setuptools_check() { then # entry_points == we need rdepend new_expected=rdepend - elif grep -q -s '^setuptools' \ + elif [[ -f ${egg}/requires.txt ]] && + grep -q -s '^setuptools' \ <(sed -e '/^\[/,$d' "${egg}"/requires.txt) then # explicit *unconditional* rdepend in package metadata |