From 8024ec5154cc897759379bde7b1dcb863843e6d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 25 Apr 2020 20:19:48 +0200 Subject: [PATCH] dev-python/pytest-subtesthack: Enable py3.{7,8}, modernize MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../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 8de886930db2..87ae193d0678 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}" } -- 2.26.2