diff options
Diffstat (limited to 'dev-python/pytest-subprocess')
| -rw-r--r-- | dev-python/pytest-subprocess/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pytest-subprocess/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-python/pytest-subprocess/pytest-subprocess-1.5.4.ebuild | 46 | ||||
| -rw-r--r-- | dev-python/pytest-subprocess/pytest-subprocess-1.6.0.ebuild | 46 |
4 files changed, 103 insertions, 0 deletions
diff --git a/dev-python/pytest-subprocess/Manifest b/dev-python/pytest-subprocess/Manifest new file mode 100644 index 000000000000..4cf41d008399 --- /dev/null +++ b/dev-python/pytest-subprocess/Manifest @@ -0,0 +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/metadata.xml b/dev-python/pytest-subprocess/metadata.xml new file mode 100644 index 000000000000..d34971a915e9 --- /dev/null +++ b/dev-python/pytest-subprocess/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/pytest-subprocess/pytest-subprocess-1.5.4.ebuild b/dev-python/pytest-subprocess/pytest-subprocess-1.5.4.ebuild new file mode 100644 index 000000000000..92f8f48f7f9c --- /dev/null +++ b/dev-python/pytest-subprocess/pytest-subprocess-1.5.4.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=( python3_{13..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]' +) 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 000000000000..516176ba7134 --- /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=( python3_{13..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]' +) |
