commit: db934b09a6754174692afbeba55166a148607457 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Tue Dec 13 15:47:10 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Dec 13 19:05:44 2022 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=db934b09
sci-physics/qgraf: new package, add 3.6.5 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> Closes: https://github.com/gentoo/sci/pull/1185 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sci-physics/qgraf/metadata.xml | 15 +++++++++++++++ sci-physics/qgraf/qgraf-3.6.5.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/sci-physics/qgraf/metadata.xml b/sci-physics/qgraf/metadata.xml new file mode 100644 index 000000000..3fa7c9624 --- /dev/null +++ b/sci-physics/qgraf/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alexan...@neuwirth-informatik.de</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>sci-phys...@gentoo.org</email> + <name>Gentoo Physics Project</name> + </maintainer> + <longdescription lang="en"> + Qgraf is a computer program that generates Feynman diagrams for various types of QFT models — it is a research tool created with the obvious aim of contributing to extend the range of feasible, perturbative QFT calculations. It generates neither 0-point nor non-connected diagrams, though. Diagrams are represented by symbolic expressions only; nevertheless, if some kind of graphical representation is required, have a look at the external links. + </longdescription> +</pkgmetadata> diff --git a/sci-physics/qgraf/qgraf-3.6.5.ebuild b/sci-physics/qgraf/qgraf-3.6.5.ebuild new file mode 100644 index 000000000..68e0ebf97 --- /dev/null +++ b/sci-physics/qgraf/qgraf-3.6.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="qgraf generates Feynman diagrams for various types of QFT models" +HOMEPAGE="http://cfif.ist.utl.pt/~paulo/qgraf.html" +SRC_URI="http://anonymous:anonym...@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" + +DEPEND="virtual/fortran" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS} +} + +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 +}