summaryrefslogtreecommitdiff
path: root/sci-physics
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-01-22 19:23:43 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-01-22 19:23:43 +0000
commit0b0b3c7211a5babe3bbead4c42ce496bf247ae1d (patch)
tree15870dcf3073d694ec924114c89e50ec369de302 /sci-physics
parentaf94af37af925aa5c904f8d0cf1b76c5177dcf3a (diff)
downloadbaldeagleos-repo-0b0b3c7211a5babe3bbead4c42ce496bf247ae1d.tar.gz
baldeagleos-repo-0b0b3c7211a5babe3bbead4c42ce496bf247ae1d.tar.xz
baldeagleos-repo-0b0b3c7211a5babe3bbead4c42ce496bf247ae1d.zip
Adding metadata
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/pythia/pythia-8.3.16-r1.ebuild1
-rw-r--r--sci-physics/pythia/pythia-9999.ebuild1
-rw-r--r--sci-physics/yoda/files/yoda-2.1.2-testbinestimate.patch30
-rw-r--r--sci-physics/yoda/yoda-2.1.2.ebuild6
-rw-r--r--sci-physics/yoda/yoda-9999.ebuild2
5 files changed, 36 insertions, 4 deletions
diff --git a/sci-physics/pythia/pythia-8.3.16-r1.ebuild b/sci-physics/pythia/pythia-8.3.16-r1.ebuild
index 6ecb10f43e31..48ebfd73ac9b 100644
--- a/sci-physics/pythia/pythia-8.3.16-r1.ebuild
+++ b/sci-physics/pythia/pythia-8.3.16-r1.ebuild
@@ -134,7 +134,6 @@ src_configure() {
$(use_with python) \
$(use_with rivet) \
$(use_with mpich) \
- $(use_with hepmc2) \
$(usex lhapdf "--with-lhapdf6
--with-lhapdf6-plugin=LHAPDF6.h
--with-lhapdf6-lib=${EPREFIX}/usr/$(get_libdir)" "") \
diff --git a/sci-physics/pythia/pythia-9999.ebuild b/sci-physics/pythia/pythia-9999.ebuild
index 8a91ca08476d..0ef34d9e250c 100644
--- a/sci-physics/pythia/pythia-9999.ebuild
+++ b/sci-physics/pythia/pythia-9999.ebuild
@@ -130,7 +130,6 @@ src_configure() {
$(use_with python) \
$(use_with rivet) \
$(use_with mpich) \
- $(use_with hepmc2) \
$(usex lhapdf "--with-lhapdf6
--with-lhapdf6-plugin=LHAPDF6.h
--with-lhapdf6-lib=${EPREFIX}/usr/$(get_libdir)" "") \
diff --git a/sci-physics/yoda/files/yoda-2.1.2-testbinestimate.patch b/sci-physics/yoda/files/yoda-2.1.2-testbinestimate.patch
new file mode 100644
index 000000000000..9e6f1cbb103b
--- /dev/null
+++ b/sci-physics/yoda/files/yoda-2.1.2-testbinestimate.patch
@@ -0,0 +1,30 @@
+https://gitlab.com/hepcedar/yoda/-/merge_requests/387
+From 12c3786635875ebf3e7c969248654191736b660a Mon Sep 17 00:00:00 2001
+From: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
+Date: Sat, 20 Dec 2025 19:46:34 +0100
+Subject: [PATCH] fix rounding uncertainty on bin edge in tests
+
+Closes: https://gitlab.com/hepcedar/yoda/-/issues/151
+---
+ tests/TestBinEstimators.cc | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/tests/TestBinEstimators.cc b/tests/TestBinEstimators.cc
+index 14fb9f5e..e89cccf3 100644
+--- a/tests/TestBinEstimators.cc
++++ b/tests/TestBinEstimators.cc
+@@ -40,7 +40,10 @@ auto testLogEst() {
+ est2.estindex( 0.) == 0 &&
+ est2.estindex( 1.) == 1 &&
+ est2.estindex( 5.) == 1 &&
+- est2.estindex( 10.) == 2 &&
++ est2.estindex( 9.9) == 1 &&
++ // amd64 vs x86 rounding can give different results here
++ (est2.estindex(10.) == 1 || est2.estindex( 10.) == 2) &&
++ est2.estindex(10.1) == 2 &&
+ est2.estindex(100.) == 2);
+ }
+
+--
+GitLab
+
diff --git a/sci-physics/yoda/yoda-2.1.2.ebuild b/sci-physics/yoda/yoda-2.1.2.ebuild
index 23324314735b..c57dd726a5da 100644
--- a/sci-physics/yoda/yoda-2.1.2.ebuild
+++ b/sci-physics/yoda/yoda-2.1.2.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then
else
SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
S="${WORKDIR}/${P^^}"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
@@ -50,6 +50,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${P}-testbinestimate.patch
+)
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}
diff --git a/sci-physics/yoda/yoda-9999.ebuild b/sci-physics/yoda/yoda-9999.ebuild
index 7c2592209cae..6965a416c555 100644
--- a/sci-physics/yoda/yoda-9999.ebuild
+++ b/sci-physics/yoda/yoda-9999.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then
else
SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
S="${WORKDIR}/${P^^}"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"