commit:     d168e1050a36a34091669f2e5ac3f0ae2c6065ed
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 19 17:27:07 2025 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jan 23 15:21:47 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d168e105

dev-python/pytest-shell-utilities: Revbump, add py314

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 .../files/pytest-shell-utilities-1.9.7-py314.patch | 22 ++++++++++++++++++++++
 ...uild => pytest-shell-utilities-1.9.7-r1.ebuild} | 10 +++++++---
 .../pytest-shell-utilities-1.9.7.ebuild            |  4 ++--
 3 files changed, 31 insertions(+), 5 deletions(-)

diff --git 
a/dev-python/pytest-shell-utilities/files/pytest-shell-utilities-1.9.7-py314.patch
 
b/dev-python/pytest-shell-utilities/files/pytest-shell-utilities-1.9.7-py314.patch
new file mode 100644
index 000000000000..2f4e10363fd2
--- /dev/null
+++ 
b/dev-python/pytest-shell-utilities/files/pytest-shell-utilities-1.9.7-py314.patch
@@ -0,0 +1,22 @@
+From c8edc1e1060b48de2da5f6c5fa08789b5f1bc783 Mon Sep 17 00:00:00 2001
+From: Daniel Garcia Moreno <[email protected]>
+Date: Mon, 17 Nov 2025 10:48:36 +0100
+Subject: [PATCH] test: Set start method to "fork" in test_daemon
+
+Fix https://github.com/saltstack/pytest-shell-utilities/issues/56
+---
+ tests/functional/shell/test_daemon.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/functional/shell/test_daemon.py 
b/tests/functional/shell/test_daemon.py
+index 8f2f32d..86c1f76 100644
+--- a/tests/functional/shell/test_daemon.py
++++ b/tests/functional/shell/test_daemon.py
+@@ -48,6 +48,7 @@ def test_daemon_process_termination(request: FixtureRequest, 
tempfiles: Tempfile
+ 
+         import time
+         import multiprocessing
++        multiprocessing.set_start_method('fork')
+ 
+         def spin():
+             while True:

diff --git 
a/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7.ebuild 
b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7-r1.ebuild
similarity index 83%
copy from dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7.ebuild
copy to dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7-r1.ebuild
index 88d559aa4798..9df412875078 100644
--- a/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7.ebuild
+++ b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_1{0..4} )
 
 inherit distutils-r1
 
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 
 RDEPEND="
        >=dev-python/attrs-22.1.0[${PYTHON_USEDEP}]
@@ -36,6 +36,10 @@ BDEPEND="
        )
 "
 
+PATCHES=(
+       "${FILESDIR}/pytest-shell-utilities-1.9.7-py314.patch"
+)
+
 distutils_enable_tests pytest
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}

diff --git 
a/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7.ebuild 
b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7.ebuild
index 88d559aa4798..d42678c4044c 100644
--- a/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7.ebuild
+++ b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_1{0..4} )
 
 inherit distutils-r1
 

Reply via email to