dev-python/inline-snapshot: Bump to 0.32.7

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-24 04:44:43 +02:00
parent 2090d83f26
commit f01d20b717
2 changed files with 67 additions and 0 deletions

View File

@@ -5,3 +5,5 @@ DIST inline_snapshot-0.32.5.tar.gz 2626796 BLAKE2B 3e811658e005b4c095564ba9d94b7
DIST inline_snapshot-0.32.5.tar.gz.provenance 9388 BLAKE2B af33c329be8e941a1a91f6f6d5967dbca4d9ad10d9e7c6d98298d5e3b590348b55b4024a01f45a2756c4ab03722e10c9b0008057eaead6b73aa2258013601702 SHA512 0018391d0373218743c438812af50d38e4ac1394ca5784e4380ca0642d789801b4c3f9d76f5880053e9a78094f99b60238b6d91a29ba111ec698b80f20147cf0
DIST inline_snapshot-0.32.6.tar.gz 2627401 BLAKE2B bc5e6d2df47ee092fa26ed9f2206612dda294340e7df87dbf888583c5fd2965c52dd74d6039a3204f0a69a3679963b9137dd66c8c81e0c7d3b476d398ef7285c SHA512 853b0091e28244fd6d493a1a3d19ff947ce96b424f8e4700ec1f1e82c70fbda5113ee3b8b76f37efc74a80f14b999ff3f9c156936b3c626d67407216d00a8b3e
DIST inline_snapshot-0.32.6.tar.gz.provenance 9438 BLAKE2B 8756279a2d22a5945eed8e973699399df90b12c021ecf501bc23c36cd3ac4deb0ddf0bc26e176fcefe4242381952ffa67a0348aa8b981bfbecd6d17b5009fd9f SHA512 0cafbbe3455c5e8c3938fa823c0acf0ab283d01e26ecacf9e4ab7a96dc5859f13d493c16246eac81b7770110ce7607500e27216dcf2247d29861b9631a9f5c49
DIST inline_snapshot-0.32.7.tar.gz 2630267 BLAKE2B 5e063da1ab736d6506af9bb282e5ba5a3f36af7f8c69411ade923f8daf84c6abc32882bb7def4a8ff65c42c295f883116539eb7c529c93fafbfd22960121397a SHA512 2e417a21e9fa1d315981ab449c3682a3d925035cb6d5dc66cfb77f635e46c12fce9727aaa0c9ad37aeb6e1aa1a3f2fa3a9326e6c0f9e68777bc0f7a62dcd7228
DIST inline_snapshot-0.32.7.tar.gz.provenance 9387 BLAKE2B 7205386789ed7c4ceaa12a2212df10c490286c1b18f33eddef705bb9276a6515cc6ac4439e390a754fdf931361b4644ccbf140e6a669dfea21e780ba47cc5f6a SHA512 5c6ec866395cbdf1b2d08f9a7bcbe0d07a2d9ff1a714ec4fc0cb41115d74ec9eda861f6779c73bdbf6d5899c2b93f70119a32e0d4028c6b09e411588b7683876

View File

@@ -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
}