commit:     397b231b399b88a2d4688c57844706249ca7ca87
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  1 05:43:03 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun  1 05:56:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=397b231b

distutils-r1.eclass: Cover plain '[entry_points]' in setup.cfg

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/distutils-r1.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 254a25fd3a6..8fa343ae75f 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -476,6 +476,8 @@ _distutils_verify_use_setuptools() {
                        expected=rdepend
                elif grep -F -q -s '[options.entry_points]' setup.cfg; then
                        expected=rdepend
+               elif grep -F -q -s '[entry_points]' setup.cfg; then  # pbr
+                       expected=rdepend
                else
                        expected=bdepend
                fi

Reply via email to