Gentoo Archives: gentoo-commits

From: Jonathan-Christofer Demay <jcdemay@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/giac/
Date: Mon, 06 Feb 2012 14:35:41
Message-Id: 3184835175ce3568ee1e10d1bc705a23ca618a8b.jcdemay@gentoo
1 commit: 3184835175ce3568ee1e10d1bc705a23ca618a8b
2 Author: Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 6 14:35:25 2012 +0000
4 Commit: Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
5 CommitDate: Mon Feb 6 14:35:25 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=31848351
7
8 sci-mathematics/giac: QA fixes
9
10 ---
11 sci-mathematics/giac/ChangeLog | 5 +---
12 sci-mathematics/giac/giac-0.9.2.ebuild | 41 +++++++++++++++----------------
13 sci-mathematics/giac/metadata.xml | 2 +-
14 3 files changed, 22 insertions(+), 26 deletions(-)
15
16 diff --git a/sci-mathematics/giac/ChangeLog b/sci-mathematics/giac/ChangeLog
17 index 65e10b1..b9938a5 100644
18 --- a/sci-mathematics/giac/ChangeLog
19 +++ b/sci-mathematics/giac/ChangeLog
20 @@ -1,10 +1,7 @@
21 -# ChangeLog for sci-mathematics/giac
22 +# ChangeLog for sci-mathematics/frama-c
23 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: $
25
26 - 25 Jun 2011; Justin Lecher <jlec@g.o> giac-0.9.2.ebuild:
27 - Cleaned ebuild
28 -
29 16 May 2011; J.-C. Demay <jcdemay@×××××.com>
30 giac-0.9.2.ebuild, +metadata.xml:
31 QA fixes
32
33 diff --git a/sci-mathematics/giac/giac-0.9.2.ebuild b/sci-mathematics/giac/giac-0.9.2.ebuild
34 index a1e4f23..428faae 100644
35 --- a/sci-mathematics/giac/giac-0.9.2.ebuild
36 +++ b/sci-mathematics/giac/giac-0.9.2.ebuild
37 @@ -2,30 +2,27 @@
38 # Distributed under the terms of the GNU General Public License v2
39 # $Header: $
40
41 -EAPI=4
42 +EAPI="4"
43
44 DESCRIPTION="A free C++ CAS (Computer Algebra System) library and its interfaces"
45 HOMEPAGE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
46 SRC_URI="ftp://ftp-fourier.ujf-grenoble.fr/xcas/${P}.tar.gz"
47 -
48 LICENSE="GPL-2"
49 +
50 SLOT="0"
51 KEYWORDS="~x86 ~amd64"
52 IUSE="doc examples fltk"
53
54 -DEPEND="
55 - dev-libs/gmp
56 - sys-libs/readline
57 - dev-libs/mpfr
58 - sci-libs/gsl
59 - >=sci-mathematics/pari-2.3
60 - >=dev-libs/ntl-5.2
61 - fltk? ( x11-libs/fltk:1 )"
62 -RDEPEND="${DEPEND}"
63 +RDEPEND=">=dev-libs/gmp-3
64 + >=sys-libs/readline-4.2
65 + fltk? ( >=x11-libs/fltk-1.1.9 )
66 + dev-libs/mpfr
67 + sci-libs/gsl
68 + >=sci-mathematics/pari-2.3
69 + >=dev-libs/ntl-5.2"
70
71 src_prepare(){
72 - sed \
73 - -e "s:\$(prefix)/share:\$(DESTDIR)\$(prefix)/share:g" \
74 + sed -e "s:\$(prefix)/share:\$(DESTDIR)\$(prefix)/share:g" \
75 -e "s:config.h \$(includedir)/giac:config.h \$(DESTDIR)\$(includedir)/giac:g" \
76 -e "s:\$(DESTDIR)\$(DESTDIR):\$(DESTDIR):g" \
77 -i `find -name Makefile\*`
78 @@ -35,24 +32,26 @@ src_prepare(){
79 }
80
81 src_install() {
82 - default
83 - mv "${D}"/usr/bin/{aide,giac-help}
84 - rm "${D}"/usr/bin/*cas_help
85 + emake DESTDIR="${D}" install || die "emake install failed"
86 + mv ${D}/usr/bin/{aide,giac-help}
87 + rm ${D}/usr/bin/*cas_help
88 + dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TROUBLES
89 if use !fltk; then
90 - rm "${D}"/usr/bin/x*
91 + rm ${D}/usr/bin/x*
92 fi
93 if use !doc; then
94 - rm -R "${D}"/usr/share/doc/giac "${D}"/usr/share/giac/doc/
95 + rm -R ${D}/usr/share/doc/giac ${D}/usr/share/giac/doc/
96 else
97 for LANG in el en es fr pt; do
98 if echo ${LINGUAS} | grep -v $LANG &> /dev/null; then
99 - rm -R "${D}"/usr/share/giac/doc/$LANG
100 + rm -R ${D}/usr/share/giac/doc/$LANG
101 else
102 - ln "${D}"/usr/share/giac/doc/aide_cas "${D}"/usr/share/giac/doc/$LANG/aide_cas
103 + ln ${D}/usr/share/giac/doc/aide_cas ${D}/usr/share/giac/doc/$LANG/aide_cas
104 fi
105 done
106 fi
107 if use !examples; then
108 - rm -R "${D}"/usr/share/giac/examples
109 + rm -R ${D}/usr/share/giac/examples
110 fi
111 }
112 +
113
114 diff --git a/sci-mathematics/giac/metadata.xml b/sci-mathematics/giac/metadata.xml
115 index d5ab63a..6238c8a 100644
116 --- a/sci-mathematics/giac/metadata.xml
117 +++ b/sci-mathematics/giac/metadata.xml
118 @@ -1,7 +1,7 @@
119 <?xml version="1.0" encoding="UTF-8"?>
120 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
121 <pkgmetadata>
122 - <herd>sci-mathematics</herd>
123 + <herd>sci</herd>
124 <longdescription>
125 Giac is a free computer algebra system that can be used to perform
126 computer algebra, function graphs, interactive geometry (2-d and 3-d),