diff options
Diffstat (limited to 'dev-python/inline-snapshot')
| -rw-r--r-- | dev-python/inline-snapshot/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/inline-snapshot/inline-snapshot-0.36.1.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 4b9f8e1cf516..579f06c41027 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -2,3 +2,5 @@ DIST inline_snapshot-0.35.4.tar.gz 2537089 BLAKE2B c2651439a3dad5680c4deff9d9c11 DIST inline_snapshot-0.35.4.tar.gz.provenance 9707 BLAKE2B 12d8553922ac2906ea9c7d6f98932e0b7a8cc680775d34f328aaab011543953a59ba7595c19a023e6a768ca5916aadd34e85a110e5bf9ef7f3f13fad28fbd80e SHA512 ebdfc8396f7ce62ef2ed1c7e4d7489e1321557da1f0369160f32ece721979646917a9b0b6b356003bcc963ac21215ecefc140582f10ad1aed40e4b7a4bbefa28 DIST inline_snapshot-0.36.0.tar.gz 2541802 BLAKE2B c6c3d7b17645c50a77fd53e0368019e1b19ed3b7316295fea569914f9e6daba620dc4e0d03887d0d661f8f6114931a677560b52c48dc64ef953dc8708b18c64e SHA512 fdb16a953b91e5d594bc1b055ae0a035820e66c7efa9dd62518ac059306a4c3f96dace00562ffe461b99ce8889b4efbd4c4d0d896a2a57668e2452e151fe4b32 DIST inline_snapshot-0.36.0.tar.gz.provenance 9754 BLAKE2B 606f6dce2136c5d7c3c8b3d68d314c2a8bfc8ffae882d7fc9090e0c943a41f1bca92dd99751a52c39fa6f9348eee6c48bf693f26cfc1ea09a0aab57c306d28a4 SHA512 335404c9c25a857e3d478c326f38e1f3781f96272a42be02d40d5971441d24e483a5d1412d44383460f842714437453037fc50caa5ef2f1f92d4ff7ab711dc36 +DIST inline_snapshot-0.36.1.tar.gz 2563979 BLAKE2B 41d6c27e8814fc17dbe7d6481da1d96d84dec5a89345b1e1f82601833683e82bab534eeafceb4303ea755058a1d4e1265d74caca601ff00087b1150e3c5c4f7f SHA512 93316cfe66f8cbf1780ff65f701049c4acf1c1b37f273b22f6b4ecd750a1667e6b297da6760ebcc278b65db32bb28fa1fc20192a017e8082b7bdb11dc724a3c5 +DIST inline_snapshot-0.36.1.tar.gz.provenance 9654 BLAKE2B 914e1a82670e81d4322cc4686533bb28e13b6ee54963d810daa2bb296ceefcd05f13f356fae435335466dc636ef54460807d7190c5b01f3fa5c1ec72df57589e SHA512 75c974632382f3972baa5cf6341bc5ad672e5e019b5a651ac6976a43d21283ee33f8475f49c9b25619ef02987380fcb35bcae539889ce50c28c99b2388c8d894 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.36.1.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.36.1.ebuild new file mode 100644 index 000000000000..88d1a6b4a0bc --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.36.1.ebuild @@ -0,0 +1,61 @@ +# 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=( python3_{13..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}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,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_docs.py::test_docs[categories.md]' + 'tests/test_docs.py::test_docs[code_generation.md]' + 'tests/test_docs.py::test_docs[README.md]' + ) + + local -x PYTHONPATH=${S}/src + local -x PYTHONWARNINGS=ignore + epytest +} |
