public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/LoopTools/files/, sci-physics/LoopTools/
@ 2012-07-06  7:46 Kacper Kowalik
  0 siblings, 0 replies; 3+ messages in thread
From: Kacper Kowalik @ 2012-07-06  7:46 UTC (permalink / raw
  To: gentoo-commits

commit:     6ee4d8e07bde5a98db3f15c5a891fe10675519f8
Author:     Jauhien Piatlicki (jauhien) <piatlicki <AT> gmail <DOT> com>
AuthorDate: Thu Jul  5 17:31:32 2012 +0000
Commit:     Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Thu Jul  5 17:31:32 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6ee4d8e0

New ebuild sci-physics/LoopTools-2.7 for bug#424860

(Portage version: 2.2.0_alpha113/git/Linux i686, unsigned Manifest commit)

---
 sci-physics/LoopTools/ChangeLog                    |   10 +++++++
 sci-physics/LoopTools/LoopTools-2.7.ebuild         |   24 ++++++++++++++++
 .../LoopTools/files/LoopTools-2.7-makefile.patch   |   29 ++++++++++++++++++++
 sci-physics/LoopTools/metadata.xml                 |   15 ++++++++++
 4 files changed, 78 insertions(+), 0 deletions(-)

diff --git a/sci-physics/LoopTools/ChangeLog b/sci-physics/LoopTools/ChangeLog
new file mode 100644
index 0000000..87f268c
--- /dev/null
+++ b/sci-physics/LoopTools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-physics/LoopTools
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*LoopTools-2.7 (05 Jul 2012)
+
+  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/LoopTools-2.7.ebuild b/sci-physics/LoopTools/LoopTools-2.7.ebuild
new file mode 100644
index 0000000..61672a5
--- /dev/null
+++ b/sci-physics/LoopTools/LoopTools-2.7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="A package for evaluation of scalar and tensor one-loop integrals"
+HOMEPAGE="http://www.feynarts.de/looptools"
+SRC_URI="http://www.feynarts.de/looptools/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+	epatch "${FILESDIR}/${P}-makefile.patch"
+}

diff --git a/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch b/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch
new file mode 100644
index 0000000..4dfc847
--- /dev/null
+++ b/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch
@@ -0,0 +1,29 @@
+--- makefile.in
++++ makefile.in
+@@ -1,8 +1,8 @@
+ BLD = build$(QUADSUFFIX)
+ 
+-LIBDIR = $(PREFIX)/lib$(LIBDIRSUFFIX)
+-INCLUDEDIR = $(PREFIX)/include
+-BINDIR = $(PREFIX)/bin
++LIBDIR = $(DESTDIR)/$(PREFIX)/lib$(LIBDIRSUFFIX)
++INCLUDEDIR = $(DESTDIR)/$(PREFIX)/include
++BINDIR = $(DESTDIR)/$(PREFIX)/bin
+ 
+ LIB = libooptools$(QUADSUFFIX).a
+ FE = lt$(QUADSUFFIX)$(EXE)
+@@ -38,13 +38,12 @@
+ 	cd $(BLD) && $(MAKE) $(ARGS) $@
+ 
+ install: lib frontend
+-	-mkdir $(PREFIX)
++	-mkdir $(DESTDIR)$(PREFIX)
+ 	-mkdir $(LIBDIR) $(BINDIR) $(INCLUDEDIR)
+ 	cp -p $(BLD)/$(LIB) $(LIBDIR)
+ 	cp -p $(INCLUDE$(QUADSUFFIX)) $(INCLUDEDIR)
+-	strip $(BLD)/$(FE)
+ 	cp -p $(BLD)/fcc $(BLD)/$(FE) $(BINDIR)
+-	test ! -f $(BLD)/$(MFE) || { strip $(BLD)/$(MFE) ; cp -p $(BLD)/$(MFE) $(BINDIR); }
++	test ! -f $(BLD)/$(MFE) || { cp -p $(BLD)/$(MFE) $(BINDIR); }
+ 
+ force: $(BLD)/timestamp

