commit:     632119a7e17a8e1bebe62be56ea36c37b98cdddb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May  7 21:06:53 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May  7 22:22:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=632119a7

dev-python/pytest-freezegun: Enable python3.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/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 3660463cace..ebd2b8b853b 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

Reply via email to