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