commit:     232b76208100d9b7b8153a559bb0bd8653b7d3c2
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Wed Jul 20 20:00:16 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 15:28:17 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=232b7620

sci-physics/feynarts: new package, add 3.11

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/sci/pull/1160
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-physics/feynarts/feynarts-3.11.ebuild | 29 +++++++++++++++++++++++++++++
 sci-physics/feynarts/metadata.xml         | 19 +++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/sci-physics/feynarts/feynarts-3.11.ebuild 
b/sci-physics/feynarts/feynarts-3.11.ebuild
new file mode 100644
index 000000000..0851757d3
--- /dev/null
+++ b/sci-physics/feynarts/feynarts-3.11.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=FeynArts
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="FeynArts renders Feynman diagrams and generates their topologies."
+HOMEPAGE="http://feynarts.de";
+SRC_URI="http://feynarts.de/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       sci-mathematics/mathematica
+       "
+DEPEND="${RDEPEND}"
+
+src_install() {
+       MMADIR=/usr/share/Mathematica/Applications
+       dosym "${MY_P}" "${MMADIR}/${MY_PN}"
+       dodir "${MMADIR}/${MY_P}"
+       insinto ${MMADIR}
+       doins -r "${S}"
+}

diff --git a/sci-physics/feynarts/metadata.xml 
b/sci-physics/feynarts/metadata.xml
new file mode 100644
index 000000000..14606c162
--- /dev/null
+++ b/sci-physics/feynarts/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>s...@gentoo.org</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>sci-phys...@gentoo.org</email>
+               <name>Gentoo Physics Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>alexan...@neuwirth-informatik.de</email>
+               <name>Alexander Puck Neuwirth</name>
+       </maintainer>
+       <longdescription lang="en">
+       FeynArts is a Mathematica package for the generation and visualization 
of Feynman diagrams and amplitudes.
+       </longdescription>
+</pkgmetadata>

Reply via email to