From 165ef8fa44a7cb5ff3c246c68f44423b257cabaf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 16 Dec 2019 15:02:41 +0100 Subject: [PATCH] dev-python/bottle: Replace python_gen_usedep MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/bottle/bottle-0.12.16.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-python/bottle/bottle-0.12.16.ebuild b/dev-python/bottle/bottle-0.12.16.ebuild index 529b10e1111e..4d5b75adc20f 100644 --- a/dev-python/bottle/bottle-0.12.16.ebuild +++ b/dev-python/bottle/bottle-0.12.16.ebuild @@ -18,7 +18,11 @@ IUSE="test" RESTRICT="!test? ( test )" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/mako[$(python_gen_usedep 'python*')] )" + test? ( + $(python_gen_cond_dep ' + dev-python/mako[${PYTHON_USEDEP}] + ' 'python*') + )" RDEPEND="" PATCHES=( @@ -36,7 +40,7 @@ python_prepare_all() { python_test() { # A few odd fails in the suite under pypy # https://github.com/bottlepy/bottle/issues/714 - "${PYTHON}" test/testall.py || die "tests failed under ${EPYTHON}" + "${EPYTHON}" test/testall.py || die "tests failed under ${EPYTHON}" } pkg_postinst() { -- 2.26.2