Signed-off-by: Michał Górny <mgorny@gentoo.org>
LICENSE="MIT Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- )
-"
+
+distutils_enable_tests pytest
python_prepare_all() {
# Remove base64-encoded zip archive with pytest.
distutils-r1_python_prepare_all
}
-
-python_test() {
- esetup.py test
-}