# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) inherit ada python-single-r1 multiprocessing DESCRIPTION="high performance semantic engine for the Ada programming language" HOMEPAGE="https://libre.adacore.com/" SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0/${PV}" KEYWORDS="amd64 x86" IUSE="test +static-libs static-pic" REQUIRED_USE="${PYTHON_REQUIRED_USE} ${ADA_REQUIRED_USE}" # Need java RESTRICT="test" RDEPEND="dev-python/pyyaml dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv] dev-ada/gnatcoll-bindings[shared,static-libs?,static-pic?] ${ADA_DEPS} ${PYTHON_DEPS} >=dev-ada/gpr-24.0.0[${ADA_USEDEP},shared,static-libs?,static-pic?] >=dev-ada/langkit-24.0.0[${ADA_USEDEP},shared,static-libs?,static-pic?] $(python_gen_cond_dep ' dev-ada/langkit[${PYTHON_USEDEP}] ')" DEPEND="${RDEPEND} dev-ada/gprbuild[${ADA_USEDEP}] " BDEPEND="test? ( dev-ml/dune dev-ml/zarith dev-ml/camomile dev-ml/ocaml-ctypes dev-ada/e3-testsuite