From ced874146fb07c642d12eabde46d9d3c09ece021 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 17 Jan 2020 06:26:52 +0100 Subject: [PATCH] distutils-r1.eclass: Look for entry_points in setup.cfg MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2