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>
This commit is contained in:
Michał Górny
2021-04-18 13:51:22 +02:00
parent 166c979554
commit 4ec0db9402

View File

@@ -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