From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 991D81381FA for ; Wed, 7 May 2014 23:20:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6C98E09F8; Wed, 7 May 2014 23:20:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02D89E09F6 for ; Wed, 7 May 2014 23:19:59 +0000 (UTC) Received: from spoonbill.gentoo.org (unknown [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 081EE33F8FC for ; Wed, 7 May 2014 23:19:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 9728C187A7 for ; Wed, 7 May 2014 23:19:56 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1399503563.94006e4a40dbdf1cea2e00554f6fa3dfa2858c50.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/looptools/, sci-physics/looptools/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/looptools/ChangeLog sci-physics/looptools/files/looptools-2.8-makefile.patch sci-physics/looptools/looptools-2.8.ebuild sci-physics/looptools/metadata.xml X-VCS-Directories: sci-physics/looptools/ sci-physics/looptools/files/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 94006e4a40dbdf1cea2e00554f6fa3dfa2858c50 X-VCS-Branch: master Date: Wed, 7 May 2014 23:19:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e1eb9262-d15d-4891-8218-56c7a7e5da65 X-Archives-Hash: 0447fbd7e9c84ef4ac42f71e593fe740 commit: 94006e4a40dbdf1cea2e00554f6fa3dfa2858c50 Author: Sébastien Fabbro gentoo org> AuthorDate: Wed May 7 22:59:23 2014 +0000 Commit: Sebastien Fabbro gentoo 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 + 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) 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 @@ sci-physics - - maintainer-wanted@gentoo.org - A package for evaluation of scalar and tensor one-loop integrals based on the FF package by G.J. van Oldenborgh.