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/reduce: ChangeLog reduce-20101007-r1.ebuild reduce-20101007.ebuild
Date: Tue, 29 Mar 2011 21:02:51
Message-Id: 20110329210240.D518320057@flycatcher.gentoo.org
1 grozin 11/03/29 21:02:40
2
3 Modified: ChangeLog
4 Added: reduce-20101007-r1.ebuild
5 Removed: reduce-20101007.ebuild
6 Log:
7 QA issues fixed (bug #358383), csl now installed, pdf now installed with USE=doc (not tex files)
8
9 (Portage version: 2.2.0_alpha29/cvs/Linux i686)
10
11 Revision Changes Path
12 1.2 sci-mathematics/reduce/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 5 Jan 2011 11:40:19 -0000 1.1
25 +++ ChangeLog 29 Mar 2011 21:02:40 -0000 1.2
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sci-mathematics/reduce
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/ChangeLog,v 1.1 2011/01/05 11:40:19 grozin Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/ChangeLog,v 1.2 2011/03/29 21:02:40 grozin Exp $
31 +
32 +*reduce-20101007-r1 (29 Mar 2011)
33 +
34 + 29 Mar 2011; Andrey Grozin <grozin@g.o> -reduce-20101007.ebuild,
35 + +reduce-20101007-r1.ebuild, +files/csl, +files/redcsl, -files/reduce:
36 + QA issues fixed (bug #358383), csl now installed, pdf now installed with
37 + USE=doc (not tex files)
38
39 *reduce-20101007 (05 Jan 2011)
40
41
42
43
44 1.1 sci-mathematics/reduce/reduce-20101007-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/reduce-20101007-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/reduce-20101007-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: reduce-20101007-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/reduce-20101007-r1.ebuild,v 1.1 2011/03/29 21:02:40 grozin Exp $
54 EAPI="2"
55 inherit elisp-common
56 MY_PN=${PN}-algebra
57 MY_P=${MY_PN}-${PV}
58
59 DESCRIPTION="A general-purpose computer algebra system"
60 HOMEPAGE="http://reduce-algebra.sourceforge.net/
61 http://reduce-algebra.com/"
62 IUSE="doc emacs gnuplot X"
63 SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2"
64 LICENSE="BSD-2 X? ( LGPL-2.1 )"
65 SLOT="0"
66 KEYWORDS="~x86"
67
68 RDEPEND="X? ( x11-libs/libXrandr
69 x11-libs/libXcursor
70 x11-libs/libXft )
71 gnuplot? ( sci-visualization/gnuplot )
72 emacs? ( virtual/emacs )"
73 DEPEND="${RDEPEND}"
74
75 S="${WORKDIR}/${MY_P}"
76
77 src_configure() {
78 # If you pass --prefix to this damn configure,
79 # make (not make install!) will try to install stuff
80 # into the live file system => sandbox violation
81 # Therefore, I cannot use econf here
82 # Also, make calls configure in maintainer mode in subdirs *by design*
83 # The trunk sucks less => WONTFIX until the next release
84 ./configure --with-csl $(use_with X fox)
85 # psl build requires Internet connection at build time
86 # we cannot support it
87 }
88
89 src_compile() {
90 emake STRIP=true || die "emake failed"
91
92 pushd cslbuild/*/csl/reduce.doc > /dev/null
93 rm -f *.txt *.tex
94 popd > /dev/null
95
96 if use emacs; then
97 einfo "Compiling emacs lisp files"
98 elisp-compile generic/emacs/*.el || die "elisp-compile failed"
99 fi
100 }
101
102 src_test() {
103 emake testall || die "emake testall failed"
104 }
105
106 src_install() {
107 pushd cslbuild/*/csl > /dev/null
108 exeinto /usr/lib/${PN}
109 doexe reduce csl
110 insinto /usr/lib/${PN}
111 doins reduce.img csl.img
112 doins -r reduce.doc
113 if use X; then
114 doins -r reduce.fonts
115 fi
116 popd > /dev/null
117 exeinto /usr/bin
118 doexe "${FILESDIR}/redcsl" "${FILESDIR}/csl"
119 dodoc README BUILDING DEPENDENCY_TRACKING
120 dosym /usr/lib/${PN}/${PN}.doc /usr/share/doc/${PF}/html
121
122 if use doc; then
123 insinto /usr/share/doc/${PF}
124 doins -r doc/util/r38.pdf
125 fi
126
127 if use emacs; then
128 pushd generic/emacs > /dev/null
129 elisp-install ${PN} *.el *.elc || die "elisp-install failed"
130 elisp-site-file-install "${FILESDIR}/64${PN}-gentoo.el"
131 popd > /dev/null
132 fi
133 }