dev-python/pytest-subprocess: New package, v1.5.0

New dependency for dev-python/scikit-build-core.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-06-23 08:49:04 +02:00
parent b810879465
commit e2945b2f75
3 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pytest-subprocess-1.5.0.gh.tar.gz 34771 BLAKE2B b76ab9234ff2ec437ef9679c2e8af6cdc545189c7fd9f832f68c5cad094c80250c5fe1fd6e0da54d7a8c09da30a66f7f097da66f03d169e149186b49e2b72b56 SHA512 8489993cc396d41d127927ab46a43120528dbcb9641e7be03777689af127df29fe618eee3a815e96a0353cc02117dc1af22800d748476c4fe2b76c2246229f08

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">aklajnert/pytest-subprocess</remote-id>
<remote-id type="pypi">pytest-subprocess</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,42 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
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="~amd64"
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}]
)
"
distutils_enable_tests pytest
python_test() {
epytest -p no:flaky
}