mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
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:
1
dev-python/pytest-subprocess/Manifest
Normal file
1
dev-python/pytest-subprocess/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pytest-subprocess-1.5.0.gh.tar.gz 34771 BLAKE2B b76ab9234ff2ec437ef9679c2e8af6cdc545189c7fd9f832f68c5cad094c80250c5fe1fd6e0da54d7a8c09da30a66f7f097da66f03d169e149186b49e2b72b56 SHA512 8489993cc396d41d127927ab46a43120528dbcb9641e7be03777689af127df29fe618eee3a815e96a0353cc02117dc1af22800d748476c4fe2b76c2246229f08
|
||||
12
dev-python/pytest-subprocess/metadata.xml
Normal file
12
dev-python/pytest-subprocess/metadata.xml
Normal 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>
|
||||
42
dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild
Normal file
42
dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user