Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/gsl-shell: ChangeLog gsl-shell-2.2.0.ebuild gsl-shell-2.2.0_beta1.ebuild
Date: Fri, 30 Nov 2012 17:34:13
Message-Id: 20121130173403.686AC20C65@flycatcher.gentoo.org
1 grozin 12/11/30 17:34:03
2
3 Modified: ChangeLog
4 Added: gsl-shell-2.2.0.ebuild
5 Removed: gsl-shell-2.2.0_beta1.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.2.0_alpha142/cvs/Linux i686, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.6 sci-mathematics/gsl-shell/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gsl-shell/ChangeLog?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gsl-shell/ChangeLog?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gsl-shell/ChangeLog?r1=1.5&r2=1.6
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gsl-shell/ChangeLog,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- ChangeLog 26 Sep 2012 14:50:50 -0000 1.5
25 +++ ChangeLog 30 Nov 2012 17:34:03 -0000 1.6
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-mathematics/gsl-shell
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gsl-shell/ChangeLog,v 1.5 2012/09/26 14:50:50 grozin Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gsl-shell/ChangeLog,v 1.6 2012/11/30 17:34:03 grozin Exp $
31 +
32 +*gsl-shell-2.2.0 (30 Nov 2012)
33 +
34 + 30 Nov 2012; Andrey Grozin <grozin@g.o> -gsl-shell-2.2.0_beta1.ebuild,
35 + +gsl-shell-2.2.0.ebuild, files/gsl-shell-font.patch:
36 + Version bump
37
38 26 Sep 2012; Andrey Grozin <grozin@g.o> gsl-shell-2.2.0_beta1.ebuild:
39 Fixing a stupid typo
40
41
42
43 1.1 sci-mathematics/gsl-shell/gsl-shell-2.2.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gsl-shell/gsl-shell-2.2.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gsl-shell/gsl-shell-2.2.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gsl-shell-2.2.0.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gsl-shell/gsl-shell-2.2.0.ebuild,v 1.1 2012/11/30 17:34:03 grozin Exp $
53
54 EAPI=4
55 inherit eutils
56
57 DESCRIPTION="Lua interactive shell for sci-libs/gsl"
58 HOMEPAGE="http://www.nongnu.org/gsl-shell/"
59 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="doc fox"
64
65 DEPEND=">=sci-libs/gsl-1.14
66 virtual/blas
67 >=x11-libs/agg-2.5
68 >=media-libs/freetype-2.4.10
69 sys-libs/readline
70 || ( media-fonts/ubuntu-font-family media-fonts/freefont-ttf media-fonts/dejavu )
71 doc? ( dev-python/sphinx[latex] )
72 fox? ( x11-libs/fox:1.6 )"
73 RDEPEND="${DEPEND}"
74
75 S="${WORKDIR}"/${PN}
76
77 src_prepare() {
78 epatch "${FILESDIR}"/${PN}-font.patch "${FILESDIR}"/${PN}-strip.patch "${FILESDIR}"/${PN}-usr.patch
79 use fox || epatch "${FILESDIR}"/${PN}-nogui.patch
80 }
81
82 src_compile() {
83 local BLAS=`pkg-config --libs blas`
84
85 if use fox; then
86 local FOX_INCLUDES=`WANT_FOX=1.6 fox-config --cflags`
87 local FOX_LIBS=`WANT_FOX=1.6 fox-config --libs`
88 emake -j1 CFLAGS="${CFLAGS}" GSL_LIBS="-lgsl ${BLAS}" \
89 FOX_INCLUDES="${FOX_INCLUDES}" FOX_LIBS="${FOX_LIBS}"
90 else
91 emake -j1 CFLAGS="${CFLAGS}" GSL_LIBS="-lgsl ${BLAS}"
92 fi
93
94 if use doc; then
95 pushd doc/user-manual > /dev/null
96 emake -j1 html
97 popd > /dev/null
98 fi
99 }
100
101 src_install() {
102 default
103 use doc && dohtml -r doc/user-manual/_build/html/*
104 }