Diff pythia-8.3.12 with a pythia-9999
/usr/portage/sci-physics/pythia/pythia-9999.ebuild 2025-07-29 16:22:17.352467826 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
1 |
# Copyright 1999-2025 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
PYTHON_COMPAT=( python3_{11..13} ) |
7 |
inherit toolchain-funcs python-single-r1 |
|
7 |
inherit toolchain-funcs python-single-r1 optfeature |
|
8 | 8 | |
9 | 9 |
MV=$(ver_cut 1-2) |
10 | 10 |
MY_P="${PN}${PV//./}" |
... | ... | |
160 | 160 |
use hepmc3 && tests+=" $(echo main{131..135})" |
161 | 161 |
use hepmc3 && use mpich && use highfive && tests+=" $(echo main136)" |
162 | 162 |
use lhapdf && tests+=" $(echo main{201..204})" |
163 |
use fastjet && tests+=" $(echo main{211..216})" |
|
163 |
use fastjet && tests+=" $(echo main{{211..214},216})" # 215 fails... |
|
164 | 164 |
use root && tests+=" main143" |
165 | 165 |
use hepmc3 && use lhapdf && tests+=" $(echo main{133,162})" |
166 | 166 |
use fastjet && use hepmc3 && use lhapdf && tests+=" $(echo main161)" |
... | ... | |
181 | 181 |
dolib.so lib/libpythia8.so |
182 | 182 |
use lhapdf && dolib.so lib/libpythia8lhapdf6.so |
183 | 183 |
insinto "${PYTHIADIR}" |
184 |
doins -r share/Pythia8/xmldoc share/Pythia8/pdfdata examples/Makefile.inc |
|
184 |
doins -r share/Pythia8/tunes share/Pythia8/xmldoc share/Pythia8/pdfdata examples/Makefile.inc |
|
185 | 185 | |
186 | 186 |
newenvd - 99pythia8 <<- _EOF_ |
187 | 187 |
PYTHIA8DATA=${EPYTHIADIR}/xmldoc |
... | ... | |
212 | 212 |
# cleanup |
213 | 213 |
unset PYTHIADIR EPYTHIADIR |
214 | 214 |
} |
215 | ||
216 |
pkg_postinstall() { |
|
217 |
optfeature "python interface awkward array support" dev-python/awkward |
|
218 |
optfeature "python interface vector support" dev-python/vector |
|
219 |
} |