From 0109136f354cd142c832781d72c692f47e3bb351 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 4 Feb 2024 20:05:49 +0100 Subject: dev-python/gpep517: Fix tmp_path_retention_policy for tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/923046 Signed-off-by: Michał Górny --- dev-python/gpep517/gpep517-15.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-python/gpep517/gpep517-15.ebuild b/dev-python/gpep517/gpep517-15.ebuild index e1b324df4976..5ea577490b8a 100644 --- a/dev-python/gpep517/gpep517-15.ebuild +++ b/dev-python/gpep517/gpep517-15.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 7 -- sys-apps/portage dep @@ -32,6 +32,11 @@ RDEPEND=" distutils_enable_tests pytest +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o tmp_path_retention_policy=all +} + python_install() { python_domodule gpep517 python_newscript - gpep517 <<-EOF -- cgit v1.2.3-65-gdbad