From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E47A158042 for ; Fri, 15 Nov 2024 09:30:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8E87E09C0; Fri, 15 Nov 2024 09:30:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3936E09C0 for ; Fri, 15 Nov 2024 09:30:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F422D33FE7D for ; Fri, 15 Nov 2024 09:30:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B617D81 for ; Fri, 15 Nov 2024 09:30:13 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1731662956.92f516f358d4c8d8b9d4c3a8203330923d3c33d7.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/cuttools/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/cuttools/cuttools-1.9.3.ebuild X-VCS-Directories: sci-physics/cuttools/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 92f516f358d4c8d8b9d4c3a8203330923d3c33d7 X-VCS-Branch: master Date: Fri, 15 Nov 2024 09:30:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2cfbc00e-3561-4869-b58f-b34e0a3b2dce X-Archives-Hash: aa01c714c4e9a17af9a91e6ea7c97ddf commit: 92f516f358d4c8d8b9d4c3a8203330923d3c33d7 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Fri Nov 15 09:28:46 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik 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 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} +}