commit: 7e770b5d27cc1346eacc505228178c772afd4506
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 14 04:23:48 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 04:25:19 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e770b5d
dev-python/pytest-subtests: Bump to 0.14.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-subtests/Manifest | 1 +
.../pytest-subtests/pytest-subtests-0.14.2.ebuild | 39 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/dev-python/pytest-subtests/Manifest
b/dev-python/pytest-subtests/Manifest
index a92ef63397c1..3181f6456594 100644
--- a/dev-python/pytest-subtests/Manifest
+++ b/dev-python/pytest-subtests/Manifest
@@ -1 +1,2 @@
DIST pytest_subtests-0.14.1.tar.gz 17632 BLAKE2B
5a9013e1126ce921b1cc5932e2e743827f382f2566fb573c75bc040e806dd64e196a1c49ad1e4eabf13925ed82e68749e6d842f0d03098ab6bce4857134c581e
SHA512
f79afa0747334ad885e4e592b2b4ff1381d00fb282ab24c785afe681120e2a9670dbcd7627bd9041cd24922a96146d8be30f0e221b4a6ee8bef8aa7b52038544
+DIST pytest_subtests-0.14.2.tar.gz 18083 BLAKE2B
f647716e3c8cba94cc28edc14e26c904da65a4a466870f2db0aa835018e03b0c6ff6965e3b8cfb60b50a0bceaac8b031c33abafdb194dfda657bb2d27e211fc9
SHA512
f534cb010ec232bdbe8c1ada93809a2a91e6c91058cd3538a71f6b265563ab332bf13c32af09b67cc9efd45222acbfb75df6a79dec0d6a18bea2fa564ba15625
diff --git a/dev-python/pytest-subtests/pytest-subtests-0.14.2.ebuild
b/dev-python/pytest-subtests/pytest-subtests-0.14.2.ebuild
new file mode 100644
index 000000000000..a866aed1a5fc
--- /dev/null
+++ b/dev-python/pytest-subtests/pytest-subtests-0.14.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Unittest subTest() support and subtests fixture"
+HOMEPAGE="
+ https://github.com/pytest-dev/pytest-subtests/
+ https://pypi.org/project/pytest-subtests/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-7.4[${PYTHON_USEDEP}]
+"
+# pytest-xdist is used to test compatibility
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=xdist.plugin,pytest_subtests.plugin
+ epytest
+}