projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d8347
)
distutils-r1.eclass: Look for entry_points in setup.cfg
author
Michał Górny
<mgorny@gentoo.org>
Fri, 17 Jan 2020 05:26:52 +0000
(06:26 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Fri, 17 Jan 2020 05:52:19 +0000
(06:52 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/distutils-r1.eclass
patch
|
blob
|
history
diff --git
a/eclass/distutils-r1.eclass
b/eclass/distutils-r1.eclass
index 3026518583523931d7080909f9557f71633fbf22..a840769cdecf1382f0c63539ccb238073d3aa6df 100644
(file)
--- a/
eclass/distutils-r1.eclass
+++ b/
eclass/distutils-r1.eclass
@@
-449,6
+449,8
@@
_distutils_verify_use_setuptools() {
elif grep -E -q -s '(from|import)\s+setuptools' setup.py; then
if grep -E -q -s 'entry_points\s*=' setup.py; then
expected=rdepend
+ elif grep -F -q -s '[options.entry_points]' setup.cfg; then
+ expected=rdepend
else
expected=bdepend
fi