summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-04-23 17:36:08 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-04-23 17:36:08 +0000
commitac3d54d584fefa1851df05109f19b9d9526a7cf7 (patch)
tree5d0a8e389fd8494fa1e7db0c5ade77ce021ae6ff /dev-lang
parentAdd patch to fix building with GCC 4.3. (diff)
downloadhistorical-ac3d54d584fefa1851df05109f19b9d9526a7cf7.tar.gz
historical-ac3d54d584fefa1851df05109f19b9d9526a7cf7.tar.bz2
historical-ac3d54d584fefa1851df05109f19b9d9526a7cf7.zip
Version bump.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/R/ChangeLog5
-rw-r--r--dev-lang/R/Manifest4
-rw-r--r--dev-lang/R/R-2.7.0.ebuild131
3 files changed, 138 insertions, 2 deletions
diff --git a/dev-lang/R/ChangeLog b/dev-lang/R/ChangeLog
index 7559f15860e0..9e9f7174808b 100644
--- a/dev-lang/R/ChangeLog
+++ b/dev-lang/R/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/R
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.119 2008/04/15 15:27:19 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.120 2008/04/23 17:36:08 markusle Exp $
+
+ 23 Apr 2008; Markus Dittrich <markusle@gentoo.org> +R-2.7.0.ebuild:
+ Version bump.
15 Apr 2008; Raúl Porcel <armin76@gentoo.org> R-2.6.1-r1.ebuild:
alpha stable
diff --git a/dev-lang/R/Manifest b/dev-lang/R/Manifest
index df72734cd7fd..bea46d54afa5 100644
--- a/dev-lang/R/Manifest
+++ b/dev-lang/R/Manifest
@@ -1,9 +1,11 @@
DIST R-2.2.1.tar.gz 13665367 RMD160 b63b6c5ef1db27a879783460b0ecb6de0d4bba18 SHA1 537e0b89b8de55c1156474c76c19c1fcc210f756 SHA256 db442c769e5e8ecbdb33c771e41bdac4330b565652c5ca730f26f975df30c624
DIST R-2.6.1.tar.gz 15519691 RMD160 0e50237916e03c9b88ab558c39a9a587aabf4991 SHA1 6f2c8694f1935fda382796d225e45bd6f8f7755b SHA256 8fe505cbd9562cc84422475bc5c0b8e1b88b14d0c9e11d0de4f9e83ae8ce2563
DIST R-2.6.2.tar.gz 15569391 RMD160 7956c284aad3c2d4fc85d566b45e2ba308dffefb SHA1 3d06b12cbf1dab25ddd759522157e6cc6a8eae19 SHA256 7364415bb2b382110a0b94c4c894b1c7b032561dad8b1456cc27382ad496fe03
+DIST R-2.7.0.tar.gz 16396250 RMD160 c3c9cf0c0a1eb6191492f1be19e277e8223a42c9 SHA1 d0a3193e474696ad767845ef6b8ee1555a26b898 SHA256 15cba2e295dfabaa9a7b7490ec0db489691fbbc769274980eed7e5d48a0c149f
DIST R.bash_completion.bz2 4019 RMD160 796951fb32e9ea4074dcd5ba3da5955ec0193993 SHA1 05ddebef0df16f0bf35aecc8fcb702ad5d106e5e SHA256 424790f7be27a0aad7b65289c97cb15d2ca9ee272f30f3e5c906217e487c7f85
EBUILD R-2.2.1-r1.ebuild 3273 RMD160 d0611bf5cb4561a1f663c78dc6e19ef445425db7 SHA1 efaec8f322ce1651bc34ce4f2168aeb9271309cb SHA256 bbb423385fe2336e6f809972f44b8d4ce86e3f54dbb14e8120294b664d8af123
EBUILD R-2.6.1-r1.ebuild 3401 RMD160 83da6e2bc36766c9a7101473623a441ba32e808e SHA1 3f6bfcc0d0ee71431df82096a0164eb8fc62d862 SHA256 0d6da8fba7056cb620d68fa5b7d1c4cdd607345cedd7fad8ece669da08d1e6c7
EBUILD R-2.6.2.ebuild 3307 RMD160 a85d1b2f18cb4743c5fbd4d058548caebbf942b9 SHA1 074ebe6ec27ee0c7cd55aa4c34ce75301d9934c5 SHA256 6a1776092f35312942b29a03e706cd5bc7bc1b7a32b74daa612b7945013b402d
-MISC ChangeLog 18081 RMD160 54a83e1fa64ca6b6307242ab5a142acd909df6f7 SHA1 f43c5b426cba1d51ce8be61d8b2518c394649d51 SHA256 641b878083804a6cc33cfabcfe857b36872dca29b98da7339aab929d756b725e
+EBUILD R-2.7.0.ebuild 3307 RMD160 0798cc295f90333b53054b626efcc9ece4398a0b SHA1 70ee1ff54cb33ceb2a0a61aaa1b790659f8b2dfc SHA256 f9c44c3cf102e5656dc56a57f41a815cbe25a2869ef9cab91f8c32a71aa42b49
+MISC ChangeLog 18169 RMD160 bcebd602344415ad009af2f30a8a144b77a81f4d SHA1 4f7529cca212f229d15a5364e11c65e4da907411 SHA256 9777be66ca81c0c7512a3f657eb3456effd786e24430156ec6fe4f196b19c1df
MISC metadata.xml 1019 RMD160 7bafb2129d1666600d4324d7979f98d4afe896e8 SHA1 7f8e029d6edce5402c81eb9b6fb088e545dc91b4 SHA256 8dbe1befd1f6009b4c346f090c07edb79ca14b04ca5cd02dbd5ba0a4c0106ace
diff --git a/dev-lang/R/R-2.7.0.ebuild b/dev-lang/R/R-2.7.0.ebuild
new file mode 100644
index 000000000000..e7d01037c534
--- /dev/null
+++ b/dev-lang/R/R-2.7.0.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.0.ebuild,v 1.1 2008/04/23 17:36:08 markusle Exp $
+
+inherit fortran flag-o-matic bash-completion
+
+DESCRIPTION="Language and environment for statistical computing and graphics"
+HOMEPAGE="http://www.r-project.org/"
+SRC_URI="mirror://cran/src/base/R-2/${P}.tar.gz
+ bash-completion? ( mirror://gentoo/R.bash_completion.bz2 )"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+IUSE="doc java jpeg lapack minimal nls png readline tk X"
+
+# common depends
+CDEPEND="dev-lang/perl
+ >=dev-libs/libpcre-7.3
+ app-arch/bzip2
+ virtual/blas
+ virtual/ghostscript
+ readline? ( sys-libs/readline )
+ jpeg? ( media-libs/jpeg )
+ png? ( media-libs/libpng )
+ lapack? ( virtual/lapack )
+ tk? ( dev-lang/tk )
+ X? ( x11-libs/libXmu x11-misc/xdg-utils )"
+
+DEPEND="${CDEPEND}
+ dev-util/pkgconfig
+ doc? ( virtual/latex-base
+ || ( dev-texlive/texlive-fontsrecommended virtual/tetex ) )"
+
+RDEPEND="${CDEPEND}
+ app-arch/unzip
+ app-arch/zip
+ java? ( >=virtual/jre-1.5 )"
+
+R_HOME=/usr/$(get_libdir)/R
+
+pkg_setup() {
+ FORTRAN="gfortran ifc g77"
+ fortran_pkg_setup
+ export FFLAGS="${FFLAGS:--O2}"
+ [[ ${FORTRANC} = gfortran || ${FORTRANC} = if* ]] && \
+ export FCFLAGS="${FCFLAGS:-${FFLAGS}}"
+
+ filter-ldflags -Wl,-Bdirect -Bdirect
+
+ # this is needed to properly compile additional R packages
+ # (see bug #152379)
+ append-flags -std=gnu99
+}
+
+src_compile() {
+ # fix packages.html for doc (bug #205103)
+ # check in later versions if fixed
+ sed -i \
+ -e "s:../../library:../../../../$(get_libdir)/R/library:g" \
+ src/library/tools/R/packageshtml.R \
+ || die "sed failed"
+
+ use lapack && \
+ export LAPACK_LIBS="$(pkg-config --libs lapack)"
+
+ if use X; then
+ export R_BROWSER="$(type -p xdg-open)"
+ export R_PDFVIEWER="$(type -p xdg-open)"
+ fi
+
+ econf \
+ --enable-R-profiling \
+ --enable-memory-profiling \
+ --enable-R-shlib \
+ --enable-linux-lfs \
+ --with-system-zlib \
+ --with-system-bzlib \
+ --with-system-pcre \
+ --with-blas="$(pkg-config --libs blas)" \
+ --docdir=/usr/share/doc/${PF} \
+ rdocdir=/usr/share/doc/${PF} \
+ $(use_enable nls) \
+ $(use_with lapack) \
+ $(use_with tk tcltk) \
+ $(use_with jpeg jpeglib) \
+ $(use_with !minimal recommended-packages) \
+ $(use_with png libpng) \
+ $(use_with readline) \
+ $(use_with X x) \
+ || die "econf failed"
+ emake || die "emake failed"
+ if use doc; then
+ export VARTEXFONTS="${T}/fonts"
+ emake info pdf || die "emake docs failed"
+ fi
+
+ emake -j1 -C src/nmath/standalone || die "emake math library failed"
+}
+
+src_install() {
+ # -j1 because creates various dirs sequentially (hit should be small)
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+
+ if use doc; then
+ emake DESTDIR="${D}" \
+ install-info install-pdf || die "emake install docs failed"
+ fi
+
+ emake -j1 \
+ -C src/nmath/standalone \
+ DESTDIR="${D}" install \
+ || die "emake install math library failed"
+
+ # env file
+ cat > 99R <<-EOF
+ LDPATH=${R_HOME}/lib
+ R_HOME=${R_HOME}
+ EOF
+ doenvd 99R || die "doenvd failed"
+
+ dobashcompletion "${WORKDIR}"/R.bash_completion
+}
+
+pkg_config() {
+ if use java; then
+ einfo "Re-initializing java paths for ${P}"
+ R CMD javareconf
+ fi
+}