1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
9 DESCRIPTION="Library for creating and manipulating HTML documents using an elegant DOM API"
10 HOMEPAGE="https://github.com/Knio/dominate"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
17 RESTRICT="!test? ( test )"
20 dev-python/setuptools[${PYTHON_USEDEP}]
21 test? ( dev-python/pytest[${PYTHON_USEDEP}] )
25 pytest -vv || die "Tests failed with ${EPYTHON}"