commit:     e2945b2f756738f78c5905bbe7f54a0d14ac8a91
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 06:49:04 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 07:33:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2945b2f

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

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

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-subprocess/Manifest              |  1 +
 dev-python/pytest-subprocess/metadata.xml          | 12 +++++++
 .../pytest-subprocess-1.5.0.ebuild                 | 42 ++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-python/pytest-subprocess/Manifest 
b/dev-python/pytest-subprocess/Manifest
new file mode 100644
index 000000000000..50d817de0d37
--- /dev/null
+++ b/dev-python/pytest-subprocess/Manifest
@@ -0,0 +1 @@
+DIST pytest-subprocess-1.5.0.gh.tar.gz 34771 BLAKE2B 
b76ab9234ff2ec437ef9679c2e8af6cdc545189c7fd9f832f68c5cad094c80250c5fe1fd6e0da54d7a8c09da30a66f7f097da66f03d169e149186b49e2b72b56
 SHA512 
8489993cc396d41d127927ab46a43120528dbcb9641e7be03777689af127df29fe618eee3a815e96a0353cc02117dc1af22800d748476c4fe2b76c2246229f08

diff --git a/dev-python/pytest-subprocess/metadata.xml 
b/dev-python/pytest-subprocess/metadata.xml
new file mode 100644
index 000000000000..fff3884af1d5
--- /dev/null
+++ b/dev-python/pytest-subprocess/metadata.xml
@@ -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>[email protected]</email>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="github">aklajnert/pytest-subprocess</remote-id>
+               <remote-id type="pypi">pytest-subprocess</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild 
b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild
new file mode 100644
index 000000000000..bb2a21146b87
--- /dev/null
+++ b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild
@@ -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
+}

Reply via email to