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/ginac: ginac-1.5.6.ebuild ChangeLog ginac-1.5.3.ebuild ginac-1.5.1.ebuild
Date: Mon, 01 Feb 2010 20:19:16
Message-Id: E1Nc2jq-000523-NH@stork.gentoo.org
1 bicatali 10/02/01 20:19:14
2
3 Modified: ChangeLog
4 Added: ginac-1.5.6.ebuild
5 Removed: ginac-1.5.3.ebuild ginac-1.5.1.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.43 sci-mathematics/ginac/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?rev=1.43&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?rev=1.43&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ChangeLog?r1=1.42&r2=1.43
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v
20 retrieving revision 1.42
21 retrieving revision 1.43
22 diff -u -r1.42 -r1.43
23 --- ChangeLog 31 Jan 2010 17:59:27 -0000 1.42
24 +++ ChangeLog 1 Feb 2010 20:19:13 -0000 1.43
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sci-mathematics/ginac
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.42 2010/01/31 17:59:27 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.43 2010/02/01 20:19:13 bicatali Exp $
30 +
31 +*ginac-1.5.6 (01 Feb 2010)
32 +
33 + 01 Feb 2010; Sébastien Fabbro <bicatali@g.o> -ginac-1.5.1.ebuild,
34 + -files/ginac-1.5.1-lexer_cpp.patch, -ginac-1.5.3.ebuild,
35 + -files/ginac-1.5.3-parser.patch, +ginac-1.5.6.ebuild:
36 + Version bump
37
38 31 Jan 2010; Raúl Porcel <armin76@g.o> ginac-1.5.5.ebuild:
39 sparc stable wrt #300557
40
41
42
43 1.1 sci-mathematics/ginac/ginac-1.5.6.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ginac-1.5.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/ginac-1.5.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ginac-1.5.6.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ginac-1.5.6.ebuild,v 1.1 2010/02/01 20:19:13 bicatali Exp $
53
54 EAPI=2
55 inherit eutils
56
57 DESCRIPTION="C++ library and tools for symbolic calculations"
58 SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/${P}.tar.bz2"
59 HOMEPAGE="http://www.ginac.de/"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
64 IUSE="doc"
65
66 RDEPEND=">=sci-libs/cln-1.2.2"
67 DEPEND="${RDEPEND}
68 dev-util/pkgconfig
69 doc? ( app-doc/doxygen
70 media-gfx/transfig
71 || ( dev-texlive/texlive-fontsrecommended
72 app-text/ptex ) )"
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch
76 }
77
78 src_compile() {
79 emake || die "emake failed"
80 if use doc; then
81 export VARTEXFONTS="${T}"/fonts
82 cd "${S}/doc/reference"
83 #pdf generation for reference failed (1.5.1), bug #264774
84 #emake html pdf || die "emake doc reference failed"
85 emake html || die "emake ref failed"
86 cd "${S}/doc/tutorial"
87 emake ginac.pdf ginac.html || die "emake doc tutorial failed"
88 fi
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "emake install failed"
93 dodoc README NEWS AUTHORS || die
94
95 if use doc; then
96 cd doc
97 insinto /usr/share/doc/${PF}
98 newins tutorial/ginac.pdf tutorial.pdf || die "tutorial install failed"
99 #newins reference/ginac.pdf reference.pdf || die "ref install failed"
100 insinto /usr/share/doc/${PF}/html/reference
101 doins -r reference/html_files/* || die
102 insinto /usr/share/doc/${PF}/html
103 newins tutorial/ginac.html tutorial.html
104 insinto /usr/share/doc/${PF}/examples
105 doins examples/*.cpp examples/ginac-examples.txt
106 fi
107 }