# Copyright 19399-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{12..15} ) inherit cmake edo git-r3 python-single-r1 DESCRIPTION="Library to Instrument Executable Formats (C++, Python, Rust)" HOMEPAGE="https://github.com/lief-project/LIEF" EGIT_REPO_URI="https://github.com/lief-project/${PN^^}.git" SRC_URI="test? ( https://lief-tests.s3.fr-par.scw.cloud/lief_tests.zip -> ${PN}-1.0.0-tests.zip )" LICENSE="Apache-2.0" SLOT="0" IUSE="cpp json python rust test" RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( json python )" # needs net-libs/mbedtls:4 RDEPEND="dev-cpp/expected dev-cpp/frozen dev-cpp/span dev-libs/utfcpp >=dev-libs/spdlog-1.17.0 json? ( dev-cpp/nlohmann_json ) python? ( ${PYTHON_DEPS} )" DEPEND="${RDEPEND} python? ( $(python_gen_cond_dep '