summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-01-29 10:45:01 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-01-29 10:45:01 +0000
commit5a321ad89ce42bd724d92d5d8773bcf1eb04a07c (patch)
tree704fcf9450df6541274f57bcc54607642d8a8f31 /dev-lang
parentAdded qt-svg dependency, switch to eapi 2 (diff)
downloadhistorical-5a321ad89ce42bd724d92d5d8773bcf1eb04a07c.tar.gz
historical-5a321ad89ce42bd724d92d5d8773bcf1eb04a07c.tar.bz2
historical-5a321ad89ce42bd724d92d5d8773bcf1eb04a07c.zip
Move 2.7.2 to EAPI=2 and close bug #252661
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/R/ChangeLog7
-rw-r--r--dev-lang/R/Manifest19
-rw-r--r--dev-lang/R/R-2.7.2.ebuild35
-rw-r--r--dev-lang/R/R-2.8.0.ebuild162
-rw-r--r--dev-lang/R/R-2.8.1.ebuild5
-rw-r--r--dev-lang/R/files/R-2.8.0-without-X.patch14
6 files changed, 33 insertions, 209 deletions
diff --git a/dev-lang/R/ChangeLog b/dev-lang/R/ChangeLog
index 49a293146e9a..d13cde670a7d 100644
--- a/dev-lang/R/ChangeLog
+++ b/dev-lang/R/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/R
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.143 2009/01/02 21:15:40 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.144 2009/01/29 10:45:01 bicatali Exp $
+
+ 29 Jan 2009; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ -files/R-2.8.0-without-X.patch, R-2.7.2.ebuild, -R-2.8.0.ebuild,
+ R-2.8.1.ebuild:
+ Move 2.7.2 to EAPI=2 and close bug #252661
*R-2.8.1 (02 Jan 2009)
diff --git a/dev-lang/R/Manifest b/dev-lang/R/Manifest
index e4c239586503..ff54ef6be17d 100644
--- a/dev-lang/R/Manifest
+++ b/dev-lang/R/Manifest
@@ -1,14 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX R-2.7.1-test-fix.patch 4049 RMD160 ea331226db3feda862009724a74cb98b08a6be91 SHA1 0b386fb4f173770820903ac4dd72a7f3d54556b5 SHA256 a641846b359f54fc254293f1ec74c0505297c5b1c7227de6c2bcba267592fa91
-AUX R-2.8.0-without-X.patch 430 RMD160 9601d7fb97146196e7a56201ccdcc099a56327b1 SHA1 8281a76bb192990305ab209cf69bf60474652978 SHA256 62ec24c65e60c5ce6205ae4c110bc845166826f07a5cb9ec621e2afe969751c0
AUX R-javareconf.patch 1242 RMD160 667445da01c51438deef5d876929985858507d30 SHA1 0af91b826b969afb54462569cc210b8d16b0d482 SHA256 1667dc70b39197e1b77fbaab74a5fce078067f43da248d650a84d4cf494b15bd
DIST R-2.7.1.tar.gz 16413667 RMD160 ac98e39d46ebc7581dd53da7f69a1e7abad269a4 SHA1 cdf5f6f85463c7be007306add2f4ca7cf7babfb7 SHA256 f0449d23257f98d71ed7749a2ed30f69023a05259f392e4c5fd8fac9db485de7
DIST R-2.7.2.tar.gz 16466658 RMD160 948e379f07cbfeda13c46947791f755e1faabbf7 SHA1 0de9f00ae58e67840fc2daab8973d37d97d78535 SHA256 7184c1f85fafce518e6dbccb5a64ba47a62d8694c7019da0e1c1e83ff98c3ff4
-DIST R-2.8.0.tar.gz 16558443 RMD160 1e1fd7c76af150f20d403fb085cd7ac8d909eb55 SHA1 ad483b2cf205e25891b37c109f93f95fe012a314 SHA256 3f125987ed988ccc73234da4c0daee8c79eac81aff66e10d9caeb9616d77c19d
DIST R-2.8.1.tar.gz 16585380 RMD160 1d12f8833a7b368d3cc06488172394ce4cb165ff SHA1 71e577dc061ff8720ce399471a75dea5b8fb1dab SHA256 ab488af73ce7a4f2057afcf0e725be96c9ae37f8721143004397b91928ecfa60
DIST R.bash_completion.bz2 4019 RMD160 796951fb32e9ea4074dcd5ba3da5955ec0193993 SHA1 05ddebef0df16f0bf35aecc8fcb702ad5d106e5e SHA256 424790f7be27a0aad7b65289c97cb15d2ca9ee272f30f3e5c906217e487c7f85
EBUILD R-2.7.1.ebuild 4190 RMD160 5b0637b88a216923a39de5637e46513dee258905 SHA1 47b0db9e8eb3f9cde8db89a7b478dd9e106a65f2 SHA256 3f229509c86efa3a511d7af812f4104dbba7ed727e38e72adbfe584cd273b79f
-EBUILD R-2.7.2.ebuild 4545 RMD160 5d59839a7ea69728d33846b1bae5b4880e9379c0 SHA1 80a0d85d8406f5535cda1d6dbb822a3c6a6ef589 SHA256 14d22c8d121207ce8efe41b81ef16dc3bffdfec862e0b1b16e9ead3465571453
-EBUILD R-2.8.0.ebuild 4105 RMD160 550c16f5c0e79f8215b1e7f6f0905a588343d1f4 SHA1 24371b6914fca52031a010a42f7a362d294c7618 SHA256 df0a3a7b82725bb6ffad098bb5e85108370339e5a511478186bc3429e7fc6e1c
-EBUILD R-2.8.1.ebuild 4020 RMD160 1c3eec682d8815c53af74af278ff892611a38f63 SHA1 d93bd5a188ecf83506c1c582fde2f7a1802645be SHA256 c7dcc67a756b6e6957ee0632eb655591cad2c49c25b362254068ba3ca5776533
-MISC ChangeLog 21299 RMD160 7163bde00b72c23f98dbbe2a3f5bbb65c1af600a SHA1 4d39e144e36cff4a0031233b736bc4304de9191d SHA256 376fab6837ab1f45a062d5123102f59e262732d9e8bebb64b18010185c703fa9
+EBUILD R-2.7.2.ebuild 4120 RMD160 96cbe4c865fb5eabf6634848e56543d1072625f5 SHA1 4147c6dbcd3214b71dffa514bc7f63d7e4959ae6 SHA256 03b97aa820aa40321e41307b8f4502c7a211ab8173f89026e5c681f26fcdaf3f
+EBUILD R-2.8.1.ebuild 4057 RMD160 e14c6092b33d4c20b6596ca7fede10bb4d002887 SHA1 d708b70f7342ffd9d268cb94cf163a6119f25682 SHA256 e33f59076766a89a087054dc80e98e8ee185b127a46fef4b025018b1ff54d052
+MISC ChangeLog 21485 RMD160 241650ccead741aa345f47aa72fcd310f67a1190 SHA1 901af3a39e44a4118e91be64067ba75567a3a414 SHA256 bbe2536041cc004422d54de8af7fed2ea371423b0262816dfdc5d5431ead2aa4
MISC metadata.xml 1031 RMD160 375436b81f2969a32b673a47fdcd7a8ddadb6fa3 SHA1 fefc629218f970fc24f6b4e30c482112ea6e6129 SHA256 6f692bb80f78dfd8987ae3f70c12c40924ef5e0596267d928953f37f44223968
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkmBiLwACgkQ1ycZbhPLE2Dd5QCeOwG6Ot6W4yyfqX5gZkz/ySzb
+bJkAmwXZHQbqz6KgepbvQV/Ioq3CMJVG
+=NPXX
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/R/R-2.7.2.ebuild b/dev-lang/R/R-2.7.2.ebuild
index 5ae8209f04a4..6e291a9f0d9c 100644
--- a/dev-lang/R/R-2.7.2.ebuild
+++ b/dev-lang/R/R-2.7.2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.2.ebuild,v 1.8 2008/11/09 13:20:56 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.2.ebuild,v 1.9 2009/01/29 10:45:01 bicatali Exp $
+EAPI=2
inherit fortran flag-o-matic bash-completion versionator
DESCRIPTION="Language and environment for statistical computing and graphics"
@@ -21,7 +22,8 @@ CDEPEND="dev-lang/perl
app-arch/bzip2
virtual/blas
virtual/ghostscript
- cairo? ( x11-libs/cairo x11-libs/pango )
+ cairo? ( x11-libs/cairo[X]
+ || ( >=x11-libs/pango-1.20[X] <x11-libs/pango-1.20 ) )
readline? ( sys-libs/readline )
jpeg? ( media-libs/jpeg )
png? ( media-libs/libpng )
@@ -49,27 +51,10 @@ pkg_setup() {
export FFLAGS="${FFLAGS:--O2}"
[[ ${FORTRANC} = gfortran || ${FORTRANC} = if* ]] && \
export FCFLAGS="${FCFLAGS:-${FFLAGS}}"
-
- # make sure cairo and pango are both compiled with "X"
- # use flag (see bug #231970)
- if use cairo; then
- if ( ! built_with_use x11-libs/cairo X ); then
- eerror "x11-libs/cairo needs to be built with USE=\"X\""
- die "Please rebuild x11-libs/cairo with USE=\"X\""
- fi
-
- if ( ! built_with_use x11-libs/pango X ); then
- eerror "x11-libs/pango needs to be built with USE=\"X\""
- die "Please rebuild x11-libs/pango with USE=\"X\""
- fi
- fi
-
filter-ldflags -Wl,-Bdirect -Bdirect
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${PN}-javareconf.patch
epatch "${FILESDIR}"/${PN}-2.7.1-test-fix.patch
}
@@ -80,7 +65,7 @@ src_test() {
R_HOME="" make check || die "Some of the tests failed"
}
-src_compile() {
+src_configure() {
# fix packages.html for doc (bug #205103)
# check in later versions if fixed
sed -i \
@@ -120,8 +105,10 @@ src_compile() {
$(use_with png libpng) \
$(use_with readline) \
$(use_with cairo) \
- $(use_with X x) \
- || die "econf failed"
+ $(use_with X x)
+}
+
+src_compile() {
emake || die "emake failed"
if use doc; then
export VARTEXFONTS="${T}/fonts"
diff --git a/dev-lang/R/R-2.8.0.ebuild b/dev-lang/R/R-2.8.0.ebuild
deleted file mode 100644
index 91020759c2e4..000000000000
--- a/dev-lang/R/R-2.8.0.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# 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.8.0.ebuild,v 1.2 2008/10/31 13:05:36 markusle Exp $
-
-EAPI=2
-inherit eutils fortran flag-o-matic bash-completion versionator
-
-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 cairo"
-
-# common depends
-CDEPEND="dev-lang/perl
- dev-libs/libpcre
- app-arch/bzip2
- virtual/blas
- virtual/ghostscript
- cairo? ( x11-libs/cairo[X] x11-libs/pango[X] )
- 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
- app-text/tetex
- app-text/ptex ) )"
-
-RDEPEND="${CDEPEND}
- app-arch/unzip
- app-arch/zip
- java? ( >=virtual/jre-1.5 )"
-
-R_HOME=/usr/$(get_libdir)/${PN}
-
-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
-}
-
-src_prepare() {
-
- # 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"
-
- # fix Rscript
- sed -i \
- -e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${R_HOME}\"':" \
- src/unix/Makefile.in || die "sed unix Makefile 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
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-without-X.patch
-}
-
-src_configure() {
- econf \
- --disable-rpath \
- --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 cairo) \
- $(use_with X x)
-}
-
-src_compile(){
- emake || die "emake failed"
- RMATH_V=0.0.0
- emake -j1 -C src/nmath/standalone \
- libRmath_la_LDFLAGS=-Wl,-soname,libRmath.so.${RMATH_V} \
- || die "emake math library failed"
- if use doc; then
- export VARTEXFONTS="${T}/fonts"
- emake info pdf || die "emake docs failed"
- fi
-}
-
-src_test() {
- # we need to unset R_HOME otherwise some of the diff based
- # tests fail due to warnings in the output
- R_HOME="" emake -j1 check || die "Some of the tests 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"
-
- local mv=$(get_major_version ${RMATH_V})
- mv "${D}"/usr/$(get_libdir)/libRmath.so \
- "${D}"/usr/$(get_libdir)/libRmath.so.${RMATH_V}
- dosym libRmath.so.${RMATH_V} /usr/$(get_libdir)/libRmath.so.${mv}
- dosym libRmath.so.${mv} /usr/$(get_libdir)/libRmath.so
-
- # 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
-}
diff --git a/dev-lang/R/R-2.8.1.ebuild b/dev-lang/R/R-2.8.1.ebuild
index bb9e845bfaca..4f347178580e 100644
--- a/dev-lang/R/R-2.8.1.ebuild
+++ b/dev-lang/R/R-2.8.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.8.1.ebuild,v 1.1 2009/01/02 21:15:40 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.8.1.ebuild,v 1.2 2009/01/29 10:45:01 bicatali Exp $
EAPI=2
inherit eutils fortran flag-o-matic bash-completion versionator
@@ -22,7 +22,8 @@ CDEPEND="dev-lang/perl
app-arch/bzip2
virtual/blas
virtual/ghostscript
- cairo? ( x11-libs/cairo[X] x11-libs/pango[X] )
+ cairo? ( x11-libs/cairo[X]
+ || ( >=x11-libs/pango-1.20[X] <x11-libs/pango-1.20 ) )
readline? ( sys-libs/readline )
jpeg? ( media-libs/jpeg )
png? ( media-libs/libpng )
diff --git a/dev-lang/R/files/R-2.8.0-without-X.patch b/dev-lang/R/files/R-2.8.0-without-X.patch
deleted file mode 100644
index 0fefc65083ef..000000000000
--- a/dev-lang/R/files/R-2.8.0-without-X.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-# missing ; in source code causes build failure when configured via
-# --without-X
-diff -Naur R-2.8.0/src/main/platform.c R-2.8.0.new/src/main/platform.c
---- R-2.8.0/src/main/platform.c 2008-10-07 22:05:05.000000000 -0400
-+++ R-2.8.0.new/src/main/platform.c 2008-10-31 08:44:10.000000000 -0400
-@@ -1654,7 +1654,7 @@
- # ifdef HAVE_X11
- int X11 = NA_LOGICAL;
- # else
-- int X11 = FALSE
-+ int X11 = FALSE;
- # endif
- #endif
-