From 2ea9e9988bb62d22d6e189a65a0dc0218b8103db Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 12 May 2024 14:32:48 +0000 Subject: Adding metadata --- dev-python/webencodings/webencodings-0.5.1-r2.ebuild | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'dev-python/webencodings') diff --git a/dev-python/webencodings/webencodings-0.5.1-r2.ebuild b/dev-python/webencodings/webencodings-0.5.1-r2.ebuild index 2d72c6602b40..33d2b76ecdd3 100644 --- a/dev-python/webencodings/webencodings-0.5.1-r2.ebuild +++ b/dev-python/webencodings/webencodings-0.5.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -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' } -- cgit v1.3.1