# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MY_P=Rivet-${PV} PYTHON_COMPAT=( python3_{11..13} ) inherit python-single-r1 flag-o-matic autotools optfeature bash-completion-r1 DESCRIPTION="Robust Independent Validation of Experiment and Theory toolkit" HOMEPAGE=" https://rivet.hepforge.org/ https://gitlab.com/hepcedar/rivet " if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.com/hepcedar/rivet" else SRC_URI="https://www.hepforge.org/archive/rivet/${MY_P}.tar.gz -> ${P}.tar.gz" S=${WORKDIR}/${MY_P} KEYWORDS="~amd64" fi LICENSE="GPL-3+" SLOT="4/${PV}" IUSE="+zlib +python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" >=sci-physics/fastjet-3.4.0[plugins] >=sci-physics/fastjet-contrib-1.048 =sci-physics/yoda-1.9.8[${PYTHON_SINGLE_USEDEP}] =sci-physics/yoda-1.9.8