# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin CLI_COMPAT=( python3_{12..15} ) PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_{14..15}t ) PYTHON_REQ_USE="threads(+),sqlite" RUST_MIN_VER="1.91.0" CRATES=" heck@0.5.0 libc@0.2.186 once_cell@1.21.4 portable-atomic@1.13.1 proc-macro2@1.0.106 pyo3-build-config@0.29.0 pyo3-ffi@0.29.0 pyo3-macros-backend@0.29.0 pyo3-macros@0.29.0 pyo3@0.29.0 quote@1.0.46 syn@2.0.118 target-lexicon@0.13.5 unicode-ident@1.0.24 " inherit cargo distutils-r1 optfeature DESCRIPTION="A library for property based testing" HOMEPAGE=" https://github.com/HypothesisWorks/hypothesis/ https://pypi.org/project/hypothesis/ " SRC_URI=" https://github.com/HypothesisWorks/hypothesis/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz ${CARGO_CRATE_URIS} " S="${WORKDIR}/${P}/hypothesis" LICENSE="MPL-2.0" # Dependent crate licenses LICENSE+=" Apache-2.0-with-LLVM-exceptions Unicode-3.0 || ( Apache-2.0 MIT ) " SLOT="0" KEYWORDS="~amd64 ~arm64" IUSE="cli" RDEPEND=" >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]