summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-18 13:51:22 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-29 13:42:16 +0200
commit4ec0db9402d0c35d2f5401caf422fd41e69b65b4 (patch)
treea7bcdcecb2cec14d3967a6c4bbaecc8da7c3da05 /metadata
parentinstall-qa-check.d: Future-proof entry point values for DUS (diff)
downloadgentoo-4ec0db9402d0c35d2f5401caf422fd41e69b65b4.tar.gz
gentoo-4ec0db9402d0c35d2f5401caf422fd41e69b65b4.tar.bz2
gentoo-4ec0db9402d0c35d2f5401caf422fd41e69b65b4.zip
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@gentoo.org>
Diffstat (limited to 'metadata')
-rw-r--r--metadata/install-qa-check.d/60distutils-use-setuptools2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools b/metadata/install-qa-check.d/60distutils-use-setuptools
index 69164608fcaa..d5b9f87a21a1 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