diff --git a/sci-physics/rivet/files/rivet-3.1.10-uint16.patch b/sci-physics/rivet/files/rivet-3.1.10-uint16.patch new file mode 100644 index 0000000000000..444735288f1c4 --- /dev/null +++ b/sci-physics/rivet/files/rivet-3.1.10-uint16.patch @@ -0,0 +1,22 @@ +From b52b246eadeb92ca0f1301061f8c757e1bdc377c Mon Sep 17 00:00:00 2001 +From: Alexander Puck Neuwirth +Date: Wed, 11 Dec 2024 18:35:50 +0000 +Subject: [PATCH] yamlcpp: Explicitly include + +--- + src/Core/yamlcpp/emitterutils.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/Core/yamlcpp/emitterutils.cpp b/src/Core/yamlcpp/emitterutils.cpp +index c033427e17..4943267206 100644 +--- a/src/Core/yamlcpp/emitterutils.cpp ++++ b/src/Core/yamlcpp/emitterutils.cpp +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include + +-- +GitLab + diff --git a/sci-physics/rivet/rivet-3.1.10-r2.ebuild b/sci-physics/rivet/rivet-3.1.10-r2.ebuild new file mode 100644 index 0000000000000..5699ab77d9d00 --- /dev/null +++ b/sci-physics/rivet/rivet-3.1.10-r2.ebuild @@ -0,0 +1,120 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit python-single-r1 flag-o-matic autotools optfeature bash-completion-r1 + +MY_PN="Rivet" +MY_PF=${MY_PN}-${PV} + +DESCRIPTION="Rivet toolkit (Robust Independent Validation of Experiment and Theory)" +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_PF}.tar.gz -> ${P}.tar.gz" + S=${WORKDIR}/${MY_PF} + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="3" +IUSE="+hepmc3 hepmc2 +zlib +python" +REQUIRED_USE=" + ^^ ( hepmc3 hepmc2 ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +RDEPEND=" + >=sci-physics/fastjet-3.4.0[plugins] + >=sci-physics/fastjet-contrib-1.048 + hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] ) + hepmc3? ( =sci-physics/yoda-1.9.8[${PYTHON_SINGLE_USEDEP}] + =sci-physics/yoda-1.9.8 +