dev-python/jinja: Set DISTUTILS_USE_SETUPTOOLS
authorMichał Górny <mgorny@gentoo.org>
Fri, 21 Feb 2020 16:49:59 +0000 (17:49 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 21 Feb 2020 17:28:31 +0000 (18:28 +0100)
Closes: https://bugs.gentoo.org/709956
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/jinja/jinja-2.10.3-r1.ebuild

index c23ba3eda2579a404100bbf903b2c7cd8671c5e0..61360d942c1fc46be2688e6fc63bb82e7f749467 100644 (file)
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
@@ -10,7 +11,6 @@ inherit distutils-r1
 
 DESCRIPTION="A full-featured template engine for Python"
 HOMEPAGE="http://jinja.pocoo.org/ https://pypi.org/project/Jinja2/"
-
 # pypi tarball is missing tests
 SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
@@ -20,11 +20,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~spa
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 
-CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+RDEPEND="
+       dev-python/markupsafe[${PYTHON_USEDEP}]
        !dev-python/jinja:compat"
-RDEPEND="${CDEPEND}
-       dev-python/markupsafe[${PYTHON_USEDEP}]"
-BDEPEND="${CDEPEND}"
+BDEPEND="${RDEPEND}"
 
 distutils_enable_sphinx docs \
        dev-python/sphinx-issues \