1 |
bicatali 08/10/27 10:32:15 |
2 |
|
3 |
Modified: ChangeLog R-2.7.2.ebuild R-2.7.1.ebuild |
4 |
Added: R-2.8.0.ebuild |
5 |
Log: |
6 |
Version bump and get rid of virtual/tetex |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.136 dev-lang/R/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/ChangeLog?rev=1.136&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/ChangeLog?rev=1.136&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/ChangeLog?r1=1.135&r2=1.136 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v |
19 |
retrieving revision 1.135 |
20 |
retrieving revision 1.136 |
21 |
diff -u -r1.135 -r1.136 |
22 |
--- ChangeLog 7 Oct 2008 09:42:00 -0000 1.135 |
23 |
+++ ChangeLog 27 Oct 2008 10:32:14 -0000 1.136 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-lang/R |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.135 2008/10/07 09:42:00 bicatali Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.136 2008/10/27 10:32:14 bicatali Exp $ |
29 |
+ |
30 |
+*R-2.8.0 (27 Oct 2008) |
31 |
+ |
32 |
+ 27 Oct 2008; Sébastien Fabbro <bicatali@g.o> R-2.7.1.ebuild, |
33 |
+ R-2.7.2.ebuild, +R-2.8.0.ebuild: |
34 |
+ Version bump and get rid of virtual/tetex |
35 |
|
36 |
07 Oct 2008; Sébastien Fabbro <bicatali@g.o> metadata.xml, |
37 |
-R-2.2.1-r1.ebuild, -R-2.6.1-r1.ebuild, R-2.7.2.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.3 dev-lang/R/R-2.7.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.7.2.ebuild?rev=1.3&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.7.2.ebuild?rev=1.3&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.7.2.ebuild?r1=1.2&r2=1.3 |
46 |
|
47 |
Index: R-2.7.2.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.2.ebuild,v |
50 |
retrieving revision 1.2 |
51 |
retrieving revision 1.3 |
52 |
diff -u -r1.2 -r1.3 |
53 |
--- R-2.7.2.ebuild 7 Oct 2008 09:42:00 -0000 1.2 |
54 |
+++ R-2.7.2.ebuild 27 Oct 2008 10:32:14 -0000 1.3 |
55 |
@@ -1,6 +1,6 @@ |
56 |
# Copyright 1999-2008 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.2.ebuild,v 1.2 2008/10/07 09:42:00 bicatali Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.2.ebuild,v 1.3 2008/10/27 10:32:14 bicatali Exp $ |
60 |
|
61 |
inherit fortran flag-o-matic bash-completion versionator |
62 |
|
63 |
@@ -32,7 +32,9 @@ |
64 |
DEPEND="${CDEPEND} |
65 |
dev-util/pkgconfig |
66 |
doc? ( virtual/latex-base |
67 |
- || ( dev-texlive/texlive-fontsrecommended virtual/tetex ) )" |
68 |
+ || ( dev-texlive/texlive-fontsrecommended |
69 |
+ app-text/tetex |
70 |
+ app-text/ptex ) )" |
71 |
|
72 |
RDEPEND="${CDEPEND} |
73 |
app-arch/unzip |
74 |
|
75 |
|
76 |
|
77 |
1.11 dev-lang/R/R-2.7.1.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.7.1.ebuild?rev=1.11&view=markup |
80 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.7.1.ebuild?rev=1.11&content-type=text/plain |
81 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.7.1.ebuild?r1=1.10&r2=1.11 |
82 |
|
83 |
Index: R-2.7.1.ebuild |
84 |
=================================================================== |
85 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.1.ebuild,v |
86 |
retrieving revision 1.10 |
87 |
retrieving revision 1.11 |
88 |
diff -u -r1.10 -r1.11 |
89 |
--- R-2.7.1.ebuild 6 Sep 2008 21:39:55 -0000 1.10 |
90 |
+++ R-2.7.1.ebuild 27 Oct 2008 10:32:14 -0000 1.11 |
91 |
@@ -1,6 +1,6 @@ |
92 |
# Copyright 1999-2008 Gentoo Foundation |
93 |
# Distributed under the terms of the GNU General Public License v2 |
94 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.1.ebuild,v 1.10 2008/09/06 21:39:55 dertobi123 Exp $ |
95 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.1.ebuild,v 1.11 2008/10/27 10:32:14 bicatali Exp $ |
96 |
|
97 |
inherit fortran flag-o-matic bash-completion |
98 |
|
99 |
@@ -32,7 +32,9 @@ |
100 |
DEPEND="${CDEPEND} |
101 |
dev-util/pkgconfig |
102 |
doc? ( virtual/latex-base |
103 |
- || ( dev-texlive/texlive-fontsrecommended virtual/tetex ) )" |
104 |
+ || ( dev-texlive/texlive-fontsrecommended |
105 |
+ app-text/tetex |
106 |
+ app-text/ptex ) )" |
107 |
|
108 |
RDEPEND="${CDEPEND} |
109 |
app-arch/unzip |
110 |
|
111 |
|
112 |
|
113 |
1.1 dev-lang/R/R-2.8.0.ebuild |
114 |
|
115 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.8.0.ebuild?rev=1.1&view=markup |
116 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.8.0.ebuild?rev=1.1&content-type=text/plain |
117 |
|
118 |
Index: R-2.8.0.ebuild |
119 |
=================================================================== |
120 |
# Copyright 1999-2008 Gentoo Foundation |
121 |
# Distributed under the terms of the GNU General Public License v2 |
122 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.8.0.ebuild,v 1.1 2008/10/27 10:32:14 bicatali Exp $ |
123 |
|
124 |
EAPI=2 |
125 |
inherit eutils fortran flag-o-matic bash-completion versionator |
126 |
|
127 |
DESCRIPTION="Language and environment for statistical computing and graphics" |
128 |
HOMEPAGE="http://www.r-project.org/" |
129 |
SRC_URI="mirror://cran/src/base/R-2/${P}.tar.gz |
130 |
bash-completion? ( mirror://gentoo/R.bash_completion.bz2 )" |
131 |
|
132 |
LICENSE="GPL-2 LGPL-2.1" |
133 |
SLOT="0" |
134 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
135 |
|
136 |
IUSE="doc java jpeg lapack minimal nls png readline tk X cairo" |
137 |
|
138 |
# common depends |
139 |
CDEPEND="dev-lang/perl |
140 |
dev-libs/libpcre |
141 |
app-arch/bzip2 |
142 |
virtual/blas |
143 |
virtual/ghostscript |
144 |
cairo? ( x11-libs/cairo[X] x11-libs/pango[X] ) |
145 |
readline? ( sys-libs/readline ) |
146 |
jpeg? ( media-libs/jpeg ) |
147 |
png? ( media-libs/libpng ) |
148 |
lapack? ( virtual/lapack ) |
149 |
tk? ( dev-lang/tk ) |
150 |
X? ( x11-libs/libXmu x11-misc/xdg-utils )" |
151 |
|
152 |
DEPEND="${CDEPEND} |
153 |
dev-util/pkgconfig |
154 |
doc? ( virtual/latex-base |
155 |
|| ( dev-texlive/texlive-fontsrecommended |
156 |
app-text/tetex |
157 |
app-text/ptex ) )" |
158 |
|
159 |
RDEPEND="${CDEPEND} |
160 |
app-arch/unzip |
161 |
app-arch/zip |
162 |
java? ( >=virtual/jre-1.5 )" |
163 |
|
164 |
R_HOME=/usr/$(get_libdir)/${PN} |
165 |
|
166 |
pkg_setup() { |
167 |
FORTRAN="gfortran ifc g77" |
168 |
fortran_pkg_setup |
169 |
export FFLAGS="${FFLAGS:--O2}" |
170 |
[[ ${FORTRANC} = gfortran || ${FORTRANC} = if* ]] && \ |
171 |
export FCFLAGS="${FCFLAGS:-${FFLAGS}}" |
172 |
filter-ldflags -Wl,-Bdirect -Bdirect |
173 |
} |
174 |
|
175 |
src_prepare() { |
176 |
|
177 |
# fix packages.html for doc (bug #205103) |
178 |
# check in later versions if fixed |
179 |
sed -i \ |
180 |
-e "s:../../library:../../../../$(get_libdir)/R/library:g" \ |
181 |
src/library/tools/R/packageshtml.R \ |
182 |
|| die "sed failed" |
183 |
|
184 |
# fix Rscript |
185 |
sed -i \ |
186 |
-e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${R_HOME}\"':" \ |
187 |
src/unix/Makefile.in || die "sed unix Makefile failed" |
188 |
|
189 |
use lapack && \ |
190 |
export LAPACK_LIBS="$(pkg-config --libs lapack)" |
191 |
|
192 |
if use X; then |
193 |
export R_BROWSER="$(type -p xdg-open)" |
194 |
export R_PDFVIEWER="$(type -p xdg-open)" |
195 |
fi |
196 |
} |
197 |
|
198 |
src_configure() { |
199 |
econf \ |
200 |
--disable-rpath \ |
201 |
--enable-R-profiling \ |
202 |
--enable-memory-profiling \ |
203 |
--enable-R-shlib \ |
204 |
--enable-linux-lfs \ |
205 |
--with-system-zlib \ |
206 |
--with-system-bzlib \ |
207 |
--with-system-pcre \ |
208 |
--with-blas="$(pkg-config --libs blas)" \ |
209 |
--docdir=/usr/share/doc/${PF} \ |
210 |
rdocdir=/usr/share/doc/${PF} \ |
211 |
$(use_enable nls) \ |
212 |
$(use_with lapack) \ |
213 |
$(use_with tk tcltk) \ |
214 |
$(use_with jpeg jpeglib) \ |
215 |
$(use_with !minimal recommended-packages) \ |
216 |
$(use_with png libpng) \ |
217 |
$(use_with readline) \ |
218 |
$(use_with cairo) \ |
219 |
$(use_with X x) |
220 |
} |
221 |
|
222 |
src_compile(){ |
223 |
emake || die "emake failed" |
224 |
RMATH_V=0.0.0 |
225 |
emake -j1 -C src/nmath/standalone \ |
226 |
libRmath_la_LDFLAGS=-Wl,-soname,libRmath.so.${RMATH_V} \ |
227 |
|| die "emake math library failed" |
228 |
if use doc; then |
229 |
export VARTEXFONTS="${T}/fonts" |
230 |
emake info pdf || die "emake docs failed" |
231 |
fi |
232 |
} |
233 |
|
234 |
src_test() { |
235 |
# we need to unset R_HOME otherwise some of the diff based |
236 |
# tests fail due to warnings in the output |
237 |
R_HOME="" emake -j1 check || die "Some of the tests failed" |
238 |
} |
239 |
|
240 |
src_install() { |
241 |
# -j1 because creates various dirs sequentially (hit should be small) |
242 |
emake -j1 DESTDIR="${D}" install || die "emake install failed" |
243 |
|
244 |
if use doc; then |
245 |
emake DESTDIR="${D}" \ |
246 |
install-info install-pdf || die "emake install docs failed" |
247 |
fi |
248 |
|
249 |
emake -j1 \ |
250 |
-C src/nmath/standalone \ |
251 |
DESTDIR="${D}" install \ |
252 |
|| die "emake install math library failed" |
253 |
|
254 |
local mv=$(get_major_version ${RMATH_V}) |
255 |
mv "${D}"/usr/$(get_libdir)/libRmath.so \ |
256 |
"${D}"/usr/$(get_libdir)/libRmath.so.${RMATH_V} |
257 |
dosym libRmath.so.${RMATH_V} /usr/$(get_libdir)/libRmath.so.${mv} |
258 |
dosym libRmath.so.${mv} /usr/$(get_libdir)/libRmath.so |
259 |
|
260 |
# env file |
261 |
cat > 99R <<-EOF |
262 |
LDPATH=${R_HOME}/lib |
263 |
R_HOME=${R_HOME} |
264 |
EOF |
265 |
doenvd 99R || die "doenvd failed" |
266 |
|
267 |
dobashcompletion "${WORKDIR}"/R.bash_completion |
268 |
} |
269 |
|
270 |
pkg_config() { |
271 |
if use java; then |
272 |
einfo "Re-initializing java paths for ${P}" |
273 |
R CMD javareconf |
274 |
fi |
275 |
} |