diff --git a/sci-physics/LoopTools/metadata.xml b/sci-physics/LoopTools/metadata.xml
new file mode 100644
index 0000000..8752705
--- /dev/null
+++ b/sci-physics/LoopTools/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</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.
+  It features an easy Fortran, C++, and Mathematica interface 
+  to the scalar one-loop functions of FF and in addition provides 
+  the 2-, 3-, and 4-point tensor coefficient functions.
+</longdescription>
+</pkgmetadata>



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/LoopTools/files/, sci-physics/LoopTools/
@ 2012-08-29 14:16 Justin Lecher
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Lecher @ 2012-08-29 14:16 UTC (permalink / raw
  To: gentoo-commits

commit:     ed349b29014280084c18fa71988297b6d36f8d74
Author:     Jauhien Piatlicki (jauhien) <piatlicki <AT> gmail <DOT> com>
AuthorDate: Tue Aug 28 16:42:32 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Aug 28 16:42:32 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ed349b29

sci-physics/LoopTools: shared library generation and dependency on virtual/fortran added

(Portage version: 2.2.0_alpha121/git/Linux i686, unsigned Manifest commit)

---
 sci-physics/LoopTools/ChangeLog                    |    7 ++
 ...oopTools-2.7.ebuild => LoopTools-2.7-r1.ebuild} |    7 +-
 .../LoopTools/files/LoopTools-2.7-makefile.patch   |   73 +++++++++++++++++++-
 3 files changed, 81 insertions(+), 6 deletions(-)

diff --git a/sci-physics/LoopTools/ChangeLog b/sci-physics/LoopTools/ChangeLog
index 87f268c..8ea8e6b 100644
--- a/sci-physics/LoopTools/ChangeLog
+++ b/sci-physics/LoopTools/ChangeLog
@@ -2,6 +2,13 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*LoopTools-2.7-r1 (28 Aug 2012)
+
+  28 Aug 2012; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
+  -LoopTools-2.7.ebuild, +LoopTools-2.7-r1.ebuild,
+  files/LoopTools-2.7-makefile.patch:
+  shared library generation and dependency on virtual/fortran added
+
 *LoopTools-2.7 (05 Jul 2012)
 
   05 Jul 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com

diff --git a/sci-physics/LoopTools/LoopTools-2.7.ebuild b/sci-physics/LoopTools/LoopTools-2.7-r1.ebuild
similarity index 82%
rename from sci-physics/LoopTools/LoopTools-2.7.ebuild
rename to sci-physics/LoopTools/LoopTools-2.7-r1.ebuild
index 61672a5..76182c1 100644
--- a/sci-physics/LoopTools/LoopTools-2.7.ebuild
+++ b/sci-physics/LoopTools/LoopTools-2.7-r1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=4
 
-inherit eutils
+inherit eutils fortran-2
 
 DESCRIPTION="A package for evaluation of scalar and tensor one-loop integrals"
 HOMEPAGE="http://www.feynarts.de/looptools"
@@ -16,9 +16,10 @@ SLOT="0"
 KEYWORDS="~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND=""
+DEPEND="virtual/fortran"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
 	epatch "${FILESDIR}/${P}-makefile.patch"
+	export VER="${PV}"
 }

diff --git a/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch b/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch
index 4dfc847..10df86d 100644
--- a/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch
+++ b/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch
@@ -1,6 +1,6 @@
 --- makefile.in
 +++ makefile.in
-@@ -1,8 +1,8 @@
+@@ -1,14 +1,17 @@
  BLD = build$(QUADSUFFIX)
  
 -LIBDIR = $(PREFIX)/lib$(LIBDIRSUFFIX)
@@ -12,11 +12,47 @@
  
  LIB = libooptools$(QUADSUFFIX).a
  FE = lt$(QUADSUFFIX)$(EXE)
-@@ -38,13 +38,12 @@
+ MFE = LoopTools$(QUADSUFFIX)$(EXE)
+ INCLUDE = $(BLD)/looptools.h $(BLD)/clooptools.h
+ 
++LIBRARY=libooptools.so
++REALNAME=$(LIBRARY).$(VER)
++
+ ARGS = $(PARALLEL) \
+   LIB="$(LIB)" \
+   FE="$(FE)" \
+@@ -16,12 +19,12 @@
+   EXE="$(EXE)" \
+   DEF="$(DEF)" \
+   NOUNDERSCORE="$(NOUNDERSCORE)" \
+-  XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I." \
++  XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I. -fPIC" \
+   F90="$(F90)" \
+   CC="$(CC)" \
+-  CFLAGS="$(CFLAGS) $(CFLAGS-quad)" \
++  CFLAGS="$(CFLAGS) $(CFLAGS-quad) -fPIC" \
+   CXX="$(CXX)" \
+-  CXXFLAGS="$(CXXFLAGS)" \
++  CXXFLAGS="$(CXXFLAGS) -fPIC" \
+   ML="$(ML)" \
+   MCC="$(MCC)" \
+   MCFLAGS="$(MCFLAGS)" \
+@@ -31,20 +34,22 @@
+   DLLTOOL="$(DLLTOOL)" \
+   LDFLAGS="$(LDFLAGS)" \
+   LIBPATH="$(LIBPATH)" \
+-  OBJS-quad="$(OBJS-quad)"
++  OBJS-quad="$(OBJS-quad)" \
++  REALNAME="$(REALNAME)"
+ 
+ 
+-default all lib frontend mma: force
++default all lib solib frontend mma: force
  	cd $(BLD) && $(MAKE) $(ARGS) $@
  
