aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-10-25 18:25:18 +0200
committerJustin Lecher <jlec@gentoo.org>2012-10-25 18:25:18 +0200
commit9ade240ecd85543324a3150cccfb227bfd43c0ef (patch)
tree4edb21f2cc60f2260bb7f3681e1749b7a974be99 /sci-astronomy/zpeg
parentdev-util/f90cache: Use fortran-2.eclass (diff)
downloadsci-9ade240ecd85543324a3150cccfb227bfd43c0ef.tar.gz
sci-9ade240ecd85543324a3150cccfb227bfd43c0ef.tar.bz2
sci-9ade240ecd85543324a3150cccfb227bfd43c0ef.zip
sci-astronomy/zpeg: Drop unnessecarry virtual/fortran dep
Package-Manager: portage-2.2.0_alpha141
Diffstat (limited to 'sci-astronomy/zpeg')
-rw-r--r--sci-astronomy/zpeg/ChangeLog3
-rw-r--r--sci-astronomy/zpeg/metadata.xml10
-rw-r--r--sci-astronomy/zpeg/zpeg-5.23.ebuild16
3 files changed, 16 insertions, 13 deletions
diff --git a/sci-astronomy/zpeg/ChangeLog b/sci-astronomy/zpeg/ChangeLog
index 72e4b6d54..8b18903d8 100644
--- a/sci-astronomy/zpeg/ChangeLog
+++ b/sci-astronomy/zpeg/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Oct 2012; Justin Lecher <jlec@gentoo.org> zpeg-5.23.ebuild, metadata.xml:
+ Drop unnessecarry virtual/fortran dep
+
*zpeg-5.23 (26 Jul 2012)
26 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml,
diff --git a/sci-astronomy/zpeg/metadata.xml b/sci-astronomy/zpeg/metadata.xml
index 46307f890..5f43060b5 100644
--- a/sci-astronomy/zpeg/metadata.xml
+++ b/sci-astronomy/zpeg/metadata.xml
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-astronomy</herd>
-<longdescription lang="en">
+ <herd>sci-astronomy</herd>
+ <longdescription lang="en">
Z-PEG is a software anybody can use to compute photometric
redshifts. In short, Z-PEG performs a chi square minimization of the
distance between observed photometric bands and synthetic photometry
from galaxies simulated by the evolutionary code PEGASE.
</longdescription>
-<use>
-<flag name='gdl'>Install GDL/IDL plotting routines</flag>
-</use>
+ <use>
+ <flag name="gdl">Install GDL/IDL plotting routines</flag>
+ </use>
</pkgmetadata>
diff --git a/sci-astronomy/zpeg/zpeg-5.23.ebuild b/sci-astronomy/zpeg/zpeg-5.23.ebuild
index 51792f95b..23b0a84a4 100644
--- a/sci-astronomy/zpeg/zpeg-5.23.ebuild
+++ b/sci-astronomy/zpeg/zpeg-5.23.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
inherit fortran-2
@@ -12,13 +12,13 @@ DESCRIPTION="Galaxy photometric redshifts from evolutionary synthesis"
HOMEPAGE="http://imacdlb.iap.fr:8080/cgi-bin/zpeg/zpeg.pl"
SRC_URI="ftp://ftp.iap.fr/pub/from_users/leborgne/${PN}/${MYP}.tar.gz"
-LICENSE="GPL-2"
SLOT="0"
+LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="gdl"
RDEPEND="gdl? ( dev-lang/gdl )"
-DEPEND="virtual/fortran"
+DEPEND=""
S="${WORKDIR}/${MYP}"
@@ -26,7 +26,7 @@ FORTRAN_STANDARD="90"
src_prepare() {
# save configure for tests
- cp configure{,.orig}
+ cp configure{,.orig} || die
# install data in FHS
sed -i \
-e "s:ZPEG_ROOT=.*:ZPEG_ROOT=${EPREFIX}/usr/share/${PN}:" \
@@ -34,19 +34,19 @@ src_prepare() {
}
src_compile() {
- # not worth debugging parallell build failures which is due to
+ # not worth debugging parallel build failures which is due to
# fortran modules missing dependencies)
emake -j1 -C src
}
src_test() {
# test only works with hardcoded path, so reconfigure and recompile
- mv bin/zpeg{,.orig}
- mv configure{.orig,}
+ mv bin/zpeg{,.orig} || die
+ mv configure{.orig,} || die
emake -C src clean && econf && emake -j1 -C src
cd test
../bin/zpeg -V ZPEG1_cata.cat -o hdf.zpeg -p hdf.par -t hdf.par.tmp || die
- mv bin/zpeg{.orig,}
+ mv bin/zpeg{.orig,} || die
}
src_install() {