From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/looptools/, sci-physics/looptools/files/
Date: Wed, 7 May 2014 23:19:56 +0000 (UTC) [thread overview]
Message-ID: <1399503563.94006e4a40dbdf1cea2e00554f6fa3dfa2858c50.bicatali@gentoo> (raw)
commit: 94006e4a40dbdf1cea2e00554f6fa3dfa2858c50
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed May 7 22:59:23 2014 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed May 7 22:59:23 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=94006e4a
sci-physics/looptools: Renamed, add soname, doc and static-libs use flags
Package-Manager: portage-2.2.8-prefix
---
sci-physics/looptools/ChangeLog | 9 ++++---
.../looptools/files/looptools-2.8-makefile.patch | 2 +-
sci-physics/looptools/looptools-2.8.ebuild | 28 ++++++++++++++++------
sci-physics/looptools/metadata.xml | 3 ---
4 files changed, 28 insertions(+), 14 deletions(-)
diff --git a/sci-physics/looptools/ChangeLog b/sci-physics/looptools/ChangeLog
index 36cec23..06316fe 100644
--- a/sci-physics/looptools/ChangeLog
+++ b/sci-physics/looptools/ChangeLog
@@ -1,7 +1,11 @@
-# ChangeLog for sci-physics/LoopTools
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# ChangeLog for sci-physics/looptools
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 07 May 2014; Sébastien Fabbro <bicatali@gentoo.org>
+ files/looptools-2.8-makefile.patch, looptools-2.8.ebuild, metadata.xml:
+ sci-physics/looptools: Renamed, add soname, doc and static-libs use flags
+
09 Jan 2013; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
LoopTools-2.8.ebuild:
sources mirrored on jlec's dev space, thanks to jlec
@@ -25,4 +29,3 @@
05 Jul 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com
+LoopTools-2.7.ebuild, +files/LoopTools-2.7-makefile.patch, +metadata.xml:
Initial release, new ebuild for bug#424860
-
diff --git a/sci-physics/looptools/files/looptools-2.8-makefile.patch b/sci-physics/looptools/files/looptools-2.8-makefile.patch
index 10df86d..5252c1d 100644
--- a/sci-physics/looptools/files/looptools-2.8-makefile.patch
+++ b/sci-physics/looptools/files/looptools-2.8-makefile.patch
@@ -90,7 +90,7 @@
-$(RANLIB) $(LIB)
+$(REALNAME): $(OBJS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $?
++ $(XFC) $(LDFLAGS) -shared -Wl,--soname,$(REALNAME) -o $@ $?
$(FE): lt.F $(LTINC) $(LIB)
$(XFC) -o $(FE) lt.F $(LIB)
diff --git a/sci-physics/looptools/looptools-2.8.ebuild b/sci-physics/looptools/looptools-2.8.ebuild
index d3e50f2..f365243 100644
--- a/sci-physics/looptools/looptools-2.8.ebuild
+++ b/sci-physics/looptools/looptools-2.8.ebuild
@@ -4,22 +4,36 @@
EAPI=5
-inherit eutils fortran-2
+inherit eutils fortran-2 multilib
-DESCRIPTION="A package for evaluation of scalar and tensor one-loop integrals"
+MYP=LoopTools-${PV}
+
+DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals"
HOMEPAGE="http://www.feynarts.de/looptools"
-SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.gz"
+SRC_URI="http://www.feynarts.de/looptools/${MYP}.tar.gz"
LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
DEPEND="virtual/fortran"
RDEPEND="${DEPEND}"
+S="${WORKDIR}/${MYP}"
+
src_prepare() {
- epatch "${FILESDIR}/${P}-makefile.patch"
+ epatch "${FILESDIR}"/${P}-makefile.patch
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
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/libooptools.a
+ use doc && dodoc manual/*.pdf
}
diff --git a/sci-physics/looptools/metadata.xml b/sci-physics/looptools/metadata.xml
index 9f73933..f9564d3 100644
--- a/sci-physics/looptools/metadata.xml
+++ b/sci-physics/looptools/metadata.xml
@@ -2,9 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci-physics</herd>
-<maintainer>
- <email>maintainer-wanted@gentoo.org</email>
-</maintainer>
<longdescription>
A package for evaluation of scalar and tensor one-loop integrals
based on the FF package by G.J. van Oldenborgh.
next reply other threads:[~2014-05-07 23:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 23:19 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-08-31 10:54 [gentoo-commits] proj/sci:master commit in: sci-physics/looptools/, sci-physics/looptools/files/ Jauhien Piatlicki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1399503563.94006e4a40dbdf1cea2e00554f6fa3dfa2858c50.bicatali@gentoo \
--to=bicatali@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox