commit: 1975a532298753b37c447d188a2e345157f2e24d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 11 18:38:23 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 19:08:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1975a532
dev-python/inline-snapshot: Bump to 0.27.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/inline-snapshot/Manifest | 1 +
.../inline-snapshot/inline-snapshot-0.27.2.ebuild | 61 ++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/dev-python/inline-snapshot/Manifest
b/dev-python/inline-snapshot/Manifest
index ebb65328b3b2..849c88077bbe 100644
--- a/dev-python/inline-snapshot/Manifest
+++ b/dev-python/inline-snapshot/Manifest
@@ -3,3 +3,4 @@ DIST inline_snapshot-0.25.3.tar.gz 343645 BLAKE2B
9605768671431b1dd3b50d85d6a71c
DIST inline_snapshot-0.26.0.tar.gz 344185 BLAKE2B
49921529fe335226ae6dc66d33fc89aa84d6026100af2edee2ea6e2a532717788814b8746c92a462b1bb794cc255eb37f4bef16f99ad6d6d0c422045ec95e335
SHA512
2410f0b6e9b04279ce20459a3d41db42efb97a68d85f72971d700cec7d0f3074961291ab423605ebfcfc515cc6f49912efc593f86e2b4df5500073f1c9fe3944
DIST inline_snapshot-0.27.0.tar.gz 345721 BLAKE2B
c73f566fdbe8c454ffd047f3d5afe32c50db8c8195594243f5758fa17e0f6f705bb0e7aae88f8d32bad8d09b8e987cda1af61e67eec8b2fdfaf473e03a08f350
SHA512
1a48fad492a1da4d1555967a6c99edfaada35a64951c7021ba751f4aaabf7154e5dac30e0cb0cff5dad18c2256da257f7cbfcf90b0e0909890b7308b1384373d
DIST inline_snapshot-0.27.1.tar.gz 345865 BLAKE2B
7919cba6f3f0fc2b14599bed7c5c73181d61ecb48be7b622704966d033b77590612d2cb0f2eef7de3a18e63be5b612c84dc731bcce6a9336069c93eebf7a4c0d
SHA512
23f8c11ad8d88945da62a451d54eb26f36c65c64a807c90f08fef4a8fe3a40ce8f6a128b0aab47ea5e2decf95c26fdd28986792efe611c1d90e5fe5b3cbc4ef0
+DIST inline_snapshot-0.27.2.tar.gz 347133 BLAKE2B
98d8f295da11139269c97091ca957c9f7b42530d2f712442f37f9ed3eb8d4bb12a8aebc16e413352483235e40fb56d32c2accd528a4ecfce4e9675f2b57de96b
SHA512
68e58853236a3a9323873f6f052f5abd06a18a0649eafa73b81c6f6b41b4913fe93dbf4a4355986676d89a0ff03ede3e3891b5daa6cae1b97baf8756ae344033
diff --git a/dev-python/inline-snapshot/inline-snapshot-0.27.2.ebuild
b/dev-python/inline-snapshot/inline-snapshot-0.27.2.ebuild
new file mode 100644
index 000000000000..55ca60625776
--- /dev/null
+++ b/dev-python/inline-snapshot/inline-snapshot-0.27.2.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
+}