summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-14 17:08:35 +0100
committerMichał Górny <mgorny@gentoo.org>2021-03-14 17:16:10 +0100
commitb66247ac1ed7457b0d1c360d51ded4abdcb75075 (patch)
tree426320e3a314917b5e080365f5930e2a5ca1918e /dev-python/genshi
parentapp-admin/sudo: Bump to version 1.9.6. Removed old (diff)
downloadgentoo-b66247ac1ed7457b0d1c360d51ded4abdcb75075.tar.gz
gentoo-b66247ac1ed7457b0d1c360d51ded4abdcb75075.tar.bz2
gentoo-b66247ac1ed7457b0d1c360d51ded4abdcb75075.zip
dev-python/genshi: Fix test deps, DISTUTILS_USE_SETUPTOOLS
Closes: https://bugs.gentoo.org/770232 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/genshi')
-rw-r--r--dev-python/genshi/genshi-0.7.5.ebuild8
1 files 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 277bb83e32e2..df83cb0bda75 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