Signed-off-by: Michał Górny <mgorny@gentoo.org>
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=(
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() {