mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-08 00:10:15 +03:00
dev-python/inline-snapshot: Bump to 0.31.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -5,3 +5,5 @@ DIST inline_snapshot-0.30.0.tar.gz 2598970 BLAKE2B 41d4fef8d3c27037d69b1ab1b4110
|
||||
DIST inline_snapshot-0.30.0.tar.gz.provenance 9291 BLAKE2B e5297037e80ec97cea84895d1aca6faa6398be2b5344dbc384f3846a1fd6545f3599a3c05d0eea0c15dc12d9e0d31fc7af0ebdf1720775a2ebcecd1af6b276a3 SHA512 de61f68d54ea64d7dfa491d04d835077ddf6f8f360124fd86f19f18fa00af5adf38d05e33adf1da58b78a2c72747dfda23ae1dbf03e16c6bad240c1e09a08039
|
||||
DIST inline_snapshot-0.30.1.tar.gz 2599126 BLAKE2B 34f1ed7e758b908eb91e2018ae3a626016fd3e4b0c2cfb0bbae2eec14b376c1aab36b67ecc1624e5dd48b5bb9f67762215b2420360e40c8b55c60b07c7c5a100 SHA512 44a490c0b544805927554cdfc2760e114fdd11214db3d0bab1652a2861504bd5a375126b08a598a1a6c1a5fb80cf87827f1b70877b72b2006bba0131c7a0ebdb
|
||||
DIST inline_snapshot-0.30.1.tar.gz.provenance 9201 BLAKE2B 79fb91a8ad198cb419fc813fecc9d333db6b14edffb7e95ab48c2c05da921f1dba11bb81e9c66bf33604c02fdd3501551a0c84ae8acd5fd071e75826253f9d07 SHA512 d29606090e061ad8eb5539b256c170bb85cb8e7bcd1786438b9db4f4f399a9f6c224791ced9c1cf4510426c7a393c29996f2892bbf7e5455faf90320eff381d0
|
||||
DIST inline_snapshot-0.31.0.tar.gz 2600041 BLAKE2B 744da938790d64294eee36b40b28927fe28f7e7d361477969906790f4c87a7cac51322365be8f5493901cb38df91c7ffcc915cc3ff15b8f274e994247f54365b SHA512 5938c6ae0f30becd0b6ec02e85d1cdfefa51f791fe0f16018f6c278bd4535d7ba86719950d7df0378e3116492c3e24a1f1165940a75be0577e0a6c17f98fc76c
|
||||
DIST inline_snapshot-0.31.0.tar.gz.provenance 9385 BLAKE2B 16272bcd07c9fdec405a8f604cdb9bdb01a9e459367d3f397a5e0e18979a4537846915421f52d0fcf169dcc421968eae3d5c07d5f63aa828d2f324b8c2a7c7d9 SHA512 743b3df6a03a070b336206589b8a6ae2b7ce2e481bf5c44d8f0318c6ec8468558f401ff1b21a63cf12dd56bb2865e7f1023b934f9883e3af8ce9089dfe9604f6
|
||||
|
||||
62
dev-python/inline-snapshot/inline-snapshot-0.31.0.ebuild
Normal file
62
dev-python/inline-snapshot/inline-snapshot-0.31.0.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 2024-2025 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}]
|
||||
"
|
||||
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
|
||||
)
|
||||
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONPATH=${S}/src
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user