diff options
Diffstat (limited to 'dev-python/webencodings/webencodings-0.5.1-r2.ebuild')
-rw-r--r-- | dev-python/webencodings/webencodings-0.5.1-r2.ebuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/dev-python/webencodings/webencodings-0.5.1-r2.ebuild b/dev-python/webencodings/webencodings-0.5.1-r2.ebuild index 4f1fd148ae77..9e8153aaa871 100644 --- a/dev-python/webencodings/webencodings-0.5.1-r2.ebuild +++ b/dev-python/webencodings/webencodings-0.5.1-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -20,10 +20,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv distutils_enable_tests pytest -python_prepare_all() { - cat >> setup.cfg <<- EOF || die - [tool:pytest] - python_files=test*.py - EOF - distutils-r1_python_prepare_all +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o 'python_files=test*.py' } |