summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-02-25 04:26:35 +0100
committerMichał Górny <mgorny@gentoo.org>2026-02-25 04:39:38 +0100
commitcde4263032dc22e0fb5d299c664595162639fd4e (patch)
tree43984586403a42f05d556158c027fff0a731c9a7 /dev-python
parent9a488d1972a28224a7e3171fc74b4c066913a4f5 (diff)
downloadgentoo-cde4263032dc22e0fb5d299c664595162639fd4e.tar.gz
gentoo-cde4263032dc22e0fb5d299c664595162639fd4e.tar.bz2
gentoo-cde4263032dc22e0fb5d299c664595162639fd4e.zip
dev-python/inline-snapshot: Bump to 0.32.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/inline-snapshot/Manifest2
-rw-r--r--dev-python/inline-snapshot/inline-snapshot-0.32.3.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest
index 97dcc39d6384..876aca2e35ad 100644
--- a/dev-python/inline-snapshot/Manifest
+++ b/dev-python/inline-snapshot/Manifest
@@ -13,3 +13,5 @@ DIST inline_snapshot-0.32.1.tar.gz 2624124 BLAKE2B 289571be18d6d674f400abe8ca862
DIST inline_snapshot-0.32.1.tar.gz.provenance 9473 BLAKE2B 5b9e956faca6e1d2b74bfd6e891693caf1524888cf0398747fc356016dc908d092b06eed3fcf276ff961d05604f6d1cf3ef4d2183baebf84136570fc4a810d43 SHA512 85f312be7f289b93603e286eea153622b85b6f56bba58d1f7d6464bd88e335020be46d7389d9ab0d3eb3d7c4a5661b9239c8064d3ca6faa452e170a825a75058
DIST inline_snapshot-0.32.2.tar.gz 2624220 BLAKE2B 250ca4b9647e813175b760b123a792bca1c049942481ccd0cb46b9c40cca1ec6639ec6683fbc235c99de3ef8f8db60ce7d636015e34e2e7b0449fd4121429f9d SHA512 e8c0a16144e4614207c827bffa7b5f51f166d41bbcf68c16a50b91e16fc34fb64e79a0f75b0820a9af315d455813f52ffa7752ec5300834c3c38870d79c0f3bc
DIST inline_snapshot-0.32.2.tar.gz.provenance 9195 BLAKE2B 7e84ebd16fb2e513c3cfd54c691ae605d5a44b2ef0454287c40a80a930e447988807b5261316f35cc57133e238672ed393d0c0ef4cb6d63a1f0708e0aaf9cb30 SHA512 44ef5c93c75dd0179e776180a50810790bee8663439f9d918a9392cb0bb6f8c665a0135dead8e707866f65e426bc1ecdf642023519252c26200d2ebdc98ea1f2
+DIST inline_snapshot-0.32.3.tar.gz 2625275 BLAKE2B ee990004036086df466cfcfeeb4a0076f5ee01bf104d3a4b1fd5563e59397daaa16ba6e0532e4d40694eba587f46ba697d0d975266c6978cb75ee160e23fb47c SHA512 588967c2cbab74f7b3a21fc3a24f3811705424b6c4c6632b3b570557c1b70f2f78fae9e6736e946358824424f93ed640c7e7575dc720babbafe5c80668ddebd8
+DIST inline_snapshot-0.32.3.tar.gz.provenance 9477 BLAKE2B c1a49bec6ac49649c470b6fad3d8131c444431bf728aec15dd8b183de6ed347ae14bd8c20eb3365457e76c9fdc0585ca783fc5f34b80af0d14b7589b9a542228 SHA512 107d46fb1e7c7022a08a36ff0c8ac0d1989987b3881362db00caf11532221e2e37b36c4476c100f48f306b8867f50e44ce78eacf8afede6c5e532dcda558363f
diff --git a/dev-python/inline-snapshot/inline-snapshot-0.32.3.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.32.3.ebuild
new file mode 100644
index 000000000000..b7f7ad6690fd
--- /dev/null
+++ b/dev-python/inline-snapshot/inline-snapshot-0.32.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_VERIFY_REPO=https://github.com/15r10nk/inline-snapshot
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+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}]
+ dev-python/typing-extensions[${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
+ 'tests/test_docs.py::test_docs[categories.md]'
+ 'tests/test_docs.py::test_docs[code_generation.md]'
+ 'tests/test_docs.py::test_docs[testing.md]'
+ )
+
+ local -x PYTHONPATH=${S}/src
+ epytest
+}