diff options
author | Sebastian Pipping <sping@gentoo.org> | 2020-01-13 19:56:12 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2020-01-13 20:00:29 +0100 |
commit | aeefba0eeea1e6f03173331edcc26bf8c2f2a215 (patch) | |
tree | ab5b2334f372f2244d20cc6e790b88871b184c24 /eclass/distutils-r1.eclass | |
parent | app-pda/libplist: Python 3.7 and 3.8 compatibility (diff) | |
download | gentoo-aeefba0eeea1e6f03173331edcc26bf8c2f2a215.tar.gz gentoo-aeefba0eeea1e6f03173331edcc26bf8c2f2a215.tar.bz2 gentoo-aeefba0eeea1e6f03173331edcc26bf8c2f2a215.zip |
distutils-r1.eclass: Fix detection of setuptools entry_points
Closes: https://bugs.gentoo.org/705362
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |