Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/galfit/
Date: Fri, 11 May 2012 05:31:07
Message-Id: 1336714239.077f9d5e6f8e36a93314cbbcd9f3d5fcebf36719.bicatali@gentoo
1 commit: 077f9d5e6f8e36a93314cbbcd9f3d5fcebf36719
2 Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
3 AuthorDate: Fri May 11 05:30:39 2012 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Fri May 11 05:30:39 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=077f9d5e
7
8 sci-astronomy/galfit: Initial import
9
10 (Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 sci-astronomy/galfit/ChangeLog | 10 +++++++
14 sci-astronomy/galfit/galfit-3.0.4.ebuild | 39 ++++++++++++++++++++++++++++++
15 sci-astronomy/galfit/metadata.xml | 9 +++++++
16 3 files changed, 58 insertions(+), 0 deletions(-)
17
18 diff --git a/sci-astronomy/galfit/ChangeLog b/sci-astronomy/galfit/ChangeLog
19 new file mode 100644
20 index 0000000..f6ab6a6
21 --- /dev/null
22 +++ b/sci-astronomy/galfit/ChangeLog
23 @@ -0,0 +1,10 @@
24 +# ChangeLog for sci-astronomy/galfit
25 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
26 +# $Header: $
27 +
28 +*galfit-3.0.4 (11 May 2012)
29 +
30 + 11 May 2012; Sébastien Fabbro <bicatali@g.o> +galfit-3.0.4.ebuild,
31 + +metadata.xml:
32 + sci-astronomy/galfit: Initial import
33 +
34
35 diff --git a/sci-astronomy/galfit/galfit-3.0.4.ebuild b/sci-astronomy/galfit/galfit-3.0.4.ebuild
36 new file mode 100644
37 index 0000000..c571dee
38 --- /dev/null
39 +++ b/sci-astronomy/galfit/galfit-3.0.4.ebuild
40 @@ -0,0 +1,39 @@
41 +# Copyright 1999-2012 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +# $Header: $
44 +
45 +EAPI=4
46 +
47 +DESCRIPTION="Galaxy morphology fitting program"
48 +HOMEPAGE="http://www.csua.berkeley.edu/~cyp/work/galfit/galfit.html"
49 +SRC_URI="amd64? ( http://www.csua.berkeley.edu/~cyp/work/${PN}/${PN}3-debian64.tar.gz )
50 + x86? ( http://www.csua.berkeley.edu/~cyp/work/${PN}/${PN}3-debian.tar.gz )
51 + doc? ( http://www.csua.berkeley.edu/~cyp/work/${PN}/README.pdf -> galfit.pdf )
52 + examples? ( http://www.csua.berkeley.edu/~cyp/work/${PN}/galfit-ex.tar.gz )
53 + test? ( http://www.csua.berkeley.edu/~cyp/work/${PN}/galfit-ex.tar.gz )"
54 +
55 +RESTRICT="mirror"
56 +
57 +LICENSE="as-is"
58 +SLOT="0"
59 +KEYWORDS="-* ~amd64 ~x86"
60 +IUSE="doc examples"
61 +
62 +RDEPEND="sys-libs/ncurses"
63 +DEPEND=""
64 +
65 +S="${WORKDIR}"
66 +
67 +src_test() {
68 + cd galfit-example/EXAMPLE
69 + ../../galfit galfit.feedme
70 +}
71 +
72 +src_install () {
73 + dobin galfit
74 + use doc && newdoc "${DISTDIR}"/galfit.pdf README.pdf
75 + if use examples; then
76 + insinto /usr/share/doc/${PF}/examples
77 + doins galfit-example/*
78 + fi
79 +}
80
81 diff --git a/sci-astronomy/galfit/metadata.xml b/sci-astronomy/galfit/metadata.xml
82 new file mode 100644
83 index 0000000..2c6b265
84 --- /dev/null
85 +++ b/sci-astronomy/galfit/metadata.xml
86 @@ -0,0 +1,9 @@
87 +<?xml version="1.0" encoding="UTF-8"?>
88 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
89 +<pkgmetadata>
90 +<herd>sci-astronomy</herd>
91 +<longdescription lang="en">
92 + GALFIT is a data analysis algorithm that fits 2-D analytic functions
93 + to galaxies and point sources directly to digital images.
94 +</longdescription>
95 +</pkgmetadata>