From 632119a7e17a8e1bebe62be56ea36c37b98cdddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 May 2021 23:06:53 +0200 Subject: [PATCH] dev-python/pytest-freezegun: Enable python3.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../pytest-freezegun/pytest-freezegun-0.4.2.ebuild | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild index 3660463caceaf..ebd2b8b853b50 100644 --- a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild +++ b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Easily freeze time in pytest test + fixtures" @@ -20,9 +20,4 @@ RDEPEND=" dev-python/freezegun[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}]" -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -} +distutils_enable_tests --install pytest