aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-03-12 21:41:41 +0100
committerAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-03-14 13:32:11 +0100
commit7c3c47e94fcbdc3b4abddcbb4bf005ab5cd48a39 (patch)
tree99c0fef1f749d0c1b483733b806fcc388a1d73db /sci-physics
parentsci-physics/spheno: add 4.0.5 (diff)
downloadsci-7c3c47e94fcbdc3b4abddcbb4bf005ab5cd48a39.tar.gz
sci-7c3c47e94fcbdc3b4abddcbb4bf005ab5cd48a39.tar.bz2
sci-7c3c47e94fcbdc3b4abddcbb4bf005ab5cd48a39.zip
sci-physics/qgraf: add 3.6.6
Co-authored-by: Andrew Nowa Ammerlaan <andrewammerlaan@gentoo.org> Closes: https://github.com/gentoo/sci/pull/1253 Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/qgraf/Manifest1
-rw-r--r--sci-physics/qgraf/qgraf-3.6.6.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/sci-physics/qgraf/Manifest b/sci-physics/qgraf/Manifest
index ebe52e211..7d1dcedad 100644
--- a/sci-physics/qgraf/Manifest
+++ b/sci-physics/qgraf/Manifest
@@ -1 +1,2 @@
DIST qgraf-3.6.5.tgz 449818 BLAKE2B 630cbd798423f17a1a20ab80f65c88e755347c9583a70cf43e3914186bc7c71bb8b854227197b9705c2d6538627fe56bf3fe497b3823a7130ff660192d2270c8 SHA512 b98fbc8c2fa64b5f3596b4a8b68bfab75a0bebf74615fc680d5b4487ec3c8de40ed4a7b310f2036c25f3fd91a76cb57db7c647b38e8580eed2b9d8bd0c50bcc7
+DIST qgraf-3.6.6.tgz 460385 BLAKE2B 0bff10ba3f28214692420d0297b638848d0a8c66905fc2cb926cb574f27894fb31c3ff6f6ee2853dcf393dad124d555f9381df9e87464d48e1e9ccf93e012f75 SHA512 551ecaea8331cc164afd2ef507e0c568661432626f001b387427cd48e9a7ac9e2d63e935fb56f56eed3d96e97c3ab94033af05b72a0b99528c1eac3370e02f67
diff --git a/sci-physics/qgraf/qgraf-3.6.6.ebuild b/sci-physics/qgraf/qgraf-3.6.6.ebuild
new file mode 100644
index 000000000..4194295a4
--- /dev/null
+++ b/sci-physics/qgraf/qgraf-3.6.6.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"
+RESTRICT="bindist mirror"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples"
+
+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
+}