sci-physics/looptools: Drop obsolete virtual/fortran in *DEPEND
authorJustin Lecher <jlec@gentoo.org>
Fri, 27 Nov 2015 09:43:06 +0000 (10:43 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 27 Nov 2015 10:08:56 +0000 (11:08 +0100)
fortran-2.eclass handles this

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sci-physics/looptools/looptools-2.12.ebuild
sci-physics/looptools/looptools-2.8.ebuild
sci-physics/looptools/metadata.xml

index bdc0c78a67c16afbf4528a806d9a90545fe4c0cd..f4c8454a4c14b9ddd60de55e3e988027dbc52ba7 100644 (file)
@@ -18,9 +18,6 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
-DEPEND="virtual/fortran"
-RDEPEND="${DEPEND}"
-
 S="${WORKDIR}/${MYP}"
 
 src_prepare() {
@@ -34,6 +31,8 @@ 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
+       if use static-libs; then
+               rm "${ED}"/usr/$(get_libdir)/libooptools.a || die
+       fi
        use doc && dodoc manual/*.pdf
 }
index efe91666b47fa019423f43c8fbae06020f6b092b..943d29e585c3950f09cb396ef8c74092ae7a255e 100644 (file)
@@ -18,9 +18,6 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
-DEPEND="virtual/fortran"
-RDEPEND="${DEPEND}"
-
 S="${WORKDIR}/${MYP}"
 
 src_prepare() {
@@ -34,6 +31,8 @@ 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
+       if use static-libs; then
+               rm "${ED}"/usr/$(get_libdir)/libooptools.a || die
+       fi
        use doc && dodoc manual/*.pdf
 }
index f9564d38611381a40d250894fe8986864f3da460..12b8dbc392c8cffdb4287d446420b67396eaad00 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci-physics</herd>
-<longdescription>
+  <herd>sci-physics</herd>
+  <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