gentoo/dev-python/deepdiff/deepdiff-8.6.1.ebuild
Michał Górny 9f01b0be01
dev-python/deepdiff: dev-python/orjson is needed for tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-04 04:36:52 +02:00

50 lines
1.2 KiB
Bash

# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{11..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-6[${PYTHON_USEDEP}]
>=dev-python/orderly-set-5.4.1[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
"
DEPEND="
test? (
>=dev-python/jsonpickle-4.0.0[${PYTHON_USEDEP}]
>=dev-python/numpy-2.2.0[${PYTHON_USEDEP}]
>=dev-python/orjson-3.10.0[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
dev-python/uuid6[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# benchmarks
tests/test_lfucache.py::TestLFUcache::test_lfu
# requires polars
tests/test_hash.py::TestDeepHashPrep::test_polars
)