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.2-r1.ebuild
Date: Mon, 11 Jun 2012 22:33:44
Message-Id: 20120611223332.08EAB2004B@flycatcher.gentoo.org
1 bicatali 12/06/11 22:33:32
2
3 Modified: ChangeLog
4 Added: octave-3.6.2-r1.ebuild
5 Log:
6 Re-add hdf5, some octave packages might need it. Do in source configuring for preventing more bugs. Drop hppa (needs hdf5)
7
8 (Portage version: 2.1.10.63/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.127 sci-mathematics/octave/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.127&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.127&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.126&r2=1.127
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v
20 retrieving revision 1.126
21 retrieving revision 1.127
22 diff -u -r1.126 -r1.127
23 --- ChangeLog 6 Jun 2012 21:31:28 -0000 1.126
24 +++ ChangeLog 11 Jun 2012 22:33:31 -0000 1.127
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.126 2012/06/06 21:31:28 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.127 2012/06/11 22:33:31 bicatali Exp $
30 +
31 +*octave-3.6.2-r1 (11 Jun 2012)
32 +
33 + 11 Jun 2012; Sébastien Fabbro <bicatali@g.o> +octave-3.6.2-r1.ebuild:
34 + Re-add hdf5, some octave packages might need it. Do in source configuring for
35 + preventing more bugs. Drop hppa (needs hdf5)
36
37 *octave-3.6.2 (06 Jun 2012)
38
39
40
41
42 1.1 sci-mathematics/octave/octave-3.6.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.6.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.6.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: octave-3.6.2-r1.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.2-r1.ebuild,v 1.1 2012/06/11 22:33:31 bicatali Exp $
52
53 EAPI=4
54
55 AUTOTOOLS_AUTORECONF=1
56 AUTOTOOLS_IN_SOURCE_BUILD=1
57
58 inherit autotools-utils toolchain-funcs fortran-2
59
60 DESCRIPTION="High-level interactive language for numerical computations"
61 LICENSE="GPL-3"
62 HOMEPAGE="http://www.octave.org/"
63 SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
64
65 SLOT="0"
66 IUSE="curl doc fftw +glpk gnuplot hdf5 +imagemagick opengl +qhull +qrupdate
67 readline +sparse static-libs X zlib"
68 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
69
70 RDEPEND="dev-libs/libpcre
71 app-text/ghostscript-gpl
72 sys-libs/ncurses
73 virtual/lapack
74 curl? ( net-misc/curl )
75 fftw? ( sci-libs/fftw:3.0 )
76 glpk? ( sci-mathematics/glpk )
77 gnuplot? ( sci-visualization/gnuplot )
78 hdf5? ( sci-libs/hdf5 )
79 imagemagick? ( || (
80 media-gfx/graphicsmagick[cxx]
81 media-gfx/imagemagick[cxx] ) )
82 opengl? (
83 media-libs/freetype:2
84 media-libs/fontconfig
85 >=x11-libs/fltk-1.3:1[opengl] )
86 qhull? ( media-libs/qhull )
87 qrupdate? ( sci-libs/qrupdate )
88 readline? ( sys-libs/readline )
89 sparse? (
90 sci-libs/arpack
91 sci-libs/camd
92 sci-libs/ccolamd
93 sci-libs/cholmod
94 sci-libs/colamd
95 sci-libs/cxsparse
96 sci-libs/umfpack )
97 X? ( x11-libs/libX11 )
98 zlib? ( sys-libs/zlib )"
99
100 DEPEND="${RDEPEND}
101 doc? (
102 virtual/latex-base
103 dev-texlive/texlive-genericrecommended
104 sys-apps/texinfo )
105 dev-util/gperf
106 virtual/pkgconfig"
107
108 PATCHES=( "${FILESDIR}"/${PN}-3.4.3-{pkgbuilddir,help,texi}.patch )
109
110 src_configure() {
111 # occasional fail on install, force regeneration see bug #401189
112 rm -f doc/interpreter/contributors.texi || die
113
114 # hdf5 disabled because not really useful (bug #299876)
115 local myconf="--without-magick"
116 if use imagemagick; then
117 if has_version media-gfx/graphicsmagick[cxx]; then
118 myconf="--with-magick=GraphicsMagick"
119 else
120 myconf="--with-magick=ImageMagick"
121 fi
122 fi
123
124 # gentoo bug #302621
125 use hdf5 && has_version sci-libs/hdf5[mpi] && \
126 export CXX=mpicxx CC=mpicc FC=mpif77 F77=mpif77
127
128 local myeconfargs+=(
129 --localstatedir="${EPREFIX}/var/state/octave"
130 --with-blas="$(pkg-config --libs blas)"
131 --with-lapack="$(pkg-config --libs lapack)"
132 $(use_enable doc docs)
133 $(use_enable readline)
134 $(use_with curl)
135 $(use_with fftw fftw3)
136 $(use_with fftw fftw3f)
137 $(use_with glpk)
138 $(use_with hdf5)
139 $(use_with opengl)
140 $(use_with qhull)
141 $(use_with qrupdate)
142 $(use_with sparse arpack)
143 $(use_with sparse umfpack)
144 $(use_with sparse colamd)
145 $(use_with sparse ccolamd)
146 $(use_with sparse cholmod)
147 $(use_with sparse cxsparse)
148 $(use_with X x)
149 $(use_with zlib z)
150 ${myconf}
151 )
152 autotools-utils_src_configure
153 }
154
155 src_install() {
156 autotools-utils_src_install
157 use doc && dodoc $(find doc -name \*.pdf)
158 [[ -e test/fntests.log ]] && dodoc test/fntests.log
159 echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${P}" > 99octave
160 doenvd 99octave
161 }