diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-16 10:53:11 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-16 10:53:11 -0500 |
| commit | 8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b (patch) | |
| tree | bb1e83c18d1cc77cdebfc5aeb9b12ad39c9787b5 /dev-python/inline-snapshot | |
| parent | f997c3ee588099e4f43e9ec845935868e3e60b8e (diff) | |
| download | baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.tar.gz baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.tar.xz baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.zip | |
Adding metadata
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.33.0.ebuild | 3 | ||||
| -rw-r--r-- | dev-python/inline-snapshot/inline-snapshot-0.34.1.ebuild | 63 |
3 files changed, 67 insertions, 1 deletions
diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 9c6a420c9f11..f688b361ab19 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -4,3 +4,5 @@ DIST inline_snapshot-0.33.0.tar.gz 2637158 BLAKE2B 1bc372dd7f4a546410570b7a2a02e DIST inline_snapshot-0.33.0.tar.gz.provenance 9520 BLAKE2B 812259517d0fb1a0ba26b25986a8335810fe9542b581f7ced793cf3f1e64d6e10fbf2934252adc4352b113535028cc8a158ffe8c99aef993acbd08bcae35adea SHA512 241f66837bd510f10b2897fe8de4815d6352e78d0a9153ffb4be5fbd0be80fca693e5cf3c30ae32a3042a3294b175b865999a628607ecec414c81f7768570d6d DIST inline_snapshot-0.34.0.tar.gz 2638680 BLAKE2B 0540a851ceb06874a36537628312cda2d118b6e401c9ac73f1d9ebd915a62cc7be6e3f9bc3ca5ee9f72040cde9b72df1c14ec9cbf74db24ea083133f598b7069 SHA512 e0d1d6b7f64bcea982a16f760814a063c9fa2adc0d3469946fcdd3af0fc8a179709eca93433258a24d526f836125d96c8c5c7adb62d6063b7ff90b68ac4d25e7 DIST inline_snapshot-0.34.0.tar.gz.provenance 9846 BLAKE2B 08198647620931ab9c6acfe7fdaed68f92c51c3808b5a5c47175743f1b3d41ec1eb3b26999acd54e87530376fc581034026c2daf5665fa41da05749db4dbbad3 SHA512 ac8a50540da932a73ea83bd3b314d324140680699a1d76a3e32076fd020b9cb448f252d779484aa58b34b8a3e63d7d062f8e309082e6b70e1deaff837f7d0cf2 +DIST inline_snapshot-0.34.1.tar.gz 2638769 BLAKE2B 4e12ab83e23a0eb4e49d2da0f182bf53c6e56585aee22c2f5b5668a89afe0f107eab663e8c72412284bfe7f190996ab75c8b6ced5a9724899daac1cd76d3d693 SHA512 e13d7834f183a822ee413726876fd24a64199d049fe17403506e20dbc31ba959d99d59fdebe38b30c6ac84cdee0598513d8ebf7ea5888fa36007179161b314e7 +DIST inline_snapshot-0.34.1.tar.gz.provenance 9721 BLAKE2B b981170f55b63a2bfd41fb77e1362cadd4d939359cd2ea71ece024490e0f469e533fd52d8d38ac731beea849ec9d1c6a660c16d6158bd8fee3748437fba7dc99 SHA512 ac6186bd5f481646b8f27f5556185ae17b883a5238b44d1318fe8259ab320f347f744db11d64f8a9216797f0c40fe1e5b1c3239ad3ad6b30ee9fccbeb2ceaf38 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.33.0.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.33.0.ebuild index c39c79f1e89a..8e651ccb3a44 100644 --- a/dev-python/inline-snapshot/inline-snapshot-0.33.0.ebuild +++ b/dev-python/inline-snapshot/inline-snapshot-0.33.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] @@ -33,6 +33,7 @@ BDEPEND=" >=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}] $(python_gen_cond_dep ' dev-python/mypy[${PYTHON_USEDEP}] ' 'python*') diff --git a/dev-python/inline-snapshot/inline-snapshot-0.34.1.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.34.1.ebuild new file mode 100644 index 000000000000..2271ce4c1de9 --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.34.1.ebuild @@ -0,0 +1,63 @@ +# 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}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,xdist} ) +# TODO: EPYTEST_XDIST=1 gotten flaky with 0.33.0 +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 +} |
