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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D417C15817D for ; Mon, 3 Jun 2024 08:07:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 247EEE2A17; Mon, 3 Jun 2024 08:07:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07163E2A17 for ; Mon, 3 Jun 2024 08:07:14 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 219F6340C20 for ; Mon, 3 Jun 2024 08:07:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77721119 for ; Mon, 3 Jun 2024 08:07:12 +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: <1717401994.24d14a4e6503d194dd298113c6905f061db36c5d.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/qgraf/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/qgraf/qgraf-4.0.1.ebuild X-VCS-Directories: sci-physics/qgraf/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 24d14a4e6503d194dd298113c6905f061db36c5d X-VCS-Branch: master Date: Mon, 3 Jun 2024 08:07:12 +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: 20cbb5e1-96a1-4a1a-a332-c72a101d0169 X-Archives-Hash: 66c403b678faf0042e7cbc7b87b9caf7 commit: 24d14a4e6503d194dd298113c6905f061db36c5d Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Mon Jun 3 08:06:34 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Mon Jun 3 08:06:34 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=24d14a4e sci-physics/qgraf: add 4.0.1 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> sci-physics/qgraf/qgraf-4.0.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/sci-physics/qgraf/qgraf-4.0.1.ebuild b/sci-physics/qgraf/qgraf-4.0.1.ebuild new file mode 100644 index 000000000..942ef732a --- /dev/null +++ b/sci-physics/qgraf/qgraf-4.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs fortran-2 + +DESCRIPTION="qgraf generates Feynman diagrams for various types of QFT models" +HOMEPAGE="http://cfif.ist.utl.pt/~paulo/qgraf.html" +SRC_URI="http://anonymous:anonymous@qgraf.tecnico.ulisboa.pt/v$(ver_cut 1-2)/qgraf-${PV}.tgz" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples" +RESTRICT="bindist mirror" + +src_compile() { + $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS} || die "Failed to compile" +} + +src_install() { + dobin ${PN} + + use doc && dodoc *.pdf + if use examples; then + docinto examples + dodoc phi3 qed qcd *.sty *.dat + docompress -x /usr/share/doc/${PF}/examples + fi +}