From: "Alexander Puck Neuwirth" <alexander@neuwirth-informatik.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/cuttools/
Date: Fri, 15 Nov 2024 09:30:13 +0000 (UTC) [thread overview]
Message-ID: <1731662956.92f516f358d4c8d8b9d4c3a8203330923d3c33d7.alexander@gentoo> (raw)
commit: 92f516f358d4c8d8b9d4c3a8203330923d3c33d7
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Fri Nov 15 09:28:46 2024 +0000
Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Fri Nov 15 09:29:16 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=92f516f3
sci-physics/cuttools: add 1.9.3
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
sci-physics/cuttools/cuttools-1.9.3.ebuild | 52 ++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/sci-physics/cuttools/cuttools-1.9.3.ebuild b/sci-physics/cuttools/cuttools-1.9.3.ebuild
new file mode 100644
index 000000000..03f84b63c
--- /dev/null
+++ b/sci-physics/cuttools/cuttools-1.9.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2 toolchain-funcs
+
+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${PV}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+dummy"
+DEPEND="
+ sci-physics/qcdloop
+ sci-physics/oneloop[dpkind,qpkind16,-qpkind,-tlevel]
+"
+RDEPEND="${DEPEND}"
+
+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
+}
+
+src_compile() {
+ emake -j1 FFLAGS="${FFLAGS} -I${ESYSROOT}/usr/include -fPIC -std=legacy"
+ tc-export AR CXX
+ cd includects || die
+ ${AR} -x libcts.a || die
+ ${CXX} ${CXXFLAGS} -shared *.o -o lib${PN}.so || die
+}
+
+src_install() {
+ cd includects || die
+ dolib.so lib${PN}.so
+ cd .. || die
+ mv includects ${PN} || die
+ rm ${PN}/*.a || die
+ rm ${PN}/*.so || die
+ rm ${PN}/*.o || die
+ doheader -r ${PN}
+}
next reply other threads:[~2024-11-15 9:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-15 9:30 Alexander Puck Neuwirth [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 17:43 [gentoo-commits] proj/sci:master commit in: sci-physics/cuttools/ Alexander Puck Neuwirth
2025-02-13 10:55 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=1731662956.92f516f358d4c8d8b9d4c3a8203330923d3c33d7.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