dev-python/deepdiff: Bump to 8.0.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-08-29 16:24:37 +02:00
parent b8f3911576
commit 8b3b2f592d
2 changed files with 69 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST deepdiff-7.0.1.tar.gz 421718 BLAKE2B b6441b9c035db0cc6e4fa83811999e8a83b3faed2ea95bcbdad158486e583ea9d707595d2342f83d0c25f6a5c086a8070c714253e2db09fcaf43de1616d46cda SHA512 facc15beb82744a1b8baf29e0d8f06625e8d4ee4ed7ab5f1b131ad9d44134215651d1c6b19493c83532f612d81752df14aec2dbccc73cb5b994e0bafcaf5bbc2
DIST deepdiff-8.0.1.tar.gz 427721 BLAKE2B 0725a87ef17f9e1984594ccca7d954d608cfa0a6ea2c17b03d679bf5cd67135a1c5e3f21d749c18f1f91a5537e9ddaf179fb5b0a5ea135776415f5c0d82be274 SHA512 240662fb3e2408383fae4f6d4e5707357285e0058828d754dd09a94d1ccc29b854381a542dc2042842c79a57307b02d9ad009cc3106b35b0058612fabc0bcf96

View File

@@ -0,0 +1,68 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="A library for comparing dictionaries, iterables, strings and other objects"
HOMEPAGE="
https://github.com/seperman/deepdiff/
https://pypi.org/project/deepdiff/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/click-8.1.3[${PYTHON_USEDEP}]
>=dev-python/orderly-set-5.2.2[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
"
DEPEND="
test? (
>=dev-python/jsonpickle-3.0.0[${PYTHON_USEDEP}]
>=dev-python/numpy-1.23.5[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' 3.10)
)
"
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# unpin deps
sed -i -e 's:==:>=:' requirements.txt || die
}
python_test() {
local EPYTEST_DESELECT=(
# benchmarks
tests/test_lfucache.py::TestLFUcache::test_lfu
# requires polars
tests/test_hash.py::TestDeepHashPrep::test_polars
)
case ${EPYTHON} in
python3.13)
EPYTEST_DESELECT+=(
# changed exception message
"tests/test_command.py::TestCommands::test_diff_command[t1_corrupt.json-t2.json-Expecting property name enclosed in double quotes-1]"
)
;;
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}