Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/lephare/
Date: Wed, 23 Sep 2015 12:48:24
Message-Id: 1443010569.0ef7a20428a2e35099ccc13bd68a22abd13ad755.jlec@gentoo
1 commit: 0ef7a20428a2e35099ccc13bd68a22abd13ad755
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 23 12:16:09 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 23 12:16:09 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0ef7a204
7
8 sci-astronomy/lephare: Bump to EAPI=5
9
10 Package-Manager: portage-2.2.21
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-astronomy/lephare/lephare-2.2.ebuild | 14 ++++++--------
14 sci-astronomy/lephare/metadata.xml | 4 ++--
15 2 files changed, 8 insertions(+), 10 deletions(-)
16
17 diff --git a/sci-astronomy/lephare/lephare-2.2.ebuild b/sci-astronomy/lephare/lephare-2.2.ebuild
18 index 5834609..4d04734 100644
19 --- a/sci-astronomy/lephare/lephare-2.2.ebuild
20 +++ b/sci-astronomy/lephare/lephare-2.2.ebuild
21 @@ -1,8 +1,9 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 +# Copyright 1999-2015 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 # $Id$
26
27 -EAPI=4
28 +EAPI=5
29 +
30 inherit eutils check-reqs fortran-2 versionator
31
32 MYP=${PN}_dev_v$(replace_version_separator 2 '')
33 @@ -16,9 +17,6 @@ SLOT="0"
34 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
35 IUSE="doc"
36
37 -RDEPEND=""
38 -DEPEND="${RDEPEND}"
39 -
40 S="${WORKDIR}/${PN}_dev/source"
41
42 CHECKREQS_DISK_BUILD="400M"
43 @@ -26,14 +24,14 @@ CHECKREQS_DISK_BUILD="400M"
44 src_prepare() {
45 export LEPHAREDIR="${WORKDIR}/${PN}_dev" LEPHAREWORK="${WORKDIR}"
46 # clean up mac left over crap
47 - find . -name ._\* -delete
48 + find . -name ._\* -delete || die
49 # respect user flags and compiler
50 sed -i -e '/^FC/d' -e '/^FFLAGS/d' Makefile || die
51 }
52
53 src_test() {
54 # from pdf manual
55 - cd ${LEPHAREDIR}/test
56 + cd ${LEPHAREDIR}/test || die
57 ${LEPHAREDIR}/source/sedtolib -t S -c ../config/zphot.para || die
58 ${LEPHAREDIR}/source/sedtolib -t Q -c ../config/zphot.para || die
59 ${LEPHAREDIR}/source/sedtolib -t G -c ../config/zphot.para || die
60 @@ -57,7 +55,7 @@ src_install() {
61 mag_zform
62 dodoc README_TECH
63 insinto /usr/share/${PN}
64 - cd ..
65 + cd .. || die
66 doins -r {ext,filt,config,opa,sed,simul,test,tools,vega}
67 echo "LEPHAREDIR=${EPREFIX}/usr/share/${PN}" > 99lephare
68 doenvd 99lephare
69
70 diff --git a/sci-astronomy/lephare/metadata.xml b/sci-astronomy/lephare/metadata.xml
71 index e68e8f6..665c2ab 100644
72 --- a/sci-astronomy/lephare/metadata.xml
73 +++ b/sci-astronomy/lephare/metadata.xml
74 @@ -1,8 +1,8 @@
75 <?xml version="1.0" encoding="UTF-8"?>
76 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
77 <pkgmetadata>
78 -<herd>sci-astronomy</herd>
79 -<longdescription lang="en">
80 + <herd>sci-astronomy</herd>
81 + <longdescription lang="en">
82 Le Photometric Analysis for Redshift Estimate is a set of commands
83 to compute photometric redshifts and to perform SED fitting.
84 </longdescription>