commit:     616999807f90846fe8f62debabde2692c620f16e
Author:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 10 15:58:40 2026 +0000
Commit:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Fri Feb 13 08:53:12 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61699980

sci-physics/pythia: add 8.3.17

Part-of: https://github.com/gentoo/gentoo/pull/45730
Closes: https://github.com/gentoo/gentoo/pull/45730
Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>

 sci-physics/pythia/Manifest                                     | 1 +
 sci-physics/pythia/metadata.xml                                 | 5 +++--
 sci-physics/pythia/{pythia-9999.ebuild => pythia-8.3.17.ebuild} | 6 ++++--
 sci-physics/pythia/pythia-9999.ebuild                           | 6 ++++--
 4 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest
index a05de4bdd2cd..b1636d269948 100644
--- a/sci-physics/pythia/Manifest
+++ b/sci-physics/pythia/Manifest
@@ -6,3 +6,4 @@ DIST NNPDF23_nnlo_as_0119_qed_mc.tar.gz 28940412 BLAKE2B 
57c7c98bb863258f87e236f
 DIST cteq66.tar.gz 8647237 BLAKE2B 
3ac47b6eee434f89ff329cfcb8268782af4ffa552ca4b412a59254e9b10410518f9fe9543b47f193d9cd31b06fc1101556df2be01c25ca17febcb9fb1855e5ca
 SHA512 
25d0fa01dcdb59d71c7092367af8258471a2bc6dfd146766cc79f90ffb0feafa0f2011d0a37a7d75315c10ba7c7a6e3fa583d9c0a28119b072228ac800294e48
 DIST cteq6l1.tar.gz 317834 BLAKE2B 
eccad131853f9a760d0dfd43a3f8705f8edbac3ec7373de9ef9a8936f13ba06500ba5758cd04649dd1b85ac04fc778e9d96222877e74e9ff02263455b233fa41
 SHA512 
7177608e97077eaf45a292db4ea74eb9a28b4b500ab8be02098b4837a5583cd397828abc3bf43ead448926eaa75ae3968bd059ecde333d90ed6e4295cbe1873c
 DIST pythia8316.tgz 30428099 BLAKE2B 
d78bf0f9ae1978b46ae94322dbe63c010a05cd17deb441bbee4851af8d5920592b83386fd7c96dce0bcf47218b4360d56037ee52a6f9a8e29e01a85bc2f00419
 SHA512 
3c308b09e25856d079f1b5790e2560d28fc6e9ae23ece70f37efa53569360747e74ad7264604e8f2f99a75b3a18059196e71b375ad2321abfd2c5ceab1e0ec66
+DIST pythia8317.tgz 31291506 BLAKE2B 
93d28e1e7b60a89fa948d3de784f8a251e44fe9ff189770828065e333497adbecaf6cbe76c966383088bc763ad68f6dd762a3be4fcb6cfc6c3d7b28d2a619eaf
 SHA512 
d0b5e62d36e6162590c9ab6da61a034f357ca1e139947b06679f076c602c55aaa2b53d0b9aa8a4ff2b45bef9d029e663629fcc83da183cf032f9f710bb61e4c4

diff --git a/sci-physics/pythia/metadata.xml b/sci-physics/pythia/metadata.xml
index 220015e75cea..6a907b4bffed 100644
--- a/sci-physics/pythia/metadata.xml
+++ b/sci-physics/pythia/metadata.xml
@@ -25,8 +25,9 @@
     <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>
-    <flag name="highfive">Support hdf and highfive</flag>
-    <flag name="mpich">Support mpich</flag>
+    <flag name="highfive">Support <pkg>sci-libs/hdf5</pkg> and 
<pkg>sci-libs/highfive</pkg></flag>
+    <flag name="mg5mes">MadGraph matrix element plugins for parton 
showers</flag>
+    <flag name="mpich">Multi-threading support via 
<pkg>sys-cluster/mpich</pkg></flag>
     <flag name="rivet">Support <pkg>sci-physics/rivet</pkg></flag>
   </use>
   <upstream>

diff --git a/sci-physics/pythia/pythia-9999.ebuild 
b/sci-physics/pythia/pythia-8.3.17.ebuild
similarity index 96%
copy from sci-physics/pythia/pythia-9999.ebuild
copy to sci-physics/pythia/pythia-8.3.17.ebuild
index 017000d9bf5e..26e436b1b21d 100644
--- a/sci-physics/pythia/pythia-9999.ebuild
+++ b/sci-physics/pythia/pythia-8.3.17.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -34,7 +34,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="8"
-IUSE="doc examples fastjet +hepmc3 lhapdf root test zlib python highfive mpich 
rivet static-libs" # evtgen mg5mes rivet powheg
+IUSE="doc examples fastjet +hepmc3 highfive lhapdf mg5mes mpich openmp python 
rivet root static-libs test zlib" # evtgen powheg
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -122,6 +122,7 @@ src_configure() {
                --prefix="${EPREFIX}/usr" \
                --prefix-lib="${EPREFIX}/usr/$(get_libdir)" \
                --prefix-share="${EPYTHIADIR}" \
+               $(use_with openmp) \
                $(usex fastjet "--with-fastjet3" "") \
                $(usex zlib "--with-gzip" "") \
                $(use_with hepmc3) \
@@ -129,6 +130,7 @@ src_configure() {
                $(usex highfive --with-hdf5 "") \
                $(use_with python) \
                $(use_with rivet) \
+               $(use_with mg5mes) \
                $(use_with mpich) \
                $(usex lhapdf "--with-lhapdf6
                        --with-lhapdf6-plugin=LHAPDF6.h

diff --git a/sci-physics/pythia/pythia-9999.ebuild 
b/sci-physics/pythia/pythia-9999.ebuild
index 017000d9bf5e..26e436b1b21d 100644
--- a/sci-physics/pythia/pythia-9999.ebuild
+++ b/sci-physics/pythia/pythia-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -34,7 +34,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="8"
-IUSE="doc examples fastjet +hepmc3 lhapdf root test zlib python highfive mpich 
rivet static-libs" # evtgen mg5mes rivet powheg
+IUSE="doc examples fastjet +hepmc3 highfive lhapdf mg5mes mpich openmp python 
rivet root static-libs test zlib" # evtgen powheg
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -122,6 +122,7 @@ src_configure() {
                --prefix="${EPREFIX}/usr" \
                --prefix-lib="${EPREFIX}/usr/$(get_libdir)" \
                --prefix-share="${EPYTHIADIR}" \
+               $(use_with openmp) \
                $(usex fastjet "--with-fastjet3" "") \
                $(usex zlib "--with-gzip" "") \
                $(use_with hepmc3) \
@@ -129,6 +130,7 @@ src_configure() {
                $(usex highfive --with-hdf5 "") \
                $(use_with python) \
                $(use_with rivet) \
+               $(use_with mg5mes) \
                $(use_with mpich) \
                $(usex lhapdf "--with-lhapdf6
                        --with-lhapdf6-plugin=LHAPDF6.h

Reply via email to