commit: 4ec0db9402d0c35d2f5401caf422fd41e69b65b4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 11:51:22 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 29 11:42:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec0db94
install-qa-check.d: Make DUS aware of gui_scripts
Make DISTUTILS_USE_SETUPTOOLS check aware of gui_scripts in addition
to console_scripts. Thanks to Arfrever for reporting.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
metadata/install-qa-check.d/60distutils-use-setuptools | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools
b/metadata/install-qa-check.d/60distutils-use-setuptools
index 69164608fca..d5b9f87a21a 100644
--- a/metadata/install-qa-check.d/60distutils-use-setuptools
+++ b/metadata/install-qa-check.d/60distutils-use-setuptools
@@ -30,7 +30,7 @@ distutils_use_setuptools_check() {
then
# explicit *unconditional* rdepend in
package metadata
new_expected=rdepend
- elif grep -q -s -F '[console_scripts]' \
+ elif grep -q -s '\[\(console\|gui\)_scripts\]' \
"${egg}"/entry_points.txt
then
new_expected=entry-point