Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/gdl: ChangeLog gdl-0.9_pre6.ebuild
Date: Mon, 05 Nov 2007 11:55:09
Message-Id: E1Ip0Xe-00032l-VX@stork.gentoo.org
1 bicatali 07/11/05 11:54:54
2
3 Modified: ChangeLog
4 Added: gdl-0.9_pre6.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.4 dev-lang/gdl/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 21 Aug 2007 08:58:21 -0000 1.3
23 +++ ChangeLog 5 Nov 2007 11:54:54 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-lang/gdl
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.3 2007/08/21 08:58:21 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.4 2007/11/05 11:54:54 bicatali Exp $
29 +
30 +*gdl-0.9_pre6 (05 Nov 2007)
31 +
32 + 05 Nov 2007; Sébastien Fabbro <bicatali@g.o>
33 + +files/gdl-0.9_pre6-proj4.patch, +gdl-0.9_pre6.ebuild:
34 + Version bump
35
36 *gdl-0.9_pre5 (21 Aug 2007)
37
38
39
40
41 1.1 dev-lang/gdl/gdl-0.9_pre6.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/gdl-0.9_pre6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/gdl-0.9_pre6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gdl-0.9_pre6.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9_pre6.ebuild,v 1.1 2007/11/05 11:54:54 bicatali Exp $
51
52 inherit eutils flag-o-matic
53
54 MYP=${P/_/}
55 DESCRIPTION="An Interactive Data Language compatible incremental compiler"
56 LICENSE="GPL-2"
57 HOMEPAGE="http://gnudatalanguage.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/gnudatalanguage/${MYP}.tar.gz"
59
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="python fftw hdf hdf5 netcdf imagemagick proj"
63
64 RDEPEND=">=sys-libs/readline-4.3
65 sci-libs/gsl
66 >=sci-libs/plplot-5.3
67 imagemagick? ( media-gfx/imagemagick )
68 hdf? ( sci-libs/hdf )
69 hdf5? ( sci-libs/hdf5 )
70 netcdf? ( sci-libs/netcdf )
71 python? ( virtual/python
72 dev-python/numarray
73 dev-python/matplotlib )
74 fftw? ( >=sci-libs/fftw-3 )
75 proj? ( sci-libs/proj )"
76
77 DEPEND="${RDEPEND}
78 sys-devel/libtool"
79
80 S="${WORKDIR}/${MYP}"
81
82 src_unpack() {
83 unpack ${A}
84 cd "${S}"
85 epatch "${FILESDIR}"/${P}-proj4.patch
86 }
87
88 src_compile() {
89 use proj && append-cppflags -DPJ_LIB__
90 econf \
91 $(use_with python) \
92 $(use_with fftw) \
93 $(use_with hdf) \
94 $(use_with hdf5) \
95 $(use_with netcdf) \
96 $(use_with imagemagick Magick) \
97 $(use_with proj libproj4) \
98 || die "econf failed"
99
100 emake || die "emake failed"
101 }
102
103 src_test() {
104 cd "${S}"/testsuite
105 PATH="${S}"/src gdl <<EOF
106 test_suite
107 EOF
108 }
109
110 src_install() {
111 emake DESTDIR="${D}" install || die "emake install failed"
112
113 insinto /usr/share/${PN}
114 doins -r src/pro src/py || die "install pro and py files failed"
115 dodoc README PYTHON.txt AUTHORS ChangeLog NEWS TODO HACKING || die
116
117 # add GDL provided routines to IDL_PATH
118 echo "GDL_STARTUP=/usr/share/${PN}/pro" > 99gdl
119 echo "GDL_PATH=/usr/share/${PN}" >> 99gdl
120 doenvd 99gdl
121 }
122
123
124
125 --
126 gentoo-commits@g.o mailing list