From f2c773ac7f246b8a8070496c32339d2b0a6dcd9e Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:14:09 +0200 Subject: [PATCH 01/15] sci-physics/lhapdf-sets: add ct10nlo pdf Signed-off-by: Alexander Puck Neuwirth --- profiles/desc/lhapdf_sets.desc | 1 + sci-physics/lhapdf-sets/Manifest | 1 + sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild | 2 ++ 3 files changed, 4 insertions(+) diff --git a/profiles/desc/lhapdf_sets.desc b/profiles/desc/lhapdf_sets.desc index a0e082b3f8f..8d6f6d44778 100644 --- a/profiles/desc/lhapdf_sets.desc +++ b/profiles/desc/lhapdf_sets.desc @@ -11,6 +11,7 @@ ct14qed_proton - CT14qed_proton LHAPDF grid ct14lo - CT14lo LHAPDF grid ct14nlo - CT14nlo LHAPDF grid ct10 - CT10 LHAPDF grid +ct10nlo - CT10nlo LHAPDF grid ct10nnlo - CT10nnlo LHAPDF grid mrst2007lomod - MRST2007lomod LHAPDF grid nnpdf23_nlo_as_0119_qed - NNPDF23_nlo_as_0119_qed LHAPDF grid diff --git a/sci-physics/lhapdf-sets/Manifest b/sci-physics/lhapdf-sets/Manifest index a1748769dd8..eaa7649c1a2 100644 --- a/sci-physics/lhapdf-sets/Manifest +++ b/sci-physics/lhapdf-sets/Manifest @@ -1,4 +1,5 @@ DIST CT10.tar.gz 10246366 BLAKE2B f0daf0a3ca6cd2f178f993944cdc29de5deb1f441d197e47c8b1c285a56abc0fdb1cd53ec5a8e7736e200397bea9ec9cf4d04420ce206e5c396b85b63f695d00 SHA512 90406bd102ab54b683fa3e6f3fc759febea2454a0b96c6a8d373cdec297f5d652097057a015c7d87241792ed9b5d9ac658a33155cdd7362f59110f8f06ecce73 +DIST CT10nlo.tar.gz 10587127 BLAKE2B 7261be5df2a2e2c533b4a9d234ad504cf41129f8a6cc0340edbda0439e8a2f98d7bd3bd75c9d56a0ee86e97974ebdd2191eaec88b34481489e6ac9707cca50bf SHA512 64c1ae32380a8e8ae647bdd79a63bdb252540777f802bebf003d20ec3e7532370601619a85f6fd872f7d0e39e1a1f66ea96fcd4b9179e1f23e27d533906af493 DIST CT10nnlo.tar.gz 14226448 BLAKE2B a6949ad400ebc44753682feaa38936d37acc2912431b933c756626cba13ba3be6da3df2a4c7bce063fbe60babc69921157a67c0702290652bbd261979e3b8671 SHA512 3ae1659c38e291af39a8615d759a5c41ece1b7d622031b8b4c5118cff1c66b7ce6bd2593e2306628d09a9314eff04500a1d8fa899a4d0d84053cf1fb4e2bf673 DIST CT14lo.tar.gz 474954 BLAKE2B 60e8d3695fa64a997f0431516086f037d8843a9310cb52910c28a8a8960838409bafb280cf776b25fde1b31225743b72a48a3d467b1f7a4ff5478d515607645b SHA512 bc6acfcf522262da227411555f10dd73456fb5d0ab9db334b99cf7953463e1fa3de8c78bbb95269e9a47629860d906d43948e6cf1719b00402645ec18249f959 DIST CT14nlo.tar.gz 27067462 BLAKE2B b8d46593a62e80c320c76fb89f646ba0f31ab98811076120de1d21ef3b4849ff3d2e7b8d01d01dff5f1ee05a2266d94664e7f4a27347fa32c8ac4c68b0e72acb SHA512 1fcdfd24569966c1bc9c98f8ae2bf7d3a306700387b1351c92bc2b4f061db5d59d048c6cdd25095e1dc58344afa7f65a6526c611d747a5894398754483db77a2 diff --git a/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild index 05e6c1927d6..8d3bbc605ed 100644 --- a/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild +++ b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild @@ -13,6 +13,7 @@ IUSE_LHAPDF_SETS=" lhapdf_sets_ct14lo lhapdf_sets_ct14nlo lhapdf_sets_ct10 + lhapdf_sets_ct10nlo lhapdf_sets_ct10nnlo lhapdf_sets_mrst2007lomod lhapdf_sets_nnpdf23_nlo_as_0119_qed @@ -43,6 +44,7 @@ SRC_URI=" lhapdf_sets_ct14lo? ( ${COMMON_URI}/CT14lo.tar.gz ) lhapdf_sets_ct14nlo? ( ${COMMON_URI}/CT14nlo.tar.gz ) lhapdf_sets_ct10? ( ${COMMON_URI}/CT10.tar.gz ) + lhapdf_sets_ct10nlo? ( ${COMMON_URI}/CT10nlo.tar.gz ) lhapdf_sets_ct10nnlo? ( ${COMMON_URI}/CT10nnlo.tar.gz ) lhapdf_sets_mrst2007lomod? ( ${COMMON_URI}/MRST2007lomod.tar.gz ) lhapdf_sets_nnpdf23_nlo_as_0119_qed? ( ${COMMON_URI}/NNPDF23_nlo_as_0119_qed.tar.gz ) From d871be82876e7ae5588551754b7b787df304ea8c Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:18:18 +0200 Subject: [PATCH 02/15] sci-physics/ff: new package, add 2.0 Signed-off-by: Alexander Puck Neuwirth --- sci-physics/ff/Manifest | 1 + sci-physics/ff/ff-2.0.ebuild | 26 ++++++++++++++++++++++++++ sci-physics/ff/metadata.xml | 15 +++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 sci-physics/ff/Manifest create mode 100644 sci-physics/ff/ff-2.0.ebuild create mode 100644 sci-physics/ff/metadata.xml diff --git a/sci-physics/ff/Manifest b/sci-physics/ff/Manifest new file mode 100644 index 00000000000..427c837a22f --- /dev/null +++ b/sci-physics/ff/Manifest @@ -0,0 +1 @@ +DIST ff-2.0.tar.gz 308105 BLAKE2B 603ed547da9f6f01a78be0ec373d6735df86a978622689c4ea6b30856530facbdef045665b40f534f83e3b3a7edf8acdc31b2c4949974fee4a5cc5460708d1d8 SHA512 f23f6f316fc4b20af4d7507ee07e59e0b08a9d88c75def3699c0c48f4dec24b9c29dcaf5168cc6e3ca2eb7be82d18a79af0c800326292f1aee315466949b7a63 diff --git a/sci-physics/ff/ff-2.0.ebuild b/sci-physics/ff/ff-2.0.ebuild new file mode 100644 index 00000000000..e5ae6c38511 --- /dev/null +++ b/sci-physics/ff/ff-2.0.ebuild @@ -0,0 +1,26 @@ + +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit fortran-2 + +DESCRIPTION="A library for evaluating one-loop integrals" +HOMEPAGE="https://www.nikhef.nl//~t68/ff/" + +SRC_URI="http://www.nikhef.nl/~t68/ff/ff.tar.gz -> ${P}.tar.gz" # weird hepforge download names +S="${WORKDIR}/${PN}" +KEYWORDS="~amd64" + +LICENSE="GPL-2" +SLOT="0" + +src_compile() { + emake FFLAGS="-std=legacy ${FFLAGS}" +} + +src_install() { + mkdir -p "${D}/usr/$(get_libdir)" + emake DEST="${D}/usr/$(get_libdir)" install +} + diff --git a/sci-physics/ff/metadata.xml b/sci-physics/ff/metadata.xml new file mode 100644 index 00000000000..c27fa8d00d1 --- /dev/null +++ b/sci-physics/ff/metadata.xml @@ -0,0 +1,15 @@ + + + + + apn-pucky@gentoo.org + Alexander Puck Neuwirth + + + sci-physics@gentoo.org + Gentoo Physics Project + + + FF is a library to evaluate one-loop integrals needed for radiative corrections to scattering processes in particle physics. The idea of such a library is based on FormF by M. Veltman. Unfortunately this only runs in CDC and 68000 assembler, and uses very high precision (more than 100 digits) to overcome the numerical instabilities that plague these integrals. FF uses alternative algorithms which run in double precision Fortran 77. It is available by anonymous ftp. + + From bde14f176d89b5fa14a64f8e4f257651553594a5 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:20:52 +0200 Subject: [PATCH 03/15] sci-physics/lcio: new package, add 02.22.06 Signed-off-by: Alexander Puck Neuwirth --- sci-physics/lcio/Manifest | 1 + sci-physics/lcio/lcio-02.22.06.ebuild | 45 +++++++++++++++++++++++++++ sci-physics/lcio/metadata.xml | 19 +++++++++++ 3 files changed, 65 insertions(+) create mode 100644 sci-physics/lcio/Manifest create mode 100644 sci-physics/lcio/lcio-02.22.06.ebuild create mode 100644 sci-physics/lcio/metadata.xml diff --git a/sci-physics/lcio/Manifest b/sci-physics/lcio/Manifest new file mode 100644 index 00000000000..98153ab5afa --- /dev/null +++ b/sci-physics/lcio/Manifest @@ -0,0 +1 @@ +DIST lcio-02.22.06.tar.gz 8060448 BLAKE2B 04e3446fa866bf347fb9436c4460eea04c08e072bd3591ad4d753c899302b45dbddb7891715d822fc9d650e5927fee0f27bbb042c12e9a83badf5bf118b1b18a SHA512 beaaf2373098108fe9a555e0b1fe5951679be2efc6a2158d3a5f9e54bc40559def1120fe9112d41c428f224dc1f9990598827dedfdc6ae1645276a62352a82f3 diff --git a/sci-physics/lcio/lcio-02.22.06.ebuild b/sci-physics/lcio/lcio-02.22.06.ebuild new file mode 100644 index 00000000000..7c6d27767f8 --- /dev/null +++ b/sci-physics/lcio/lcio-02.22.06.ebuild @@ -0,0 +1,45 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{11..13} ) +CMAKE_MAKEFILE_GENERATOR="emake" + +MY_PV=$(ver_rs 1- '-') +MY_P="LCIO-${MY_PV}" + +inherit fortran-2 python-single-r1 cmake + +DESCRIPTION="Linear Collider I/O " +HOMEPAGE="https://github.com/iLCSoft/LCIO" +SRC_URI="https://github.com/iLCSoft/LCIO/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +IUSE="root" +DEPEND=" + sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] + ${PYTHON_DEPS} +" +RDEPEND="${DEPEND}" + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_ROOTDICT=$(usex root ON OFF) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install +} diff --git a/sci-physics/lcio/metadata.xml b/sci-physics/lcio/metadata.xml new file mode 100644 index 00000000000..16f6fc5fb24 --- /dev/null +++ b/sci-physics/lcio/metadata.xml @@ -0,0 +1,19 @@ + + + + + apn-pucky@gentoo.org + Alexander Puck Neuwirth + + + sci-physics@gentoo.org + Gentoo Physics Project + + + + LCIO ( Linear Collider I/O ) is a persistency framework and event data model for linear collider detector studies. + + + iLCSoft/LCIO + + From e6be02ae7afa590d2ab3ecdebcaced48e01f13aa Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:22:51 +0200 Subject: [PATCH 04/15] sci-physics/lcio: add lcio Signed-off-by: Alexander Puck Neuwirth --- sci-physics/lcio/lcio-02.22.06.ebuild | 6 ++++-- sci-physics/lcio/metadata.xml | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sci-physics/lcio/lcio-02.22.06.ebuild b/sci-physics/lcio/lcio-02.22.06.ebuild index 7c6d27767f8..583ead25b79 100644 --- a/sci-physics/lcio/lcio-02.22.06.ebuild +++ b/sci-physics/lcio/lcio-02.22.06.ebuild @@ -1,4 +1,4 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" IUSE="root" DEPEND=" - sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] + root? ( + sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] + ) ${PYTHON_DEPS} " RDEPEND="${DEPEND}" diff --git a/sci-physics/lcio/metadata.xml b/sci-physics/lcio/metadata.xml index 16f6fc5fb24..0674b860828 100644 --- a/sci-physics/lcio/metadata.xml +++ b/sci-physics/lcio/metadata.xml @@ -13,7 +13,13 @@ LCIO ( Linear Collider I/O ) is a persistency framework and event data model for linear collider detector studies. + iLCSoft/LCIO + + + Use Root sci-physics/root + + From 521e13218b5601e13248092308c79d012835100b Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:23:42 +0200 Subject: [PATCH 05/15] sci-physics/lcio: fix Signed-off-by: Alexander Puck Neuwirth --- sci-physics/lcio/metadata.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-physics/lcio/metadata.xml b/sci-physics/lcio/metadata.xml index 0674b860828..80a051ca17e 100644 --- a/sci-physics/lcio/metadata.xml +++ b/sci-physics/lcio/metadata.xml @@ -11,7 +11,7 @@ - LCIO ( Linear Collider I/O ) is a persistency framework and event data model for linear collider detector studies. + LCIO ( Linear Collider I/O ) is a persistency framework and event data model for linear collider detector studies. @@ -19,7 +19,7 @@ - Use Root sci-physics/root + Use Root sci-physics/root From af009de8155e7fb5946e0203a07d2d7c6d39580b Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:24:17 +0200 Subject: [PATCH 06/15] sci-physics/lcio: fix Signed-off-by: Alexander Puck Neuwirth --- sci-physics/lcio/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-physics/lcio/metadata.xml b/sci-physics/lcio/metadata.xml index 80a051ca17e..d9dc86074be 100644 --- a/sci-physics/lcio/metadata.xml +++ b/sci-physics/lcio/metadata.xml @@ -20,6 +20,6 @@ Use Root sci-physics/root - + From 8834bca997bc15947e699b9049f916d1d58afc68 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:33:21 +0200 Subject: [PATCH 07/15] sci-physics/gosam: new package, add 2.1.2, 9999 Signed-off-by: Alexander Puck Neuwirth --- sci-physics/gosam/Manifest | 1 + sci-physics/gosam/gosam-2.1.2.ebuild | 52 ++++++++++++++++++++++++++++ sci-physics/gosam/gosam-9999.ebuild | 49 ++++++++++++++++++++++++++ sci-physics/gosam/metadata.xml | 20 +++++++++++ 4 files changed, 122 insertions(+) create mode 100644 sci-physics/gosam/Manifest create mode 100644 sci-physics/gosam/gosam-2.1.2.ebuild create mode 100644 sci-physics/gosam/gosam-9999.ebuild create mode 100644 sci-physics/gosam/metadata.xml diff --git a/sci-physics/gosam/Manifest b/sci-physics/gosam/Manifest new file mode 100644 index 00000000000..3ab619dcda7 --- /dev/null +++ b/sci-physics/gosam/Manifest @@ -0,0 +1 @@ +DIST gosam-2.1.2.tar.gz 1574783 BLAKE2B db39285f62ad1ec9efe3e89a6627d0431d35f17bbd71d3117eacfad28e1a0e7367816674e833322d9ae8ba51de62353ce2f64f4325dd784c16dee9bade9362b4 SHA512 3a452b3914b6279835787e0b20827d1e57a8de6ecf9182c220359655c496637134e416e27ca5c74a3101ad5df06c1ae0cd7a9b3449403a7b9a0a60199206a410 diff --git a/sci-physics/gosam/gosam-2.1.2.ebuild b/sci-physics/gosam/gosam-2.1.2.ebuild new file mode 100644 index 00000000000..c9ec4a51d20 --- /dev/null +++ b/sci-physics/gosam/gosam-2.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=standalone +DISTUTILS_SINGLE_IMPL=1 +inherit fortran-2 distutils-r1 + +DESCRIPTION="An Automated One-Loop Matrix Element Generator" +HOMEPAGE=" + https://github.com/gudrunhe/gosam + https://gosam.hepforge.org/ +" + + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gudrunhe/gosam" +else + SRC_URI="https://github.com/gudrunhe/gosam/releases/download/${PV}/gosam-${PV}+c307997.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + + +LICENSE="GPL-3" +SLOT="0" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=sci-mathematics/form-4.0.0 + sci-physics/qgraf + sci-physics/ninja + sci-physics/samurai + sci-physics/golem95 + sci-physics/qcdloop + sci-physics/oneloop + sci-physics/ff +" +DEPEND="${RDEPEND}" + +src_compile() { +# emake FFLAGS="-std=legacy ${FFLAGS}" + : +} + +src_install() { + "${EPYTHON}" setup.py install --single-version-externally-managed --root=/ --prefix="${D}/usr" +} diff --git a/sci-physics/gosam/gosam-9999.ebuild b/sci-physics/gosam/gosam-9999.ebuild new file mode 100644 index 00000000000..a5ef0fe4969 --- /dev/null +++ b/sci-physics/gosam/gosam-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=standalone +DISTUTILS_SINGLE_IMPL=1 +inherit fortran-2 distutils-r1 + +DESCRIPTION="An Automated One-Loop Matrix Element Generator" +HOMEPAGE=" + https://github.com/gudrunhe/gosam + https://gosam.hepforge.org/ +" + + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gudrunhe/gosam" +else + SRC_URI="https://github.com/gudrunhe/gosam/releases/download/${PV}/gosam-${PV}+c307997.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=sci-mathematics/form-4.0.0 + sci-physics/qgraf + sci-physics/ninja + sci-physics/samurai + sci-physics/golem95 + sci-physics/qcdloop + sci-physics/oneloop + sci-physics/ff +" +DEPEND="${RDEPEND}" + +src_compile() { +# emake FFLAGS="-std=legacy ${FFLAGS}" + : +} + +src_install() { + "${EPYTHON}" setup.py install --single-version-externally-managed --root=/ --prefix="${D}/usr" +} diff --git a/sci-physics/gosam/metadata.xml b/sci-physics/gosam/metadata.xml new file mode 100644 index 00000000000..2ad0d40c618 --- /dev/null +++ b/sci-physics/gosam/metadata.xml @@ -0,0 +1,20 @@ + + + + + apn-pucky@gentoo.org + Alexander Puck Neuwirth + + + sci-physics@gentoo.org + Gentoo Physics Project + + + GoSam is a general one-loop evaluator for matrix elements. The program produces Fortran 90 code from a given process description by evaluating Feynman diagrams and translating the associated one-loop diagrams into code suitable for the evaluation with Ninja, Golem95 and/or Samurai. + + + + gudrunhe/gosam + + + From ab04b8e425c9f3ada57a49dee7e18b504e0eae87 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:34:25 +0200 Subject: [PATCH 08/15] sci-physics/gosam: fix Signed-off-by: Alexander Puck Neuwirth --- sci-physics/gosam/gosam-2.1.2.ebuild | 2 -- sci-physics/gosam/gosam-9999.ebuild | 3 ++- sci-physics/gosam/metadata.xml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sci-physics/gosam/gosam-2.1.2.ebuild b/sci-physics/gosam/gosam-2.1.2.ebuild index c9ec4a51d20..aec994f139b 100644 --- a/sci-physics/gosam/gosam-2.1.2.ebuild +++ b/sci-physics/gosam/gosam-2.1.2.ebuild @@ -14,7 +14,6 @@ HOMEPAGE=" https://gosam.hepforge.org/ " - if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/gudrunhe/gosam" @@ -23,7 +22,6 @@ else KEYWORDS="~amd64" fi - LICENSE="GPL-3" SLOT="0" diff --git a/sci-physics/gosam/gosam-9999.ebuild b/sci-physics/gosam/gosam-9999.ebuild index a5ef0fe4969..aec994f139b 100644 --- a/sci-physics/gosam/gosam-9999.ebuild +++ b/sci-physics/gosam/gosam-9999.ebuild @@ -1,6 +1,8 @@ # Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 + PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=standalone DISTUTILS_SINGLE_IMPL=1 @@ -12,7 +14,6 @@ HOMEPAGE=" https://gosam.hepforge.org/ " - if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/gudrunhe/gosam" diff --git a/sci-physics/gosam/metadata.xml b/sci-physics/gosam/metadata.xml index 2ad0d40c618..b202fea8806 100644 --- a/sci-physics/gosam/metadata.xml +++ b/sci-physics/gosam/metadata.xml @@ -10,7 +10,7 @@ Gentoo Physics Project - GoSam is a general one-loop evaluator for matrix elements. The program produces Fortran 90 code from a given process description by evaluating Feynman diagrams and translating the associated one-loop diagrams into code suitable for the evaluation with Ninja, Golem95 and/or Samurai. + GoSam is a general one-loop evaluator for matrix elements. The program produces Fortran 90 code from a given process description by evaluating Feynman diagrams and translating the associated one-loop diagrams into code suitable for the evaluation with Ninja, Golem95 and/or Samurai. From 8a8502aa31681e1ba36f82d733502b909414b69e Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:35:07 +0200 Subject: [PATCH 09/15] sci-physics/whizard: new package, add 3.1.8 Signed-off-by: Alexander Puck Neuwirth --- sci-physics/whizard/Manifest | 1 + sci-physics/whizard/metadata.xml | 38 ++++++++++ sci-physics/whizard/whizard-3.1.8.ebuild | 88 ++++++++++++++++++++++++ 3 files changed, 127 insertions(+) create mode 100644 sci-physics/whizard/Manifest create mode 100644 sci-physics/whizard/metadata.xml create mode 100644 sci-physics/whizard/whizard-3.1.8.ebuild diff --git a/sci-physics/whizard/Manifest b/sci-physics/whizard/Manifest new file mode 100644 index 00000000000..d3c4bf5af6e --- /dev/null +++ b/sci-physics/whizard/Manifest @@ -0,0 +1 @@ +DIST whizard-3.1.8.tar.gz 42926567 BLAKE2B 74beebc841fc74bd67cfd90630560cdd65bd8bf7ba2635cca5194d1be6dd9047bc559f67bbc6736b36c0d5ea3a06fcb22c59ec5b20f69c6bbd7fb139701880bb SHA512 65960f783122cc48212e5a4bc218e5dafbbe17e02aceeedaa558c361fc6a8bec29268f9026d58f15db9c355fac8d9564fb1e3b58722fbe4f7a081a4c805c6e9b diff --git a/sci-physics/whizard/metadata.xml b/sci-physics/whizard/metadata.xml new file mode 100644 index 00000000000..f011b58d67f --- /dev/null +++ b/sci-physics/whizard/metadata.xml @@ -0,0 +1,38 @@ + + + + + apn-pucky@gentoo.org + Alexander Puck Neuwirth + + + sci-physics@gentoo.org + Gentoo Physics Project + + + WHIZARD is a program system designed for the efficient calculation of multi-particle scattering cross sections and simulated event samples. + +WHIZARD can evaluate NLO QCD corrections in the SM for arbitary lepton and hadron colliders. Tree-level matrix elements are generated automatically for arbitrary partonic processes by using the Optimized Matrix Element Generator O'Mega. Matrix elements obtained by alternative methods (e.g., including loop corrections) may be interfaced as well. The program is able to calculate numerically stable signal and background cross sections and generate unweighted event samples with reasonable efficiency for processes with up to eight final-state particles; more particles are possible. For more particles, there is the option to generate processes as decay cascades including complete spin correlations. Different options for QCD parton showers are available. + +Polarization is treated exactly for both the initial and final states. Final-state quark or lepton flavors can be summed over automatically where needed. For hadron collider physics, an interface to the standard LHAPDF is provided. For Linear Collider physics, beamstrahlung (CIRCE) and ISR spectra are included for electrons and photons. The events can be written to file in standard formats, including ASCII, StdHEP, the Les Houches event format (LHEF), HepMC, or LCIO. These event files can then be hadronized. + +WHIZARD supports the Standard Model and a huge number of BSM models. Model extensions or completely different models can be added. WHIZARD fully supports external models from UFO files. There are also legacy interfaces to FeynRules and SARAH. + + + Use LHAPDF for PDFs sci-physics/lhapdf + Use LCIO for PDFs sci-physics/lcio + Use HepMC for event output sci-physics/hepmc + Use Pythia8 for hadronization sci-physics/pythia + Use form for loop calculations sci-mathematics/form + Use hoppet for resummation sci-physics/hoppet + Use looptools for loop calculations sci-physics/looptools + Use openloops for loop calculations sci-physics/openloops + Use ninja for loop calculations sci-physics/ninja + Use samurai for loop calculations sci-physics/samurai + Use fastjet for jet clustering sci-physics/fastjet + Use qgraf for loop calculations sci-physics/qgraf + Use gosam for loop calculations sci-physics/gosam + Use recola2 for loop calculations sci-physics/recola2 + Toggle use of O'Mega matrix element generator + + diff --git a/sci-physics/whizard/whizard-3.1.8.ebuild b/sci-physics/whizard/whizard-3.1.8.ebuild new file mode 100644 index 00000000000..38ef233724b --- /dev/null +++ b/sci-physics/whizard/whizard-3.1.8.ebuild @@ -0,0 +1,88 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit fortran-2 optfeature python-single-r1 + +DESCRIPTION="The WHIZARD Event Generator" +HOMEPAGE=" + https://whizard.hepforge.org/ + https://gitlab.tp.nt.uni-siegen.de/whizard/public +" + +SRC_URI="https://whizard.hepforge.org/downloads?f=${P}.tar.gz -> ${P}.tar.gz" # weird hepforge download names +#S="${WORKDIR}/${P}" +KEYWORDS="~amd64" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+omega +lhapdf +looptools +hepmc openloops recola qgraf form pythia8 hoppet fastjet samurai ninja mpi +openmp python gosam lcio" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + lcio? ( python ) +" + +RDEPEND=" + dev-ml/ocamlbuild + lhapdf? ( + sci-physics/lhapdf + sci-physics/lhapdf-sets[lhapdf_sets_ct10,lhapdf_sets_ct10nlo,lhapdf_sets_cteq6l1] + ) + looptools? ( sci-physics/looptools ) + hepmc? ( || ( sci-physics/hepmc:2 sci-physics/hepmc:3 ) ) + + recola? ( sci-physics/recola2 ) + openloops? ( sci-physics/openloops ) + + qgraf? ( sci-physics/qgraf ) + form? ( sci-mathematics/form ) + pythia8? ( sci-physics/pythia:8 ) + hoppet? ( sci-physics/hoppet ) + fastjet? ( sci-physics/fastjet ) + samurai? ( sci-physics/samurai ) + ninja? ( sci-physics/ninja ) + mpi? ( virtual/mpi[fortran,cxx] ) + python? ( ${PYTHON_DEPS} ) + gosam? ( sci-physics/gosam ) + lcio? ( sci-physics/lcio[${PYTHON_SINGLE_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + CONFIG_SHELL=${BROOT}/bin/bash econf \ + --disable-default-UFO-dir \ + $(usex mpi FC=mpifort) \ + $(usex mpi CC=mpicc) \ + $(usex mpi CXX=mpic++) \ + $(usex mpi --with-mpi-lib=openmpi) \ + $(use_enable mpi fc-mpi) \ + $(use_enable openmp) \ + $(use_enable openmp fc-openmp) \ + $(use_enable omega) \ + $(use_enable lhapdf) \ + $(use_enable looptools) \ + $(use_enable hepmc) \ + $(use_enable pythia8) \ + $(use_enable hoppet) \ + $(use_enable fastjet) \ + $(use_enable openloops) \ + $(use_enable recola) \ + $(use_with form) \ + $(use_with qgraf) \ + $(use_with ninja) \ + $(use_with samurai) \ + $(use_enable python) \ + $(use_enable gosam) \ + $(use_enable lcio) + +} + +pkg_postinst() { + optfeature "visualisation latex" dev-texlive/texlive-metapost +} From c6b97943dca342eef92628da24d5b41dd6918b41 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:36:22 +0200 Subject: [PATCH 10/15] sci-physics/whizard: fix Signed-off-by: Alexander Puck Neuwirth --- sci-physics/whizard/metadata.xml | 42 ++++++++++++++++---------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/sci-physics/whizard/metadata.xml b/sci-physics/whizard/metadata.xml index f011b58d67f..9f36ca946db 100644 --- a/sci-physics/whizard/metadata.xml +++ b/sci-physics/whizard/metadata.xml @@ -10,29 +10,29 @@ Gentoo Physics Project - WHIZARD is a program system designed for the efficient calculation of multi-particle scattering cross sections and simulated event samples. + WHIZARD is a program system designed for the efficient calculation of multi-particle scattering cross sections and simulated event samples. -WHIZARD can evaluate NLO QCD corrections in the SM for arbitary lepton and hadron colliders. Tree-level matrix elements are generated automatically for arbitrary partonic processes by using the Optimized Matrix Element Generator O'Mega. Matrix elements obtained by alternative methods (e.g., including loop corrections) may be interfaced as well. The program is able to calculate numerically stable signal and background cross sections and generate unweighted event samples with reasonable efficiency for processes with up to eight final-state particles; more particles are possible. For more particles, there is the option to generate processes as decay cascades including complete spin correlations. Different options for QCD parton showers are available. + WHIZARD can evaluate NLO QCD corrections in the SM for arbitary lepton and hadron colliders. Tree-level matrix elements are generated automatically for arbitrary partonic processes by using the Optimized Matrix Element Generator O'Mega. Matrix elements obtained by alternative methods (e.g., including loop corrections) may be interfaced as well. The program is able to calculate numerically stable signal and background cross sections and generate unweighted event samples with reasonable efficiency for processes with up to eight final-state particles; more particles are possible. For more particles, there is the option to generate processes as decay cascades including complete spin correlations. Different options for QCD parton showers are available. -Polarization is treated exactly for both the initial and final states. Final-state quark or lepton flavors can be summed over automatically where needed. For hadron collider physics, an interface to the standard LHAPDF is provided. For Linear Collider physics, beamstrahlung (CIRCE) and ISR spectra are included for electrons and photons. The events can be written to file in standard formats, including ASCII, StdHEP, the Les Houches event format (LHEF), HepMC, or LCIO. These event files can then be hadronized. + Polarization is treated exactly for both the initial and final states. Final-state quark or lepton flavors can be summed over automatically where needed. For hadron collider physics, an interface to the standard LHAPDF is provided. For Linear Collider physics, beamstrahlung (CIRCE) and ISR spectra are included for electrons and photons. The events can be written to file in standard formats, including ASCII, StdHEP, the Les Houches event format (LHEF), HepMC, or LCIO. These event files can then be hadronized. -WHIZARD supports the Standard Model and a huge number of BSM models. Model extensions or completely different models can be added. WHIZARD fully supports external models from UFO files. There are also legacy interfaces to FeynRules and SARAH. + WHIZARD supports the Standard Model and a huge number of BSM models. Model extensions or completely different models can be added. WHIZARD fully supports external models from UFO files. There are also legacy interfaces to FeynRules and SARAH. - - Use LHAPDF for PDFs sci-physics/lhapdf - Use LCIO for PDFs sci-physics/lcio - Use HepMC for event output sci-physics/hepmc - Use Pythia8 for hadronization sci-physics/pythia - Use form for loop calculations sci-mathematics/form - Use hoppet for resummation sci-physics/hoppet - Use looptools for loop calculations sci-physics/looptools - Use openloops for loop calculations sci-physics/openloops - Use ninja for loop calculations sci-physics/ninja - Use samurai for loop calculations sci-physics/samurai - Use fastjet for jet clustering sci-physics/fastjet - Use qgraf for loop calculations sci-physics/qgraf - Use gosam for loop calculations sci-physics/gosam - Use recola2 for loop calculations sci-physics/recola2 - Toggle use of O'Mega matrix element generator - + + Use LHAPDF for PDFs sci-physics/lhapdf + Use LCIO for PDFs sci-physics/lcio + Use HepMC for event output sci-physics/hepmc + Use Pythia8 for hadronization sci-physics/pythia + Use form for loop calculations sci-mathematics/form + Use hoppet for resummation sci-physics/hoppet + Use looptools for loop calculations sci-physics/looptools + Use openloops for loop calculations sci-physics/openloops + Use ninja for loop calculations sci-physics/ninja + Use samurai for loop calculations sci-physics/samurai + Use fastjet for jet clustering sci-physics/fastjet + Use qgraf for loop calculations sci-physics/qgraf + Use gosam for loop calculations sci-physics/gosam + Use recola2 for loop calculations sci-physics/recola2 + Toggle use of O'Mega matrix element generator + From 7ba1591c0bd27fe88f51eda2ce9d557e77fb4cb6 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:36:49 +0200 Subject: [PATCH 11/15] sci-physics/whizard: copyright Signed-off-by: Alexander Puck Neuwirth --- sci-physics/whizard/whizard-3.1.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-physics/whizard/whizard-3.1.8.ebuild b/sci-physics/whizard/whizard-3.1.8.ebuild index 38ef233724b..001f7e8ef7e 100644 --- a/sci-physics/whizard/whizard-3.1.8.ebuild +++ b/sci-physics/whizard/whizard-3.1.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 From d96be2eb345691f2357c70136c0312943c30a6d7 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:37:53 +0200 Subject: [PATCH 12/15] sci-physics/ff: copyright Signed-off-by: Alexander Puck Neuwirth --- sci-physics/ff/ff-2.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-physics/ff/ff-2.0.ebuild b/sci-physics/ff/ff-2.0.ebuild index e5ae6c38511..5ad886f9416 100644 --- a/sci-physics/ff/ff-2.0.ebuild +++ b/sci-physics/ff/ff-2.0.ebuild @@ -1,6 +1,6 @@ - -# Copyright 2023 Gentoo Authors +# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 inherit fortran-2 From e07f1a8e027f6d1d3b45b2cf84c9668ec3cb4c5f Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:39:09 +0200 Subject: [PATCH 13/15] sci-physics/ff: metadata Signed-off-by: Alexander Puck Neuwirth --- sci-physics/ff/metadata.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sci-physics/ff/metadata.xml b/sci-physics/ff/metadata.xml index c27fa8d00d1..efd0eb0b919 100644 --- a/sci-physics/ff/metadata.xml +++ b/sci-physics/ff/metadata.xml @@ -5,11 +5,11 @@ apn-pucky@gentoo.org Alexander Puck Neuwirth - - sci-physics@gentoo.org - Gentoo Physics Project - - - FF is a library to evaluate one-loop integrals needed for radiative corrections to scattering processes in particle physics. The idea of such a library is based on FormF by M. Veltman. Unfortunately this only runs in CDC and 68000 assembler, and uses very high precision (more than 100 digits) to overcome the numerical instabilities that plague these integrals. FF uses alternative algorithms which run in double precision Fortran 77. It is available by anonymous ftp. - + + sci-physics@gentoo.org + Gentoo Physics Project + + + FF is a library to evaluate one-loop integrals needed for radiative corrections to scattering processes in particle physics. The idea of such a library is based on FormF by M. Veltman. Unfortunately this only runs in CDC and 68000 assembler, and uses very high precision (more than 100 digits) to overcome the numerical instabilities that plague these integrals. FF uses alternative algorithms which run in double precision Fortran 77. It is available by anonymous ftp. + From fa46dc010eb4549d45bbaef034ea0f8c85defdaa Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 17:39:39 +0200 Subject: [PATCH 14/15] sci-physics/ff: fix Signed-off-by: Alexander Puck Neuwirth --- sci-physics/ff/ff-2.0.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/sci-physics/ff/ff-2.0.ebuild b/sci-physics/ff/ff-2.0.ebuild index 5ad886f9416..8bf7d6ac273 100644 --- a/sci-physics/ff/ff-2.0.ebuild +++ b/sci-physics/ff/ff-2.0.ebuild @@ -23,4 +23,3 @@ src_install() { mkdir -p "${D}/usr/$(get_libdir)" emake DEST="${D}/usr/$(get_libdir)" install } - From 411e1c02703e76f62087ad79150283da2d4e7913 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 14 Jul 2026 19:10:14 +0200 Subject: [PATCH 15/15] sci-physics/whizard: patch lhapdf support Signed-off-by: Alexander Puck Neuwirth --- .../whizard/files/whizard-3.1.8-lhapdf.patch | 20 +++++++++++++++++++ sci-physics/whizard/whizard-3.1.8.ebuild | 15 +++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 sci-physics/whizard/files/whizard-3.1.8-lhapdf.patch diff --git a/sci-physics/whizard/files/whizard-3.1.8-lhapdf.patch b/sci-physics/whizard/files/whizard-3.1.8-lhapdf.patch new file mode 100644 index 00000000000..08575a6fb88 --- /dev/null +++ b/sci-physics/whizard/files/whizard-3.1.8-lhapdf.patch @@ -0,0 +1,20 @@ +--- a/m4/lhapdf.m4 2026-07-14 18:52:14.864747463 +0200 ++++ b/m4/lhapdf.m4 2026-07-14 18:57:40.366761129 +0200 +@@ -198,7 +198,7 @@ + save_CXXFLAGS="$CXXFLAGS" + save_LIBS="$LIBS" + CXXFLAGS="${CXXFLAGS} `${LHAPDF_CONFIG} --cxxflags`" +-LIBS="${LIBS} `${LHAPDF_CONFIG} --ldflags`" ++LIBS="${LIBS} `${LHAPDF_CONFIG} --libs`" + AC_MSG_CHECKING([if LHAPDF is functional]) + AC_LANG_PUSH([C++]) + AC_LINK_IFELSE(dnl +@@ -212,7 +212,7 @@ + AC_MSG_CHECKING(LHAPDF) + if test "${lhapdfok}" = "yes"; then + LHAPDF_CXXFLAGS="`${LHAPDF_CONFIG} --cxxflags`" +- LDFLAGS_LHAPDF="`${LHAPDF_CONFIG} --ldflags`" ++ LDFLAGS_LHAPDF="`${LHAPDF_CONFIG} --libs`" + LHAPDF_LIBS="$LDFLAGS_LHAPDF" + AC_SUBST(LHAPDF_LIBS) + AC_MSG_RESULT(yes) diff --git a/sci-physics/whizard/whizard-3.1.8.ebuild b/sci-physics/whizard/whizard-3.1.8.ebuild index 001f7e8ef7e..56e7d8fb8ee 100644 --- a/sci-physics/whizard/whizard-3.1.8.ebuild +++ b/sci-physics/whizard/whizard-3.1.8.ebuild @@ -1,10 +1,11 @@ # Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit fortran-2 optfeature python-single-r1 +inherit fortran-2 optfeature python-single-r1 flag-o-matic autotools DESCRIPTION="The WHIZARD Event Generator" HOMEPAGE=" @@ -50,11 +51,23 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-lhapdf.patch +) + pkg_setup() { use python && python-single-r1_pkg_setup } +src_prepare() { + default + eautoreconf +} + src_configure() { + filter-lto + append-flags -fno-strict-aliasing + CONFIG_SHELL=${BROOT}/bin/bash econf \ --disable-default-UFO-dir \ $(usex mpi FC=mpifort) \