From: "Alexander Puck Neuwirth" <alexander@neuwirth-informatik.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/recola2/
Date: Wed, 04 Jun 2025 17:45:09 +0000 (UTC) [thread overview]
Message-ID: <1749058985.fd813222637739c8de11f1316e57a18db7d7ab31.alexander@gentoo> (raw)
commit: fd813222637739c8de11f1316e57a18db7d7ab31
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Wed Jun 4 17:43:05 2025 +0000
Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Wed Jun 4 17:43:05 2025 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=fd813222
sci-physics/recola2: add 2.2.5
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
sci-physics/recola2/metadata.xml | 5 +++-
sci-physics/recola2/recola2-2.2.5.ebuild | 49 ++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+), 1 deletion(-)
diff --git a/sci-physics/recola2/metadata.xml b/sci-physics/recola2/metadata.xml
index 9b3a974d2..9305e7209 100644
--- a/sci-physics/recola2/metadata.xml
+++ b/sci-physics/recola2/metadata.xml
@@ -10,9 +10,12 @@
<name>Gentoo Physics Project</name>
</maintainer>
<longdescription lang="en">
- RECOLA is a Fortran95 computer program for the automated generation and numerical computation of tree and one-loop amplitudes at next-to-leading order (EW, QCD) in the Standard Model (SM) and Beyond the SM (BSM).
+ Recola2 is a program for the generation and numerical evaluation of amplitudes in general quantum field theories at one-loop order.
</longdescription>
<use>
<flag name="SM">Use SM model</flag>
</use>
+ <upstream>
+ <remote-id type="gitlab">recola/recola2</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/sci-physics/recola2/recola2-2.2.5.ebuild b/sci-physics/recola2/recola2-2.2.5.ebuild
new file mode 100644
index 000000000..5e898c596
--- /dev/null
+++ b/sci-physics/recola2/recola2-2.2.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit fortran-2 cmake python-single-r1
+
+DESCRIPTION="Recursive Computation of 1-Loop Amplitudes."
+HOMEPAGE="https://recola.gitlab.io/recola2/index.html"
+SRC_URI="https://gitlab.com/recola/recola2/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+SM" # TODO add more models here and below
+REQUIRED_USE="${PYTHON_REQUIRED_USE} || ( SM )"
+
+DEPEND="
+ sci-mathematics/otter
+ sci-physics/collier
+ SM? ( sci-physics/recola2-SM )
+ ${PYTHON_DEPS}
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # CMAKE should look in system install for required libs
+ sed -e 's/NO_DEFAULT_PATH//g' -i src/CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
+ -DSYSCONFIG_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)/cmake/recola
+ -DCMAKE_PREFIX_PATH=/usr/$(get_libdir)/
+ -Dwith_python3=ON
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
next reply other threads:[~2025-06-04 17:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-04 17:45 Alexander Puck Neuwirth [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-06 16:04 [gentoo-commits] proj/sci:master commit in: sci-physics/recola2/ Alexander Puck Neuwirth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1749058985.fd813222637739c8de11f1316e57a18db7d7ab31.alexander@gentoo \
--to=alexander@neuwirth-informatik.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox