Diff pythia-8.3.16-r1 with a pythia-9999

/usr/portage/sci-physics/pythia/pythia-9999.ebuild 2026-06-05 19:17:04.985041757 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{11..13} )
6
PYTHON_COMPAT=( python3_{11..14} )
7 7
inherit toolchain-funcs python-single-r1 optfeature
8 8

  
9 9
MY_PV=$(ver_cut 1-2)
......
34 34

  
35 35
LICENSE="GPL-2"
36 36
SLOT="8"
37
IUSE="doc examples fastjet +hepmc3 lhapdf root test zlib python highfive mpich rivet static-libs" # evtgen mg5mes rivet powheg
37
IUSE="doc examples fastjet hepmc2 +hepmc3 highfive lhapdf mg5mes mpich openmp python rivet root static-libs test zlib" # evtgen powheg
38 38
RESTRICT="!test? ( test )"
39 39
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
40 40

  
41 41
RDEPEND="
42 42
	fastjet? ( sci-physics/fastjet )
43 43
	hepmc3? ( sci-physics/hepmc:3= )
44
	hepmc2? ( sci-physics/hepmc:2= )
44 45
	lhapdf? ( sci-physics/lhapdf:= )
45 46
	zlib? ( virtual/zlib:= )
46 47
	highfive? (
......
59 60
	)
60 61
"
61 62

  
62
PATCHES=(
63
	"${FILESDIR}"/${PN}-8.3.15-ar.patch
64
)
65

  
66 63
pkg_setup() {
67 64
	use python && python-single-r1_pkg_setup
68 65
}
......
126 123
		--prefix="${EPREFIX}/usr" \
127 124
		--prefix-lib="${EPREFIX}/usr/$(get_libdir)" \
128 125
		--prefix-share="${EPYTHIADIR}" \
126
		$(use_with openmp) \
129 127
		$(usex fastjet "--with-fastjet3" "") \
130 128
		$(usex zlib "--with-gzip" "") \
131 129
		$(use_with hepmc3) \
130
		$(use_with hepmc2) \
132 131
		$(use_with highfive) \
133 132
		$(usex highfive --with-hdf5 "") \
134 133
		$(use_with python) \
135 134
		$(use_with rivet) \
135
		$(use_with mg5mes) \
136 136
		$(use_with mpich) \
137 137
		$(usex lhapdf "--with-lhapdf6
138 138
			--with-lhapdf6-plugin=LHAPDF6.h
Thank you!