Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f7c7fc3
dev-python/spey: new package, add 0.2.5
APN-Pucky Oct 1, 2025
a1c76cd
dev-python/spey-pyhf: new package, add 0.2.0
APN-Pucky Oct 1, 2025
49be9b1
sci-physics/pyhf: add 0.7.6
APN-Pucky Oct 1, 2025
c9297c2
sci-physics/madanalysis5: new package, add 1.11.0
APN-Pucky Oct 1, 2025
1a92461
sci-physics/golem95: new package, add 1.3.3
APN-Pucky Oct 1, 2025
9baeeaa
sci-physics/madgraph5: add 3.6.4
APN-Pucky Oct 1, 2025
81a3622
sci-physics/golem95: add 1.3.4
APN-Pucky Oct 17, 2025
7f863a1
sci-physics/iregi: new package, add 1.1.0, 9999
APN-Pucky Oct 19, 2025
09823fb
sci-physics/qcdloop: add static-libs
APN-Pucky Oct 19, 2025
abb8728
sci-physics/cuttools: add static-libs
APN-Pucky Oct 19, 2025
008b4b5
sci-physics/stdhep: new package, add 5.6.1, 9999
APN-Pucky Oct 19, 2025
54638c9
sci-physics/madgraph5-pythia8-interface: new package, add 1.3
APN-Pucky Nov 3, 2025
5a25cae
sci-physics/madgraph5: add 3.6.5, 9999, drop 3.6.4
APN-Pucky Nov 3, 2025
d42eda5
dev-python/spey-pyhf: add myself as a maintainer
APN-Pucky Nov 3, 2025
ab5d1ae
sci-physics/golem95: clean
APN-Pucky Nov 3, 2025
8e86616
...
APN-Pucky Nov 17, 2025
6043d12
dev-python/spey-pyhf: add copyright
APN-Pucky Nov 26, 2025
912ab88
dev-python/spey: add copyright
APN-Pucky Nov 26, 2025
00c4d2d
sci-physics/golem95: drop 1.3.3
APN-Pucky Nov 26, 2025
6d74ebb
sci-physics/madanalysis5: add copyright
APN-Pucky Nov 26, 2025
86c5c6a
sci-physics/madgraph5-pythia8-interface: add copyright
APN-Pucky Nov 26, 2025
6bb7c09
sci-physics/madgraph5: add copyright
APN-Pucky Nov 26, 2025
3d03594
sci-physics/pyhf: bump copyright
APN-Pucky Nov 26, 2025
10910c9
sci-physics/madgraph5: sys-libs/zlib -> virtual/zlib
APN-Pucky Nov 26, 2025
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 dev-python/spey-pyhf/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST spey-pyhf-0.2.0.gh.tar.gz 86763 BLAKE2B 85b07154b1b2566a6fd46df8edad96c8519883f911cc0a0c02e2e32938e7ab0e769351a289627a159c98d3957121d51b51975e560ba125890b2b79ab5e67f64c SHA512 6d900afcb7054311bc054bf92ea22aa22bf900774e980a0506006848301164505580117afff98e7066741ff4b8ac24624f8c20a5cf521e536ac3b19ebb6d8194
16 changes: 16 additions & 0 deletions dev-python/spey-pyhf/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<maintainer type="person">
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<upstream>
<remote-id type="pypi">spey-pyhf</remote-id>
<remote-id type="github">SpeysideHEP/spey-pyhf</remote-id>
</upstream>
</pkgmetadata>
28 changes: 28 additions & 0 deletions dev-python/spey-pyhf/spey-pyhf-0.2.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1

DESCRIPTION="pyhf plugin for spey interface"
HOMEPAGE="
https://github.com/SpeysideHEP/spey-pyhf/
https://speysidehep.github.io/spey-pyhf/
https://arxiv.org/abs/2307.06996
"

SRC_URI="https://github.com/SpeysideHEP/spey-pyhf/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
~sci-physics/pyhf-0.7.6[${PYTHON_USEDEP}]
>=dev-python/spey-0.2.1[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}"
1 change: 1 addition & 0 deletions dev-python/spey/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST spey-0.2.5.gh.tar.gz 2975664 BLAKE2B 67b54258bf0151338567dfe38f84855b30a8dba2516d1af039a1ce1f0a4aebf2efe0131f87d1be1e305f3e094dfbbc70684d6c96d4a0159b813dc7557cd46c3e SHA512 0d758b5b6ba5844c89a87eda8c462d829f48e0ee41acec2bdd784fd282eb29535d4fb67db8013c28254998327e64bbe90f5b3f20859cdb21f1bed896faaf218d
16 changes: 16 additions & 0 deletions dev-python/spey/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<maintainer type="person">
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<upstream>
<remote-id type="pypi">spey</remote-id>
<remote-id type="github">SpeysideHEP/spey</remote-id>
</upstream>
</pkgmetadata>
33 changes: 33 additions & 0 deletions dev-python/spey/spey-0.2.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1

