Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions profiles/desc/lhapdf_sets.desc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions sci-physics/ff/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST ff-2.0.tar.gz 308105 BLAKE2B 603ed547da9f6f01a78be0ec373d6735df86a978622689c4ea6b30856530facbdef045665b40f534f83e3b3a7edf8acdc31b2c4949974fee4a5cc5460708d1d8 SHA512 f23f6f316fc4b20af4d7507ee07e59e0b08a9d88c75def3699c0c48f4dec24b9c29dcaf5168cc6e3ca2eb7be82d18a79af0c800326292f1aee315466949b7a63
25 changes: 25 additions & 0 deletions sci-physics/ff/ff-2.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2026 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
}
15 changes: 15 additions & 0 deletions sci-physics/ff/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<maintainer type="project">
<email>sci-physics@gentoo.org</email>
<name>Gentoo Physics Project</name>
</maintainer>
<longdescription>
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.
</longdescription>
</pkgmetadata>
1 change: 1 addition & 0 deletions sci-physics/gosam/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST gosam-2.1.2.tar.gz 1574783 BLAKE2B db39285f62ad1ec9efe3e89a6627d0431d35f17bbd71d3117eacfad28e1a0e7367816674e833322d9ae8ba51de62353ce2f64f4325dd784c16dee9bade9362b4 SHA512 3a452b3914b6279835787e0b20827d1e57a8de6ecf9182c220359655c496637134e416e27ca5c74a3101ad5df06c1ae0cd7a9b3449403a7b9a0a60199206a410
50 changes: 50 additions & 0 deletions sci-physics/gosam/gosam-2.1.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 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"
}
50 changes: 50 additions & 0 deletions sci-physics/gosam/gosam-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 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"
}
20 changes: 20 additions & 0 deletions sci-physics/gosam/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<maintainer type="project">
<email>sci-physics@gentoo.org</email>
<name>Gentoo Physics Project</name>
</maintainer>
<longdescription>
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.
</longdescription>

<upstream>
<remote-id type="github">gudrunhe/gosam</remote-id>
</upstream>

</pkgmetadata>
1 change: 1 addition & 0 deletions sci-physics/lcio/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST lcio-02.22.06.tar.gz 8060448 BLAKE2B 04e3446fa866bf347fb9436c4460eea04c08e072bd3591ad4d753c899302b45dbddb7891715d822fc9d650e5927fee0f27bbb042c12e9a83badf5bf118b1b18a SHA512 beaaf2373098108fe9a555e0b1fe5951679be2efc6a2158d3a5f9e54bc40559def1120fe9112d41c428f224dc1f9990598827dedfdc6ae1645276a62352a82f3
47 changes: 47 additions & 0 deletions sci-physics/lcio/lcio-02.22.06.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Copyright 2026 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="
root? (
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
}
25 changes: 25 additions & 0 deletions sci-physics/lcio/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<maintainer type="project">
<email>sci-physics@gentoo.org</email>
<name>Gentoo Physics Project</name>
</maintainer>

<longdescription lang="en">
LCIO ( Linear Collider I/O ) is a persistency framework and event data model for linear collider detector studies.
</longdescription>

<upstream>
<remote-id type="github">iLCSoft/LCIO</remote-id>
</upstream>

<use>
<flag name="root"> Use Root <pkg>sci-physics/root</pkg></flag>
</use>

</pkgmetadata>
1 change: 1 addition & 0 deletions sci-physics/lhapdf-sets/Manifest
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 )
Expand Down
1 change: 1 addition & 0 deletions sci-physics/whizard/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST whizard-3.1.8.tar.gz 42926567 BLAKE2B 74beebc841fc74bd67cfd90630560cdd65bd8bf7ba2635cca5194d1be6dd9047bc559f67bbc6736b36c0d5ea3a06fcb22c59ec5b20f69c6bbd7fb139701880bb SHA512 65960f783122cc48212e5a4bc218e5dafbbe17e02aceeedaa558c361fc6a8bec29268f9026d58f15db9c355fac8d9564fb1e3b58722fbe4f7a081a4c805c6e9b
20 changes: 20 additions & 0 deletions sci-physics/whizard/files/whizard-3.1.8-lhapdf.patch
Original file line number Diff line number Diff line change
@@ -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)
38 changes: 38 additions & 0 deletions sci-physics/whizard/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<maintainer type="project">
<email>sci-physics@gentoo.org</email>
<name>Gentoo Physics Project</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<use>
<flag name="lhapdf"> Use LHAPDF for PDFs <pkg>sci-physics/lhapdf</pkg></flag>
<flag name="lcio"> Use LCIO for PDFs <pkg>sci-physics/lcio</pkg></flag>
<flag name="hepmc"> Use HepMC for event output <pkg>sci-physics/hepmc</pkg></flag>
<flag name="pythia8"> Use Pythia8 for hadronization <pkg>sci-physics/pythia</pkg></flag>
<flag name="form"> Use form for loop calculations <pkg>sci-mathematics/form</pkg></flag>
<flag name="hoppet"> Use hoppet for resummation <pkg>sci-physics/hoppet</pkg></flag>
<flag name="looptools"> Use looptools for loop calculations <pkg>sci-physics/looptools</pkg></flag>
<flag name="openloops"> Use openloops for loop calculations <pkg>sci-physics/openloops</pkg></flag>
<flag name="ninja"> Use ninja for loop calculations <pkg>sci-physics/ninja</pkg></flag>
<flag name="samurai"> Use samurai for loop calculations <pkg>sci-physics/samurai</pkg></flag>
<flag name="fastjet"> Use fastjet for jet clustering <pkg>sci-physics/fastjet</pkg></flag>
<flag name="qgraf"> Use qgraf for loop calculations <pkg>sci-physics/qgraf</pkg></flag>
<flag name="gosam"> Use gosam for loop calculations <pkg>sci-physics/gosam</pkg></flag>
<flag name="recola"> Use recola2 for loop calculations <pkg>sci-physics/recola2</pkg></flag>
<flag name="omega"> Toggle use of O'Mega matrix element generator </flag>
</use>
</pkgmetadata>
Loading
Loading