commit: b66247ac1ed7457b0d1c360d51ded4abdcb75075 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Mar 14 16:08:35 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Mar 14 16:16:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b66247ac
dev-python/genshi: Fix test deps, DISTUTILS_USE_SETUPTOOLS Closes: https://bugs.gentoo.org/770232 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/genshi/genshi-0.7.5.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-python/genshi/genshi-0.7.5.ebuild b/dev-python/genshi/genshi-0.7.5.ebuild index 277bb83e32e..df83cb0bda7 100644 --- a/dev-python/genshi/genshi-0.7.5.ebuild +++ b/dev-python/genshi/genshi-0.7.5.ebuild @@ -4,19 +4,21 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="Python toolkit for stream-based generation of output for the web" HOMEPAGE="http://genshi.edgewall.org/ https://pypi.org/project/Genshi/" SRC_URI="mirror://pypi/G/${PN^}/${P^}.tar.gz" +S="${WORKDIR}/${P^}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc examples" +IUSE="doc examples test" +RESTRICT="!test? ( test )" -S="${WORKDIR}/${P^}" +BDEPEND=" + test? ( dev-python/six[${PYTHON_USEDEP}] )" distutils_enable_tests setup.py