From 0b0b3c7211a5babe3bbead4c42ce496bf247ae1d Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 22 Jan 2026 19:23:43 +0000 Subject: Adding metadata --- sci-physics/pythia/pythia-8.3.16-r1.ebuild | 1 - sci-physics/pythia/pythia-9999.ebuild | 1 - .../yoda/files/yoda-2.1.2-testbinestimate.patch | 30 ++++++++++++++++++++++ sci-physics/yoda/yoda-2.1.2.ebuild | 6 ++++- sci-physics/yoda/yoda-9999.ebuild | 2 +- 5 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 sci-physics/yoda/files/yoda-2.1.2-testbinestimate.patch (limited to 'sci-physics') 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 +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" -- cgit v1.3