commit:     fec7291fc8e3442ce5a65276c7a947006639a0b7
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 30 15:24:42 2020 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Wed Sep 30 15:30:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec7291f

dev-python/cliff: fix DISTUTILS_USE_SETUPTOOLS QA warning

Closes: https://bugs.gentoo.org/745663
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-python/cliff/cliff-3.4.0.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/cliff/cliff-3.4.0.ebuild 
b/dev-python/cliff/cliff-3.4.0.ebuild
index 97560bbb48e..2cb3eca1cbe 100644
--- a/dev-python/cliff/cliff-3.4.0.ebuild
+++ b/dev-python/cliff/cliff-3.4.0.ebuild
@@ -4,7 +4,8 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+# pkg_resources is used even though the QA check doesn't detect it
+DISTUTILS_USE_SETUPTOOLS=manual
 
 inherit distutils-r1
 
@@ -20,12 +21,15 @@ RDEPEND="
        >=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}]
        <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
        >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
        >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
        >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}]
        >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
 "
-BDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+BDEPEND="
+       >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
        !~dev-python/pbr-2.1.0
+       dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                dev-python/sphinx[${PYTHON_USEDEP}]
                >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]

Reply via email to