diff options
| author | Michał Górny <mgorny@gentoo.org> | 2026-02-18 04:29:32 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2026-02-18 04:52:44 +0100 |
| commit | cd1f8b271981cc8cc91c2225305412d32e0708ca (patch) | |
| tree | 933f17632ed43ec0fa671dd16b257a4214927f1a /dev-python | |
| parent | 56fe3895391fea080bc568986a9848a0e864b8a2 (diff) | |
| download | gentoo-cd1f8b271981cc8cc91c2225305412d32e0708ca.tar.gz gentoo-cd1f8b271981cc8cc91c2225305412d32e0708ca.tar.bz2 gentoo-cd1f8b271981cc8cc91c2225305412d32e0708ca.zip | |
dev-python/inline-snapshot: Bump to 0.32.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/inline-snapshot/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/inline-snapshot/inline-snapshot-0.32.1.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 255f4e4f1908..e8cbb5bbe15a 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -9,3 +9,5 @@ DIST inline_snapshot-0.31.1.tar.gz 2606338 BLAKE2B 96e90f9b3633d71a85b5ec14b23f4 DIST inline_snapshot-0.31.1.tar.gz.provenance 9119 BLAKE2B d316ce0e53e2af1a35c1d6c242fcab732c9edbeefdfe9829237c9d34e45e3aab058ce3283a52ce7d7505c65e0b2235d78d79c6996e938f06ef3d9f9b12cc788c SHA512 f5d92c2500d98ef6f0d60e510de4ee308722cbd6b55db3d457e30b671af26a67ef74c8029e4a328167ea8b79744bf531f15bf417fe5c88dee711c4822cc1f7a2 DIST inline_snapshot-0.32.0.tar.gz 2623331 BLAKE2B ed29345b9236292aa820e3926b96ba11e8ec1faaa5fbeea796bd7d4bf4ad192a1455bfc7a28d77f2bebb05daaa4b4edaf3567f81644475cf404e831fd866f2e7 SHA512 cb4f3474ddceff6b4db01b9fce25c083b6a2eb4eeb6968e4ac5a99517bdb57c77a579b5f7b3712676ba1737bdf241fae1df69087f9110730caea441cf485ebd4 DIST inline_snapshot-0.32.0.tar.gz.provenance 9665 BLAKE2B bcba9dd58345c697d5ba7de4852e08be915cb3ba170a51a4289cdb3cc2b66dd126fe6b284b3346928cbf84b9720d5fc46bd6a265a392e825550f5ce809990a8c SHA512 afe9d82d4973fb6589a0845ad005ec1d74abcd76bb840e5d4ea1ded3195c69e4cc5477f89a4ba9255f3624c322ffcb93bc3f2764bc848dd3683164858540b1fa +DIST inline_snapshot-0.32.1.tar.gz 2624124 BLAKE2B 289571be18d6d674f400abe8ca862b2e58b3bdf617d77e8277ced64eb4b7769239d05db9856ec12ad9f8aa9c4717f975c25aec2f786fda6e86659fdf72045bda SHA512 c91b426c1186d236e958c5a1b6bc87b66f35ba989db6b22607ce2867debd01c22600ee9c52211a22654480ac2caaff099c269ef3d487d599064cd9329b215266 +DIST inline_snapshot-0.32.1.tar.gz.provenance 9473 BLAKE2B 5b9e956faca6e1d2b74bfd6e891693caf1524888cf0398747fc356016dc908d092b06eed3fcf276ff961d05604f6d1cf3ef4d2183baebf84136570fc4a810d43 SHA512 85f312be7f289b93603e286eea153622b85b6f56bba58d1f7d6464bd88e335020be46d7389d9ab0d3eb3d7c4a5661b9239c8064d3ca6faa452e170a825a75058 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.32.1.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.32.1.ebuild new file mode 100644 index 000000000000..b7f7ad6690fd --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.32.1.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 +} |
