Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/zpeg/
Date: Sun, 27 Sep 2020 12:35:19
Message-Id: 1601210108.b717f1f1c8a82a5fda8342e4c5f858d191fded7a.epsilon-0@gentoo
1 commit: b717f1f1c8a82a5fda8342e4c5f858d191fded7a
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Sun Sep 27 11:35:16 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Sun Sep 27 12:35:08 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b717f1f1
7
8 sci-astronomy/zpeg: drop dead package
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sci-astronomy/zpeg/metadata.xml | 17 ----------
14 sci-astronomy/zpeg/zpeg-5.23.ebuild | 62 -------------------------------------
15 2 files changed, 79 deletions(-)
16
17 diff --git a/sci-astronomy/zpeg/metadata.xml b/sci-astronomy/zpeg/metadata.xml
18 deleted file mode 100644
19 index fbf281467..000000000
20 --- a/sci-astronomy/zpeg/metadata.xml
21 +++ /dev/null
22 @@ -1,17 +0,0 @@
23 -<?xml version="1.0" encoding="UTF-8"?>
24 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 -<pkgmetadata>
26 - <maintainer type="project">
27 - <email>sci-astronomy@g.o</email>
28 - <name>Gentoo Astronomy Project</name>
29 - </maintainer>
30 - <longdescription lang="en">
31 -Z-PEG is a software anybody can use to compute photometric
32 -redshifts. In short, Z-PEG performs a chi square minimization of the
33 -distance between observed photometric bands and synthetic photometry
34 -from galaxies simulated by the evolutionary code PEGASE.
35 -</longdescription>
36 - <use>
37 - <flag name="gdl">Install GDL/IDL plotting routines</flag>
38 - </use>
39 -</pkgmetadata>
40
41 diff --git a/sci-astronomy/zpeg/zpeg-5.23.ebuild b/sci-astronomy/zpeg/zpeg-5.23.ebuild
42 deleted file mode 100644
43 index b1c9e406d..000000000
44 --- a/sci-astronomy/zpeg/zpeg-5.23.ebuild
45 +++ /dev/null
46 @@ -1,62 +0,0 @@
47 -# Copyright 1999-2014 Gentoo Foundation
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -EAPI=5
51 -
52 -inherit fortran-2
53 -
54 -MYP=${PN}_${PV}
55 -
56 -DESCRIPTION="Galaxy photometric redshifts from evolutionary synthesis"
57 -HOMEPAGE="http://imacdlb.iap.fr:8080/cgi-bin/zpeg/zpeg.pl"
58 -SRC_URI="ftp://ftp.iap.fr/pub/from_users/leborgne/${PN}/${MYP}.tar.gz"
59 -
60 -SLOT="0"
61 -LICENSE="GPL-2"
62 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
63 -IUSE="gdl"
64 -
65 -RDEPEND="gdl? ( dev-lang/gdl )"
66 -DEPEND=""
67 -
68 -S="${WORKDIR}/${MYP}"
69 -
70 -FORTRAN_STANDARD="90"
71 -
72 -src_prepare() {
73 - # save configure for tests
74 - cp configure{,.orig} || die
75 - # install data in FHS
76 - sed -i \
77 - -e "s:ZPEG_ROOT=.*:ZPEG_ROOT=${EPREFIX}/usr/share/${PN}:" \
78 - configure || die
79 -}
80 -
81 -src_compile() {
82 - # not worth debugging parallel build failures which is due to
83 - # fortran modules missing dependencies)
84 - emake -j1 -C src
85 -}
86 -
87 -src_test() {
88 - # test only works with hardcoded path, so reconfigure and recompile
89 - mv bin/zpeg{,.orig} || die
90 - mv configure{.orig,} || die
91 - emake -C src clean && econf && emake -j1 -C src
92 - cd test
93 - ../bin/zpeg -V ZPEG1_cata.cat -o hdf.zpeg -p hdf.par -t hdf.par.tmp || die
94 - mv bin/zpeg{.orig,} || die
95 -}
96 -
97 -src_install() {
98 - dobin bin/zpeg
99 - insinto /usr/share/${PN}
100 - doins -r data VERSION
101 - dodoc HISTORY
102 - echo > 99zpeg "ZPEG_ROOT=${EROOT}/usr/share/${PN}"
103 - doenvd 99zpeg
104 - if use gdl; then
105 - insinto /usr/share/gnudatalanguage/${PN}
106 - doins idl/*.pro
107 - fi
108 -}