From 5ac8c02fbd2326c4bc72219eae00ee0d21e63f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 11 May 2026 05:44:55 +0200 Subject: [PATCH] dev-python/pytest-subprocess: Bump to 1.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pytest-subprocess/Manifest | 1 + .../pytest-subprocess-1.6.0.ebuild | 46 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-python/pytest-subprocess/pytest-subprocess-1.6.0.ebuild diff --git a/dev-python/pytest-subprocess/Manifest b/dev-python/pytest-subprocess/Manifest index af73e1cf5922e..4cf41d0083992 100644 --- a/dev-python/pytest-subprocess/Manifest +++ b/dev-python/pytest-subprocess/Manifest @@ -1 +1,2 @@ DIST pytest-subprocess-1.5.4.gh.tar.gz 39954 BLAKE2B 55998187a3492dd418d394ed373b29238ff26a2a82e806cf0833adf5d1ef9a8003f2f1677f916528ff414faba5ef6f739740c999f2784538717aca8563a5ad90 SHA512 c1f4e7ca0c318a47caf74886f7352983e5bc90b8d29d206649beb570e32da1cd48c94f435aee2e802c1b66f79548b1b3846fe573a8b1df28a082b3369b1f664d +DIST pytest-subprocess-1.6.0.gh.tar.gz 43337 BLAKE2B 445941ff835134076ff937cde38d1c6df61ae74e5671d987db09596cae221d2b8760abeee0b16647ce44fb1613d919c7d077e76caafd4bcd98f1dfe366a76527 SHA512 5da3f4af4b9226d88af22532027b3746e4640583d60f5022a97ae58b69c41831e94518464a77821a9cb4add85b0a29c345bc1089c70452ecf65836c80cd6c809 diff --git a/dev-python/pytest-subprocess/pytest-subprocess-1.6.0.ebuild b/dev-python/pytest-subprocess/pytest-subprocess-1.6.0.ebuild new file mode 100644 index 0000000000000..1aa5479a437b8 --- /dev/null +++ b/dev-python/pytest-subprocess/pytest-subprocess-1.6.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="A plugin to fake subprocess for pytest" +HOMEPAGE=" + https://github.com/aklajnert/pytest-subprocess/ + https://pypi.org/project/pytest-subprocess/ +" +SRC_URI=" + https://github.com/aklajnert/pytest-subprocess/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/anyio[${PYTHON_USEDEP}] + >=dev-python/docutils-0.12[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.15.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-{asyncio,rerunfailures} ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # broken in plain venv + # https://github.com/aklajnert/pytest-subprocess/issues/201 + 'tests/test_examples.py::test_documentation[README.rst]' +)