| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=maturin
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{12..14} )
RUST_MIN_VER="1.82.0"
inherit cargo distutils-r1 git-r3
DESCRIPTION="Fast iterable JSON parser"
HOMEPAGE="https://github.com/pydantic/jiter"
EGIT_REPO_URI="https://github.com/pydantic/${PN}.git"
LICENSE="Apache-2.0 Boost-1.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 UoI-NCSA Unicode-3.0"
SLOT="0"
RESTRICT="test" # requires nodejs
RDEPEND="dev-python/orjson[${PYTHON_USEDEP}]
dev-python/ujson[${PYTHON_USEDEP}]"
BDEPEND="dev-util/maturin[${PYTHON_USEDEP}]"
QA_FLAGS_IGNORED="usr/lib/python.*/site-packages/jiter/jiter.*.so"
distutils_enable_tests pytest
dev-python/orjson[${PYTHON_USEDEP}]
dev-python/ujson[${PYTHON_USEDEP}]
dev-util/maturin[${PYTHON_USEDEP}]