DESCRIPTION="Smooth inference for reinterpretation studies"
HOMEPAGE="
https://github.com/SpeysideHEP/spey/
https://spey.readthedocs.io/
https://arxiv.org/abs/2307.06996
"

SRC_URI="https://github.com/SpeysideHEP/spey/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
>=dev-python/numpy-1.21.6[${PYTHON_USEDEP}]
>=dev-python/scipy-1.10.0[${PYTHON_USEDEP}]
>=dev-python/autograd-1.5[${PYTHON_USEDEP}]
>=dev-python/semantic-version-2.10[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}"

distutils_enable_tests pytest
70 changes: 70 additions & 0 deletions sci-physics/cuttools/cuttools-2.0.0-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2 toolchain-funcs

MY_V="$(ver_cut 1).$(ver_cut 2)"

DESCRIPTION="Computing 1-loop amplitudes at the integrand level"
HOMEPAGE="https://www.ugr.es/~pittau/CutTools/"
SRC_URI="https://www.ugr.es/~pittau/CutTools/${PN}_v${MY_V}.tar.gz"
S="${WORKDIR}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

IUSE="+dummy mpfun90 static-libs"
DEPEND="
sci-libs/mpfun90
sci-physics/qcdloop
sci-physics/oneloop[dpkind,qpkind16,-qpkind,-tlevel,mpfun90?]
"
RDEPEND="${DEPEND}"

PATCHES=(
"${FILESDIR}/${PN}-1.9.3-unbundle.patch"
)

src_prepare() {
default
sed -i 's/^ALL =.*$/ALL = $(CTS)/' src/makefile || die
if use dummy ; then
cp "${FILESDIR}"/mpnumdummy.f90 src/cts/mpnumdummy.f90 || die
fi
if use dummy ; then
sed -i 's/CTS =/CTS = mpnumdummy.o/' src/makefile || die
fi
if use mpfun90; then
sed -i 's/PRECISION=.*$/PRECISION= MP/g' makefile || die
else
sed -i 's/PRECISION=.*$/PRECISION= QP/g' makefile || die
fi
}

src_compile() {
if use mpfun90; then
emake -j1 FFLAGS="${FFLAGS} -I${ESYSROOT}/usr/include -fPIC -std=legacy" mp
else
emake -j1 FFLAGS="${FFLAGS} -I${ESYSROOT}/usr/include -fPIC -std=legacy" qp
fi
tc-export AR CXX
cd includects || die
${AR} -x libcts.a || die
${CXX} ${CXXFLAGS} ${LDFLAGS} -shared *.o -Wl,-soname,libcuttools.so -lqcdloop -lmpfun90 -o lib${PN}.so || die
}

src_install() {
cd includects || die
use static-libs && dolib.a libcts.a
dolib.so lib${PN}.so
dosym lib${PN}.so /usr/$(get_libdir)/libcts.so
cd .. || die
mv includects ${PN} || die
rm ${PN}/*.a || die
rm ${PN}/*.so || die
rm ${PN}/*.o || die
doheader -r ${PN}
}
1 change: 1 addition & 0 deletions sci-physics/golem95/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST golem95-1.3.4.gh.tar.gz 703444 BLAKE2B 80d94361eb07cc065a06da96018b9e971316e187b18acf504a807a4a5a9e5d3b72f569ab200ae39216bbf9c955e9a905cc513e1c09b84e6042f22e469ad6c694 SHA512 9192805baa9d9c2e79ae16889f0713d3b7c2c5ac8a41a4c905993700ef17a402055301614e2af3807ade0eb7a15c0a7ef7985f8d1c4182d4e95b1c77e54990ea
56 changes: 56 additions & 0 deletions sci-physics/golem95/golem95-1.3.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools fortran-2

DESCRIPTION="performs the reduction to a certain set of basis integrals numerically"
HOMEPAGE="
https://golem.hepforge.org/
https://github.com/gudrunhe/golem95
"
SRC_URI="https://github.com/gudrunhe/golem95/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

IUSE="+looptools"
RDEPEND="
sci-physics/oneloop[dpkind,qpkind16,-qpkind]
looptools? ( sci-physics/looptools )
"
DEPEND="${REPEND}"

src_prepare() {
default
# if uses looptools
if use looptools; then
# add -looptools to pkgconfig
sed -i '/Libs:/s/$/ -looptools/' golem95.pc.in || die
fi
sed -i 's/lib_LTLIBRARIES.*/lib_LTLIBRARIES = libgolem.la/g' Makefile.am || die
eautoreconf
}

