commit: 0ef7a20428a2e35099ccc13bd68a22abd13ad755
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 12:16:09 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 12:16:09 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0ef7a204
sci-astronomy/lephare: Bump to EAPI=5
Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-astronomy/lephare/lephare-2.2.ebuild | 14 ++++++--------
sci-astronomy/lephare/metadata.xml | 4 ++--
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/sci-astronomy/lephare/lephare-2.2.ebuild
b/sci-astronomy/lephare/lephare-2.2.ebuild
index 5834609..4d04734 100644
--- a/sci-astronomy/lephare/lephare-2.2.ebuild
+++ b/sci-astronomy/lephare/lephare-2.2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
+
inherit eutils check-reqs fortran-2 versionator
MYP=${PN}_dev_v$(replace_version_separator 2 '')
@@ -16,9 +17,6 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
S="${WORKDIR}/${PN}_dev/source"
CHECKREQS_DISK_BUILD="400M"
@@ -26,14 +24,14 @@ CHECKREQS_DISK_BUILD="400M"
src_prepare() {
export LEPHAREDIR="${WORKDIR}/${PN}_dev" LEPHAREWORK="${WORKDIR}"
# clean up mac left over crap
- find . -name ._\* -delete
+ find . -name ._\* -delete || die
# respect user flags and compiler
sed -i -e '/^FC/d' -e '/^FFLAGS/d' Makefile || die
}
src_test() {
# from pdf manual
- cd ${LEPHAREDIR}/test
+ cd ${LEPHAREDIR}/test || die
${LEPHAREDIR}/source/sedtolib -t S -c ../config/zphot.para || die
${LEPHAREDIR}/source/sedtolib -t Q -c ../config/zphot.para || die
${LEPHAREDIR}/source/sedtolib -t G -c ../config/zphot.para || die
@@ -57,7 +55,7 @@ src_install() {
mag_zform
dodoc README_TECH
insinto /usr/share/${PN}
- cd ..
+ cd .. || die
doins -r {ext,filt,config,opa,sed,simul,test,tools,vega}
echo "LEPHAREDIR=${EPREFIX}/usr/share/${PN}" > 99lephare
doenvd 99lephare
diff --git a/sci-astronomy/lephare/metadata.xml
b/sci-astronomy/lephare/metadata.xml
index e68e8f6..665c2ab 100644
--- a/sci-astronomy/lephare/metadata.xml
+++ b/sci-astronomy/lephare/metadata.xml
@@ -1,8 +1,8 @@
<?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">
Le Photometric Analysis for Redshift Estimate is a set of commands
to compute photometric redshifts and to perform SED fitting.
</longdescription>