From 3ad2c2cf00f4a3c449a694ed20ea83fdcb6670c2 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 26 May 2026 18:23:21 +0200 Subject: [PATCH] sci-physics/pythia: enable py3.14 Closes: https://bugs.gentoo.org/974192 Signed-off-by: Alexander Puck Neuwirth Part-of: https://github.com/gentoo/gentoo/pull/46314 Closes: https://github.com/gentoo/gentoo/pull/46314 --- sci-physics/pythia/metadata.xml | 1 + sci-physics/pythia/pythia-8.3.17.ebuild | 6 ++++-- sci-physics/pythia/pythia-9999.ebuild | 6 ++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/sci-physics/pythia/metadata.xml b/sci-physics/pythia/metadata.xml index 6a907b4bffedb..98085c7b8f9a7 100644 --- a/sci-physics/pythia/metadata.xml +++ b/sci-physics/pythia/metadata.xml @@ -22,6 +22,7 @@ Build jets using the sci-physics/fastjet package + Adds support for High Energy Physics Monte Carlo Generators 2 sci-physics/hepmc Adds support for High Energy Physics Monte Carlo Generators 3 sci-physics/hepmc Support the use of external PDF sets via sci-physics/lhapdf Use sci-physics/root trees and histograms (in examples only) diff --git a/sci-physics/pythia/pythia-8.3.17.ebuild b/sci-physics/pythia/pythia-8.3.17.ebuild index dff734553c6e0..c45391215a9b4 100644 --- a/sci-physics/pythia/pythia-8.3.17.ebuild +++ b/sci-physics/pythia/pythia-8.3.17.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit toolchain-funcs python-single-r1 optfeature MY_PV=$(ver_cut 1-2) @@ -34,13 +34,14 @@ fi LICENSE="GPL-2" SLOT="8" -IUSE="doc examples fastjet +hepmc3 highfive lhapdf mg5mes mpich openmp python rivet root static-libs test zlib" # evtgen powheg +IUSE="doc examples fastjet hepmc2 +hepmc3 highfive lhapdf mg5mes mpich openmp python rivet root static-libs test zlib" # evtgen powheg RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" fastjet? ( sci-physics/fastjet ) hepmc3? ( sci-physics/hepmc:3= ) + hepmc2? ( sci-physics/hepmc:2= ) lhapdf? ( sci-physics/lhapdf:= ) zlib? ( virtual/zlib:= ) highfive? ( @@ -126,6 +127,7 @@ src_configure() { $(usex fastjet "--with-fastjet3" "") \ $(usex zlib "--with-gzip" "") \ $(use_with hepmc3) \ + $(use_with hepmc2) \ $(use_with highfive) \ $(usex highfive --with-hdf5 "") \ $(use_with python) \ diff --git a/sci-physics/pythia/pythia-9999.ebuild b/sci-physics/pythia/pythia-9999.ebuild index dff734553c6e0..c45391215a9b4 100644 --- a/sci-physics/pythia/pythia-9999.ebuild +++ b/sci-physics/pythia/pythia-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit toolchain-funcs python-single-r1 optfeature MY_PV=$(ver_cut 1-2) @@ -34,13 +34,14 @@ fi LICENSE="GPL-2" SLOT="8" -IUSE="doc examples fastjet +hepmc3 highfive lhapdf mg5mes mpich openmp python rivet root static-libs test zlib" # evtgen powheg +IUSE="doc examples fastjet hepmc2 +hepmc3 highfive lhapdf mg5mes mpich openmp python rivet root static-libs test zlib" # evtgen powheg RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" fastjet? ( sci-physics/fastjet ) hepmc3? ( sci-physics/hepmc:3= ) + hepmc2? ( sci-physics/hepmc:2= ) lhapdf? ( sci-physics/lhapdf:= ) zlib? ( virtual/zlib:= ) highfive? ( @@ -126,6 +127,7 @@ src_configure() { $(usex fastjet "--with-fastjet3" "") \ $(usex zlib "--with-gzip" "") \ $(use_with hepmc3) \ + $(use_with hepmc2) \ $(use_with highfive) \ $(usex highfive --with-hdf5 "") \ $(use_with python) \