src_configure() {
local -x CONFIG_SHELL="${BROOT}/bin/bash"
# Fix that qcdloop and oneloop are already installed
local myconf=(
--with-avh_olo_precision=double
--with-precision=double
$(use_with looptools looptools "${ESYSROOT}"/usr)
FCFLAGS="${FCFLAGS} -std=legacy -fPIC -I${ESYSROOT}/usr/include"
)
econf "${myconf[@]}"
}

src_compile() {
emake -j1
}

src_install() {
default
find "${ED}" -name '*.la' -delete || die
}
22 changes: 22 additions & 0 deletions sci-physics/golem95/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?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>
The program golem95 is a package for the numerical evaluation of integrals and tensor form factors entering the calculation of one-loop amplitudes with up to six external legs, written in Fortran 95.
A package for evaluation of scalar and tensor one-loop integrals
</longdescription>
<use>
<flag name="looptools">use looptools</flag>
</use>
<upstream>
<remote-id type="github">gudrunhe/golem95</remote-id>
</upstream>
</pkgmetadata>
1 change: 1 addition & 0 deletions sci-physics/iregi/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST iregi-1.1.0.tar.bz2 69019 BLAKE2B 833743bce182ac65a5c0633235b7a6ed575bcbb595cc8a601b9cc8046c03c118b2d472567c5bf61c02739a704f289fbd366eb4ebe8f77ed6ebdde8b607f8579f SHA512 fc60ab268533da1e61a3c008020892bd0fd2a144a06dc4cb1dc35fa030eb90d21810a70241bbb13fbe5da1d201f309002400f6091ddd6ca45630ac1e1589a2dc
48 changes: 48 additions & 0 deletions sci-physics/iregi/iregi-1.1.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2 toolchain-funcs

DESCRIPTION="Integral REduction with General positive propagator Indices"
HOMEPAGE="
https://gitlab.com/APN-Pucky/iregi-mirror
https://arxiv.org/abs/hep-ph/0303184
https://launchpad.net/mg5amcnlo
https://github.com/mg5amcnlo/mg5amcnlo
"

if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/APN-Pucky/iregi-mirror"
EGIT_BRANCH="master"
else
SRC_URI="https://gitlab.com/APN-Pucky/iregi-mirror/-/archive/v${PV}/iregi-mirror-${PV}.tar.bz2 -> ${P}.tar.bz2"
S=${WORKDIR}/${MY_PF}
KEYWORDS="~amd64"
fi

# only lives in MG5_aMC@NLO repo => same license
LICENSE="UoI-NCSA"
SLOT="0"
IUSE="+static-libs"

DEPEND="
sci-physics/oneloop
sci-physics/qcdloop
"
RDEPEND="${DEPEND}"

src_compile() {
tc-export FC
emake -j1 onelooppath="${EPREFIX}"/usr/include/ FC="${FC}" FFLAGS="${FFLAGS}"
}

src_install() {
default

if ! use static-libs; then
rm -f "${D}"/usr/lib/*.a || die
fi
}
48 changes: 48 additions & 0 deletions sci-physics/iregi/iregi-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2 toolchain-funcs

DESCRIPTION="Integral REduction with General positive propagator Indices"
HOMEPAGE="
https://gitlab.com/APN-Pucky/iregi-mirror
https://arxiv.org/abs/hep-ph/0303184
https://launchpad.net/mg5amcnlo
https://github.com/mg5amcnlo/mg5amcnlo
"

if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/APN-Pucky/iregi-mirror"
EGIT_BRANCH="master"
else
SRC_URI="https://gitlab.com/APN-Pucky/iregi-mirror/-/archive/v${PV}/iregi-mirror-${PV}.tar.bz2 -> ${P}.tar.bz2"
S=${WORKDIR}/${MY_PF}
KEYWORDS="~amd64"
fi

# only lives in MG5_aMC@NLO repo => same license
LICENSE="UoI-NCSA"
SLOT="0"
IUSE="+static-libs"

DEPEND="
sci-physics/oneloop
sci-physics/qcdloop
"
RDEPEND="${DEPEND}"

src_compile() {
tc-export FC
emake -j1 onelooppath="${EPREFIX}"/usr/include/ FC="${FC}" FFLAGS="${FFLAGS}"
}

src_install() {
default

if ! use static-libs; then
rm -f "${D}"/usr/lib/*.a || die
fi
}
1 change: 1 addition & 0 deletions sci-physics/madanalysis5/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST MadAnalysis5-1.11.0.tar.gz 1925867 BLAKE2B 30bc91b740d8fc3ee39b9e8c4ea8d1f7ac61a6e048eda2483f5de500fbd88a6ccf4de3e29edb8a87cd233488349c352ea7bcf534618d2e44503836ab04ba0936 SHA512 719950975508fa71dc5bff8ee1ea0d3fd8579dc54a74e5a4817bc93caefbc7988961b01d933428f9a6bd853632fddebdc4d0118990ed5269063d3b43505c44a5
Loading