commit: 03c8132c863723528babece7b9e3f8d922c3bfad
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 25 02:50:12 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 25 10:00:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c8132c
dev-python/inline-snapshot: Bump to 0.29.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/inline-snapshot/Manifest | 1 +
.../inline-snapshot/inline-snapshot-0.29.1.ebuild | 61 ++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/dev-python/inline-snapshot/Manifest
b/dev-python/inline-snapshot/Manifest
index 057bd37e982b..a20452e1628a 100644
--- a/dev-python/inline-snapshot/Manifest
+++ b/dev-python/inline-snapshot/Manifest
@@ -1,3 +1,4 @@
DIST inline_snapshot-0.27.2.tar.gz 347133 BLAKE2B
98d8f295da11139269c97091ca957c9f7b42530d2f712442f37f9ed3eb8d4bb12a8aebc16e413352483235e40fb56d32c2accd528a4ecfce4e9675f2b57de96b
SHA512
68e58853236a3a9323873f6f052f5abd06a18a0649eafa73b81c6f6b41b4913fe93dbf4a4355986676d89a0ff03ede3e3891b5daa6cae1b97baf8756ae344033
DIST inline_snapshot-0.28.0.tar.gz 348554 BLAKE2B
2c475505ee76bc79e04f7b5cd5f3ca09f53858a45f31cbd14c8357c3739a13e96b52a815fd8ee94050b72ce45cc347ecc6512ef008081f20da57efddfd7a59df
SHA512
144b7987800485ddcfb03f5ed70eb86fa8cdcd0eef6c1fd17d5be05ffb8c3e2cb3b5c86b9701b1dfb126a07a3146801bd9fd97aedaeda50e368e88d243b2beef
DIST inline_snapshot-0.29.0.tar.gz 349586 BLAKE2B
8dec9cd7d5bd6ed1c94a6af66b7a1468ec884231e1e0760da981e94a81fda2ae9fe72d20a1108499c361df3ac48fe1bfda63ada120d8ca6a1ad4df29b490101a
SHA512
11d1e31ac4331c763bcf6e651be5d9543dbf9b2223712f34a4f1b599aa4805198270a993cd0056ebd81db84fd914574e08377c04b203cfc2e8fc47a3bb1e82e4
+DIST inline_snapshot-0.29.1.tar.gz 350236 BLAKE2B
331d81993a2f06ecc9ec609587e0dfb28c3f8525e5faab09b5962f3cb5bcdf9e442d9908f0039715258bf9b3c0876ab1148738e909f065c04844a9e86e7ad1a3
SHA512
760cdaa4794742753efba8c47c60ecbd08bf2cac61753c3971506a12a81f991fbe3c250aaadba65c7856987de8048a5d6cb432d8909515517faa4621d71b32c4
diff --git a/dev-python/inline-snapshot/inline-snapshot-0.29.1.ebuild
b/dev-python/inline-snapshot/inline-snapshot-0.29.1.ebuild
new file mode 100644
index 000000000000..55ca60625776
--- /dev/null
+++ b/dev-python/inline-snapshot/inline-snapshot-0.29.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Create and update inline snapshots in your Python tests"
+HOMEPAGE="
+ https://15r10nk.github.io/inline-snapshot/
+ https://github.com/15r10nk/inline-snapshot/
+ https://pypi.org/project/inline-snapshot/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}]
+ >=dev-python/executing-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}]
+ >=dev-python/rich-13.7.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/attrs[${PYTHON_USEDEP}]
+ >=dev-python/black-23.3.0[${PYTHON_USEDEP}]
+ >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}]
+ >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/mypy[${PYTHON_USEDEP}]
+ ' 'python*')
+ >=dev-python/pydantic-2[${PYTHON_USEDEP}]
+ >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}]
+ >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,subtests,xdist} )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # requires pyright
+ 'tests/test_typing.py::test_typing_args[pyright]'
+ 'tests/test_typing.py::test_typing_call[pyright]'
+ # TODO
+ tests/test_formating.py::test_format_command_fail
+ )
+
+ local -x COLUMNS=80
+ local -x PYTHONPATH=${S}/src
+ epytest
+}