Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/octave: ChangeLog octave-3.6.1.ebuild
Date: Mon, 27 Feb 2012 18:27:37
Message-Id: 20120227182727.7C79D2004B@flycatcher.gentoo.org
1 bicatali 12/02/27 18:27:27
2
3 Modified: ChangeLog
4 Added: octave-3.6.1.ebuild
5 Log:
6 Version bump, add a gnuplot flag (bug #402705), and fix occasional failures on install (bug #401189)
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.120 sci-mathematics/octave/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.120&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.120&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.119&r2=1.120
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v
20 retrieving revision 1.119
21 retrieving revision 1.120
22 diff -u -r1.119 -r1.120
23 --- ChangeLog 16 Feb 2012 19:31:48 -0000 1.119
24 +++ ChangeLog 27 Feb 2012 18:27:27 -0000 1.120
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-mathematics/octave
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.119 2012/02/16 19:31:48 phajdan.jr Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.120 2012/02/27 18:27:27 bicatali Exp $
30 +
31 +*octave-3.6.1 (27 Feb 2012)
32 +
33 + 27 Feb 2012; Sébastien Fabbro <bicatali@g.o> +octave-3.6.1.ebuild:
34 + Version bump, add a gnuplot flag (bug #402705), and fix occasional failures
35 + on install (bug #401189)
36
37 16 Feb 2012; Pawel Hajdan jr <phajdan.jr@g.o> octave-3.4.3-r1.ebuild:
38 x86 stable wrt bug #402199
39
40
41
42 1.1 sci-mathematics/octave/octave-3.6.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.6.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.6.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: octave-3.6.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.6.1.ebuild,v 1.1 2012/02/27 18:27:27 bicatali Exp $
52
53 EAPI=4
54
55 AUTOTOOLS_AUTORECONF=yes
56 inherit autotools-utils toolchain-funcs
57
58 DESCRIPTION="High-level interactive language for numerical computations"
59 LICENSE="GPL-3"
60 HOMEPAGE="http://www.octave.org/"
61 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
62
63 SLOT="0"
64 IUSE="curl doc fftw +glpk gnuplot +imagemagick opengl +qhull +qrupdate
65 readline +sparse static-libs X zlib"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
67
68 RDEPEND="dev-libs/libpcre
69 app-text/ghostscript-gpl
70 sys-libs/ncurses
71 virtual/lapack
72 curl? ( net-misc/curl )
73 fftw? ( sci-libs/fftw:3.0 )
74 glpk? ( sci-mathematics/glpk )
75 gnuplot? ( sci-visualization/gnuplot )
76 imagemagick? ( || (
77 media-gfx/graphicsmagick[cxx]
78 media-gfx/imagemagick[cxx] ) )
79 opengl? (
80 media-libs/freetype:2
81 media-libs/fontconfig
82 >=x11-libs/fltk-1.3:1[opengl] )
83 qhull? ( media-libs/qhull )
84 qrupdate? ( sci-libs/qrupdate )
85 readline? ( sys-libs/readline )
86 sparse? (
87 sci-libs/arpack
88 sci-libs/camd
89 sci-libs/ccolamd
90 sci-libs/cholmod
91 sci-libs/colamd
92 sci-libs/cxsparse
93 sci-libs/umfpack )
94 X? ( x11-libs/libX11 )
95 zlib? ( sys-libs/zlib )"
96
97 DEPEND="${RDEPEND}
98 doc? (
99 virtual/latex-base
100 dev-texlive/texlive-genericrecommended
101 sys-apps/texinfo )
102 dev-util/gperf
103 dev-util/pkgconfig"
104
105 PATCHES=( "${FILESDIR}"/${PN}-3.4.3-{pkgbuilddir,help,texi}.patch )
106
107 src_configure() {
108 # occasional fail on install, force regeneration see bug #401189
109 rm -f doc/interpreter/contributors.texi || die
110
111 # hdf5 disabled because not really useful (bug #299876)
112 local myconf="--without-magick"
113 if use imagemagick; then
114 if has_version media-gfx/graphicsmagick[cxx]; then
115 myconf="--with-magick=GraphicsMagick"
116 else
117 myconf="--with-magick=ImageMagick"
118 fi
119 fi
120
121 myeconfargs+=(
122 --localstatedir="${EPREFIX}/var/state/octave"
123 --without-hdf5
124 --with-blas="$(pkg-config --libs blas)"
125 --with-lapack="$(pkg-config --libs lapack)"
126 $(use_enable doc docs)
127 $(use_enable readline)
128 $(use_with curl)
129 $(use_with fftw fftw3)
130 $(use_with fftw fftw3f)
131 $(use_with glpk)
132 $(use_with opengl)
133 $(use_with qhull)
134 $(use_with qrupdate)
135 $(use_with sparse arpack)
136 $(use_with sparse umfpack)
137 $(use_with sparse colamd)
138 $(use_with sparse ccolamd)
139 $(use_with sparse cholmod)
140 $(use_with sparse cxsparse)
141 $(use_with X x)
142 $(use_with zlib z)
143 ${myconf}
144 )
145 autotools-utils_src_configure
146 }
147
148 src_install() {
149 autotools-utils_src_install
150 use doc && dodoc $(find doc -name \*.pdf)
151 [[ -e test/fntests.log ]] && dodoc test/fntests.log
152 echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${P}" > 99octave
153 doenvd 99octave
154 }