commit:     dbced7dc38d80b084345e5a01c53812d50d48d47
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Aug 15 16:33:16 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Aug 15 16:34:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dbced7dc

dev-python/pytest-cases: add 3.9.1

Previos version was buggy, causing some test failures on,
for example, dev-python/decopath

Closes: https://bugs.gentoo.org/928253
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-python/pytest-cases/Manifest                  |  1 +
 dev-python/pytest-cases/pytest-cases-3.9.1.ebuild | 46 +++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/pytest-cases/Manifest b/dev-python/pytest-cases/Manifest
index 312c73d614..cf5240ebae 100644
--- a/dev-python/pytest-cases/Manifest
+++ b/dev-python/pytest-cases/Manifest
@@ -1 +1,2 @@
 DIST pytest_cases-3.8.6.tar.gz 1092150 BLAKE2B 
6db9e9e2116a5b961c615eec344439dd5afd86f6727e22ecdcce903368768886a89818a29766212b4ad663f9e7c2c004e3fb439937ce2a468dd7a3ac2adf7f04
 SHA512 
fe887a09ea63772c0c624afc35601c398b47884bf6f7571ffd5856a4c00df8633acdf6562972329c12ba27d54307c58435d1dcbd661fe7d32483e64fba40aff5
+DIST pytest_cases-3.9.1.tar.gz 1094071 BLAKE2B 
58399107030bc97d08a8a43534eb840d5426e02025215e58d0f1a48300d1b64a50969636b5dbcb96ad3b3479383ff0f6663e05b426d811a7e0491d2801894fd7
 SHA512 
46c8716bbd7a926c2b12c9190734f1779f236b8c8954aead75b4b83ea914e60520281bc1fd51420773ce08111dcb4e8f99ac646e468700bc1eb7e47873dd65dc

diff --git a/dev-python/pytest-cases/pytest-cases-3.9.1.ebuild 
b/dev-python/pytest-cases/pytest-cases-3.9.1.ebuild
new file mode 100644
index 0000000000..377da80cc4
--- /dev/null
+++ b/dev-python/pytest-cases/pytest-cases-3.9.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND=(
+       dev-python/mkdocs-material
+       dev-python/regex
+)
+
+inherit distutils-r1 docs pypi
+
+DESCRIPTION="Separate test code from test cases in pytest"
+HOMEPAGE="
+       https://pypi.org/project/pytest-cases/
+       https://github.com/smarie/python-pytest-cases
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/decopatch[${PYTHON_USEDEP}]
+       >=dev-python/makefun-1.15.1[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/pytest-harvest[${PYTHON_USEDEP}]
+               dev-python/pytest-steps[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_compile_all() {
+       docs_compile
+}

Reply via email to