sci-physics/pythia: enable py3.14

Closes: https://bugs.gentoo.org/974192
Signed-off-by: Alexander Puck Neuwirth <apn-pucky@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/46314
Closes: https://github.com/gentoo/gentoo/pull/46314
This commit is contained in:
Alexander Puck Neuwirth
2026-05-26 18:23:21 +02:00
parent 1eaa810d1e
commit 3ad2c2cf00
3 changed files with 9 additions and 4 deletions

View File

@@ -22,6 +22,7 @@
</longdescription>
<use>
<flag name="fastjet">Build jets using the <pkg>sci-physics/fastjet</pkg> package</flag>
<flag name="hepmc2">Adds support for High Energy Physics Monte Carlo Generators 2 <pkg>sci-physics/hepmc</pkg></flag>
<flag name="hepmc3">Adds support for High Energy Physics Monte Carlo Generators 3 <pkg>sci-physics/hepmc</pkg></flag>
<flag name="lhapdf">Support the use of external PDF sets via <pkg>sci-physics/lhapdf</pkg></flag>
<flag name="root">Use <pkg>sci-physics/root</pkg> trees and histograms (in examples only)</flag>

View File

@@ -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) \

View File

@@ -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) \