- install: lib frontend
+-install: lib frontend
 -	-mkdir $(PREFIX)
++install: lib solib frontend
 +	-mkdir $(DESTDIR)$(PREFIX)
  	-mkdir $(LIBDIR) $(BINDIR) $(INCLUDEDIR)
  	cp -p $(BLD)/$(LIB) $(LIBDIR)
@@ -25,5 +61,36 @@
  	cp -p $(BLD)/fcc $(BLD)/$(FE) $(BINDIR)
 -	test ! -f $(BLD)/$(MFE) || { strip $(BLD)/$(MFE) ; cp -p $(BLD)/$(MFE) $(BINDIR); }
 +	test ! -f $(BLD)/$(MFE) || { cp -p $(BLD)/$(MFE) $(BINDIR); }
++	cp -p $(BLD)/$(REALNAME) $(LIBDIR)
++	cd $(LIBDIR) && ln -s $(REALNAME) $(LIBRARY)
  
  force: $(BLD)/timestamp
+ 
+--- src/makefile
++++ src/makefile
+@@ -1,6 +1,6 @@
+-default: frontend mma$(ML)
++default: frontend mma$(ML) solib
+ 
+-all: frontend mma1
++all: frontend mma1 solib
+ 
+ frontend: lib $(FE)
+ 
+@@ -8,6 +8,7 @@
+ 
+ mma0 lib: $(LIB) clooptools.h fcc
+ 
++solib: $(REALNAME) fcc
+ 
+ .SUFFIXES:
+ 
+@@ -247,6 +248,8 @@
+ 	$(AR) cru $(LIB) $?
+ 	-$(RANLIB) $(LIB)
+ 
++$(REALNAME): $(OBJS)
++	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $?
+ 
+ $(FE): lt.F $(LTINC) $(LIB)
+ 	$(XFC) -o $(FE) lt.F $(LIB)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/LoopTools/files/, sci-physics/LoopTools/
@ 2012-09-14 13:50 Justin Lecher
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Lecher @ 2012-09-14 13:50 UTC (permalink / raw
  To: gentoo-commits

commit:     f93fe4f12d331eaa4e060e9fdbf02ff0719e0a67
Author:     Jauhien Piatlicki (jauhien) <piatlicki <AT> gmail <DOT> com>
AuthorDate: Wed Sep 12 17:32:48 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 12 17:32:48 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f93fe4f1

sci-physics/LoopTools: version bump

---
 sci-physics/LoopTools/ChangeLog                    |    7 +++++++
 ...oopTools-2.7-r1.ebuild => LoopTools-2.8.ebuild} |    0
 ...makefile.patch => LoopTools-2.8-makefile.patch} |    0
 3 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/sci-physics/LoopTools/ChangeLog b/sci-physics/LoopTools/ChangeLog
index 8ea8e6b..b8c7f9e 100644
--- a/sci-physics/LoopTools/ChangeLog
+++ b/sci-physics/LoopTools/ChangeLog
@@ -2,6 +2,13 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*LoopTools-2.8 (12 Sep 2012)
+
+  12 Sep 2012; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
+  -LoopTools-2.7-r1.ebuild, -files/LoopTools-2.7-makefile.patch,
+  +LoopTools-2.8.ebuild, +files/LoopTools-2.8-makefile.patch:
+  version bump
+
 *LoopTools-2.7-r1 (28 Aug 2012)
 
   28 Aug 2012; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>

diff --git a/sci-physics/LoopTools/LoopTools-2.7-r1.ebuild b/sci-physics/LoopTools/LoopTools-2.8.ebuild
similarity index 100%
rename from sci-physics/LoopTools/LoopTools-2.7-r1.ebuild
rename to sci-physics/LoopTools/LoopTools-2.8.ebuild

diff --git a/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch b/sci-physics/LoopTools/files/LoopTools-2.8-makefile.patch
similarity index 100%
rename from sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch
rename to sci-physics/LoopTools/files/LoopTools-2.8-makefile.patch


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-14 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-29 14:16 [gentoo-commits] proj/sci:master commit in: sci-physics/LoopTools/files/, sci-physics/LoopTools/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2012-09-14 13:50 Justin Lecher
2012-07-06  7:46 Kacper Kowalik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox