1 # Copyright 2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
7 DISTUTILS_USE_SETUPTOOLS=rdepend
10 DESCRIPTION="Pytest plugin to support for a predictable and repeatable temporary directory"
11 HOMEPAGE="https://github.com/saltstack/pytest-tempdir"
12 SRC_URI="https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
19 >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
22 distutils_enable_tests pytest
25 distutils_install_for_testing
26 pytest -vv || die "Tests failed with ${EPYTHON}"