From aeefba0eeea1e6f03173331edcc26bf8c2f2a215 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 13 Jan 2020 19:56:12 +0100 Subject: [PATCH] distutils-r1.eclass: Fix detection of setuptools entry_points MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/705362 Signed-off-by: Michał Górny Signed-off-by: Sebastian Pipping --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 65294a065da7..302651858352 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -447,7 +447,7 @@ _distutils_verify_use_setuptools() { # as a special case, setuptools provides itself ;-) : elif grep -E -q -s '(from|import)\s+setuptools' setup.py; then - if grep -E -q -s 'entry_points\s+=' setup.py; then + if grep -E -q -s 'entry_points\s*=' setup.py; then expected=rdepend else expected=bdepend -- 2.26.2