commit: 8024ec5154cc897759379bde7b1dcb863843e6d4 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Apr 25 18:19:48 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Apr 25 18:44:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8024ec51
dev-python/pytest-subtesthack: Enable py3.{7,8}, modernize Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild index 8de886930db..87ae193d067 100644 --- a/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild +++ b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) -PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 DESCRIPTION="A hack for test fixtures, needed for hypothesis inside py.test" @@ -27,5 +29,5 @@ DEPEND="${RDEPEND} python_test() { distutils_install_for_testing - py.test -v || die "Tests fail with ${EPYTHON}" + pytest -vv || die "Tests fail with ${EPYTHON}" }