Gentoo Archives: gentoo-commits

From: "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/octave: ChangeLog octave-3.4.0-r2.ebuild octave-3.4.0-r1.ebuild
Date: Tue, 12 Jul 2011 20:52:11
Message-Id: 20110712205200.E2AD120051@flycatcher.gentoo.org
1 rafaelmartins 11/07/12 20:52:00
2
3 Modified: ChangeLog
4 Added: octave-3.4.0-r2.ebuild
5 Removed: octave-3.4.0-r1.ebuild
6 Log:
7 Revision bump. Fixes bug #373985. Thanks to trubatch@×××××××.com for reporting.
8
9 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.105 sci-mathematics/octave/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.105&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.105&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.104&r2=1.105
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v
21 retrieving revision 1.104
22 retrieving revision 1.105
23 diff -u -r1.104 -r1.105
24 --- ChangeLog 13 Jun 2011 22:39:30 -0000 1.104
25 +++ ChangeLog 12 Jul 2011 20:52:00 -0000 1.105
26 @@ -1,6 +1,14 @@
27 # ChangeLog for sci-mathematics/octave
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.104 2011/06/13 22:39:30 bicatali Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.105 2011/07/12 20:52:00 rafaelmartins Exp $
31 +
32 +*octave-3.4.0-r2 (12 Jul 2011)
33 +
34 + 12 Jul 2011; Rafael G. Martins <rafaelmartins@g.o>
35 + -octave-3.4.0-r1.ebuild, +octave-3.4.0-r2.ebuild,
36 + +files/octave-3.4.0-fftshift.patch:
37 + Revision bump. Fixes bug #373985. Thanks to trubatch@×××××××.com for
38 + reporting.
39
40 13 Jun 2011; Sébastien Fabbro <bicatali@g.o> octave-3.4.0-r1.ebuild:
41 Added missing autotools eclass
42
43
44
45 1.1 sci-mathematics/octave/octave-3.4.0-r2.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.4.0-r2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.4.0-r2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: octave-3.4.0-r2.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.4.0-r2.ebuild,v 1.1 2011/07/12 20:52:00 rafaelmartins Exp $
55
56 EAPI=4
57 inherit eutils base autotools
58
59 DESCRIPTION="High-level interactive language for numerical computations"
60 LICENSE="GPL-3"
61 HOMEPAGE="http://www.octave.org/"
62 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
63
64 SLOT="0"
65 IUSE="curl doc fftw readline sparse test zlib"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
67
68 RDEPEND="dev-libs/libpcre
69 media-gfx/graphicsmagick[cxx]
70 media-libs/ftgl
71 media-libs/qhull
72 sci-libs/qrupdate
73 sci-mathematics/glpk
74 sci-visualization/gnuplot
75 sys-libs/ncurses
76 virtual/lapack
77 virtual/opengl
78 x11-libs/libX11
79 >=x11-libs/fltk-1.3:1[opengl]
80 curl? ( net-misc/curl )
81 fftw? ( sci-libs/fftw:3.0 )
82 sparse? (
83 sci-libs/camd
84 sci-libs/ccolamd
85 sci-libs/cholmod
86 sci-libs/colamd
87 sci-libs/cxsparse
88 sci-libs/umfpack )
89 zlib? ( sys-libs/zlib )
90 !sci-mathematics/octave-forge"
91
92 DEPEND="${RDEPEND}
93 virtual/latex-base
94 sys-apps/texinfo
95 || ( dev-texlive/texlive-genericrecommended
96 app-text/ptex )
97 dev-util/gperf
98 dev-util/pkgconfig"
99
100 src_prepare() {
101 epatch "${FILESDIR}"/${P}-{gcc46,pkgbuilddir,fltk,help,fftshift}.patch
102 eautoreconf
103 }
104
105 src_configure() {
106 # hdf5 disabled because not really useful (bug #299876)
107 econf \
108 --localstatedir=/var/state/octave \
109 --enable-shared \
110 --without-hdf5 \
111 --with-glpk \
112 --with-opengl \
113 --with-qrupdate \
114 --with-blas="$(pkg-config --libs blas)" \
115 --with-lapack="$(pkg-config --libs lapack)" \
116 $(use_enable readline) \
117 $(use_with curl) \
118 $(use_with fftw fftw3) \
119 $(use_with fftw fftw3f) \
120 $(use_with sparse umfpack) \
121 $(use_with sparse colamd) \
122 $(use_with sparse ccolamd) \
123 $(use_with sparse cholmod) \
124 $(use_with sparse cxsparse) \
125 $(use_with zlib z)
126 }
127
128 src_install() {
129 default
130 if use doc; then
131 einfo "Installing documentation..."
132 insinto /usr/share/doc/${PF}
133 doins $(find doc -name \*.pdf)
134 fi
135 use test && dodoc test/fntests.log
136 echo "LDPATH=/usr/$(get_libdir)/octave-${PV}" > 99octave
137 doenvd 99octave || die
138 }