summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-17 06:26:52 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-17 06:52:19 +0100
commitced874146fb07c642d12eabde46d9d3c09ece021 (patch)
tree7cc7e50e1aa1af7b7d34bb5eebf10d6c37aadf75
parentdev-python/html2text: Bump to 2020.1.16 (diff)
downloadgentoo-ced874146fb07c642d12eabde46d9d3c09ece021.tar.gz
gentoo-ced874146fb07c642d12eabde46d9d3c09ece021.tar.bz2
gentoo-ced874146fb07c642d12eabde46d9d3c09ece021.zip
distutils-r1.eclass: Look for entry_points in setup.cfg
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--eclass/distutils-r1.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 302651858352..a840769cdecf 100644
--- 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