summaryrefslogtreecommitdiff
path: root/dev-python/pytest-shell-utilities
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/pytest-shell-utilities
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/pytest-shell-utilities')
-rw-r--r--dev-python/pytest-shell-utilities/Manifest1
-rw-r--r--dev-python/pytest-shell-utilities/files/pytest-shell-utilities-1.9.7-py314.patch22
-rw-r--r--dev-python/pytest-shell-utilities/metadata.xml17
-rw-r--r--dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7-r1.ebuild44
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/pytest-shell-utilities/Manifest b/dev-python/pytest-shell-utilities/Manifest
new file mode 100644
index 000000000000..5a1608f085c4
--- /dev/null
+++ b/dev-python/pytest-shell-utilities/Manifest
@@ -0,0 +1 @@
+DIST pytest-shell-utilities-1.9.7.gh.tar.gz 79847 BLAKE2B f74fdfc24acd521313b2cc98bfcaaf916ff649a88b10c642edb8af785f7c473fbc97d80badec5e7da5b27a6394c6c16e6c354e8261cdfa94cb48ef3eb7174940 SHA512 6e072bbf429abde82504c8c7c03e360d07c88a0239fec10e5d20f424a776fa170a90b0a8a7d809813413326c0915e06164eeeb619c7385a68992fd2bd662bcea
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 <daniel.garcia@suse.com>
+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/metadata.xml b/dev-python/pytest-shell-utilities/metadata.xml
new file mode 100644
index 000000000000..584d1f6287a0
--- /dev/null
+++ b/dev-python/pytest-shell-utilities/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Patrick McLean</name>
+ <email>chutzpah@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">saltstack/pytest-shell-utilities</remote-id>
+ <remote-id type="pypi">pytest-shell-utilities</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7-r1.ebuild b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7-r1.ebuild
new file mode 100644
index 000000000000..ab49beb6cbc4
--- /dev/null
+++ b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.7-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="pytest plugin: fixtures and code to help with running shell commands on tests"
+HOMEPAGE="
+ https://pypi.org/project/pytest-shell-utilities/
+ https://github.com/saltstack/pytest-shell-utilities/
+"
+SRC_URI="
+ https://github.com/saltstack/pytest-shell-utilities/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86"
+
+RDEPEND="
+ >=dev-python/attrs-22.1.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
+ >=dev-python/psutil-5.0.0[${PYTHON_USEDEP}]
+ dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
+ dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/pytest-shell-utilities-1.9.7-py314.patch"
+)
+
+EPYTEST_PLUGINS=( "${PN}" pytest-subtests )
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}