mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/inline-snapshot: Bump to 0.33.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST inline_snapshot-0.32.6.tar.gz 2627401 BLAKE2B bc5e6d2df47ee092fa26ed9f22066
|
||||
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
|
||||
DIST inline_snapshot-0.33.0.tar.gz 2637158 BLAKE2B 1bc372dd7f4a546410570b7a2a02ed65722d3448f8f2bc6e4f7cae926370f3ba74fc33f1b1162e4f6563f1f94273c592da4a5f8f573557235d8a5064b8c22c88 SHA512 17af4c5992dfc04809df804ab7167063d01166073e8017eeb08e60cef8ada642955eb2090e0e86807aacd3a6feddceed0cf3c37667fed5b732d076e8449ced13
|
||||
DIST inline_snapshot-0.33.0.tar.gz.provenance 9520 BLAKE2B 812259517d0fb1a0ba26b25986a8335810fe9542b581f7ced793cf3f1e64d6e10fbf2934252adc4352b113535028cc8a158ffe8c99aef993acbd08bcae35adea SHA512 241f66837bd510f10b2897fe8de4815d6352e78d0a9153ffb4be5fbd0be80fca693e5cf3c30ae32a3042a3294b175b865999a628607ecec414c81f7768570d6d
|
||||
|
||||
62
dev-python/inline-snapshot/inline-snapshot-0.33.0.ebuild
Normal file
62
dev-python/inline-snapshot/inline-snapshot-0.33.0.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# 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}]
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user