summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-11-13 02:10:19 +0100
committerDavid Seifert <soap@gentoo.org>2016-11-14 08:24:28 +0100
commitdcef4c9ac95616893d7ab32257b69f4dfc1a95d4 (patch)
treeeff8fbdad60c6666dac0a4b60131d9033b661a4a /sci-physics
parentsci-physics/meep: Removing EAPI 4 versions 1.1.1 and 1.2-r1 (diff)
downloadgentoo-dcef4c9ac95616893d7ab32257b69f4dfc1a95d4.tar.gz
gentoo-dcef4c9ac95616893d7ab32257b69f4dfc1a95d4.tar.bz2
gentoo-dcef4c9ac95616893d7ab32257b69f4dfc1a95d4.zip
sci-physics/looptools: Version bump to 2.13
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2825 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/looptools/Manifest1
-rw-r--r--sci-physics/looptools/files/looptools-2.10-makefile.patch8
-rw-r--r--sci-physics/looptools/looptools-2.13.ebuild42
3 files changed, 47 insertions, 4 deletions
diff --git a/sci-physics/looptools/Manifest b/sci-physics/looptools/Manifest
index 5a941a51244a..d08a2705a203 100644
--- a/sci-physics/looptools/Manifest
+++ b/sci-physics/looptools/Manifest
@@ -1,2 +1,3 @@
DIST LoopTools-2.12.tar.gz 545153 SHA256 df04d944de15ec73665edaf76f655d1db797cbc02b54baa7664ac761ecfa2f70 SHA512 70726493bd138fb80b85a46955fbe28b7f1432d9b67a100fe3ff74c2fa22232a07e461a6742745b0ead81793bb64b81cc4265d09b91fa048e7bdd32cf6956b27 WHIRLPOOL af3abaf31a4a868e0f65bdb0b21405c413c470063e4c8130e31b2a9e05a4f0e65e9999323e3cdf0b4277e48e84d767288852e984d486468abab3aaa664f66879
+DIST LoopTools-2.13.tar.gz 549005 SHA256 b609720e8ab68d4f4e0c01c19abffff5915fe593362ddbcdd68260c780ef475e SHA512 eadde36d8bf340061f5b50c9928bce055ef098d0cee11abe9a834c158a7758b09f4290dddbba922a41b0281fbdaecc80ba877cb6968b0448f3487324e220ec62 WHIRLPOOL 360aedd396f7a888253ca6375b34bac26faf711998a8e881e9cab9b617a3126ee1a7ce6ee2168d947cf69bd2850a387276f503a7ae0271217e66d71c3f2e5d42
DIST LoopTools-2.8.tar.gz 546810 SHA256 2395518d0eac9b0883a2c249b9a5ba80df443929c520c45e60f5a4284166eb42 SHA512 32211669fd092d2d5bb38e26a6471a95df0647d9e7ea0cc4e99ff4fd7c3e3fee107f6432ed9075e3102224f0041fac6f7075b1f0a91f7744ec3890b4b36d276e WHIRLPOOL c8dff8030d7ea1bfc6b65bef3370c5acfec69fa73f223a63b7424163b81a3bdf788eb3ffecd07e9bf61a31a63138b1fd126b6442a298c8fad1f4b04b69663a47
diff --git a/sci-physics/looptools/files/looptools-2.10-makefile.patch b/sci-physics/looptools/files/looptools-2.10-makefile.patch
index 8758244ac055..bf0df2e03bb5 100644
--- a/sci-physics/looptools/files/looptools-2.10-makefile.patch
+++ b/sci-physics/looptools/files/looptools-2.10-makefile.patch
@@ -1,5 +1,5 @@
---- makefile.in
-+++ makefile.in
+--- a/makefile.in
++++ b/makefile.in
@@ -1,14 +1,17 @@
BLD = build$(QUADSUFFIX)
@@ -68,8 +68,8 @@
force: $(BLD)/timestamp
---- src/makefile
-+++ src/makefile
+--- a/src/makefile
++++ b/src/makefile
@@ -1,6 +1,6 @@
-default: frontend mma$(ML)
+default: frontend mma$(ML) solib
diff --git a/sci-physics/looptools/looptools-2.13.ebuild b/sci-physics/looptools/looptools-2.13.ebuild
new file mode 100644
index 000000000000..cb9d60c91f89
--- /dev/null
+++ b/sci-physics/looptools/looptools-2.13.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit fortran-2
+
+MY_P=LoopTools-${PV}
+
+DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals"
+HOMEPAGE="http://www.feynarts.de/looptools"
+SRC_URI="http://www.feynarts.de/looptools/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.10-makefile.patch )
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+
+ export VER="${PV}"
+ # necessary fix for prefix
+ sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die
+}
+
+src_install() {
+ default
+
+ # another one of these package building archive with pic
+ # no: ooptools is not a typo
+ if ! use static-libs; then
+ rm "${ED%/}"/usr/$(get_libdir)/libooptools.a || die
+ fi
+ use doc && dodoc manual/*.pdf
+}