From: Markus Dittrich Date: Sat, 13 Jan 2007 15:46:07 +0000 (+0000) Subject: Removed obsolete ebuilds and finally got rid of the tcltk flag in R-2.2.1 (see bug... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4653a9602584b6ea905f10388739d375863a7bbe;p=gentoo.git Removed obsolete ebuilds and finally got rid of the tcltk flag in R-2.2.1 (see bug #17808). Package-Manager: portage-2.1.2_rc4-r7 --- diff --git a/dev-lang/R/Manifest b/dev-lang/R/Manifest index 4aa10518ca18..a4b30f57667e 100644 --- a/dev-lang/R/Manifest +++ b/dev-lang/R/Manifest @@ -18,71 +18,27 @@ AUX R.desktop 425 RMD160 6e86e5a3d3abfe8a5e8fcf97e5b4cb9a7c28d027 SHA1 5be90e424 MD5 15ce6e575cf7a5844aa8deecb504e7be files/R.desktop 425 RMD160 6e86e5a3d3abfe8a5e8fcf97e5b4cb9a7c28d027 files/R.desktop 425 SHA256 ebddf927cf47cf584592c67f7b0a6cccc593c92ad07ec9d4d1d7b67da1ca7ec0 files/R.desktop 425 -DIST R-2.1.1.tar.gz 12644376 -DIST R-2.2.0.tar.gz 13307492 DIST R-2.2.1.tar.gz 13665367 RMD160 b63b6c5ef1db27a879783460b0ecb6de0d4bba18 SHA1 537e0b89b8de55c1156474c76c19c1fcc210f756 SHA256 db442c769e5e8ecbdb33c771e41bdac4330b565652c5ca730f26f975df30c624 -DIST R-2.3.0.tar.gz 14251956 RMD160 87422ce47ae36e33d4ace3a7f0b68c46c2d9128d SHA1 62e9a90e87c1403a59e846e292e94196f9a893d2 SHA256 ed19c04691028bf095056f9bde2957cb8beb95bdccda8c562046a7bb85e40a03 -DIST R-2.3.1.tar.gz 14285120 RMD160 061a77f25d3b1144aecdce479aa707e7bea21a82 SHA1 62cf87f4a273f17d5a55a5ffaf0bfcdfdae3c03d SHA256 1952bcf0d169cfe98aef33015a988f85eda72bf0223cd5833669e197fea2e427 -DIST R-2.4.0.tar.gz 14597440 RMD160 d4cc3257ab5fc6cfefd79877c64c0dff60ababb7 SHA1 b0433978dff831ae2f44b6336bfad44cbe14d4a9 SHA256 0a0263acf42230c291ca5cf371541077aae3a1f8a586e1bf336bdb6af76946e2 DIST R-2.4.1.tar.gz 14570344 RMD160 2a03cc81b870d594a695e9eb1e77720379c60194 SHA1 5ab0a29a29c35dc2cb06c875539e62b57503c762 SHA256 4ff92cfd29064db59978ef11c95dd88a4040ed4984fdce29fcb5d5783fe9028b -EBUILD R-2.1.1.ebuild 2840 RMD160 9cfc14992892e119581bc393aca63b4ad0ff035f SHA1 1441de2759adc96c38698fc8afe96b47e1da7069 SHA256 32091ae0e6e8cbba46373a166d3b6b1bec02861c514bd1cbb1955794eae66b24 -MD5 e31d4aac16729ca4d9ac3bd04bd95971 R-2.1.1.ebuild 2840 -RMD160 9cfc14992892e119581bc393aca63b4ad0ff035f R-2.1.1.ebuild 2840 -SHA256 32091ae0e6e8cbba46373a166d3b6b1bec02861c514bd1cbb1955794eae66b24 R-2.1.1.ebuild 2840 -EBUILD R-2.2.0-r1.ebuild 3158 RMD160 25f7af238572e0f8ea4de81a809d192a78d05265 SHA1 c16907ea5ceaa7408ba163a0013bf8d1bc372b65 SHA256 7434e7260e47d041b59a943a37344ea76af9c86b5036eed95bf994cce3034988 -MD5 6c57a3e77e32130923fc49bfbda1d469 R-2.2.0-r1.ebuild 3158 -RMD160 25f7af238572e0f8ea4de81a809d192a78d05265 R-2.2.0-r1.ebuild 3158 -SHA256 7434e7260e47d041b59a943a37344ea76af9c86b5036eed95bf994cce3034988 R-2.2.0-r1.ebuild 3158 -EBUILD R-2.2.1.ebuild 3184 RMD160 be1c85205cdb0c6b7206ebc60eecd02f707ea0d7 SHA1 68254579fbfe64013f8ca7f3d7110a0b288f06dd SHA256 ec362bf163b8cd237056e632a9297f50c073e0bc4b62578530c207677d49bc4a -MD5 73bc3828e9212301d9d6117963621f5a R-2.2.1.ebuild 3184 -RMD160 be1c85205cdb0c6b7206ebc60eecd02f707ea0d7 R-2.2.1.ebuild 3184 -SHA256 ec362bf163b8cd237056e632a9297f50c073e0bc4b62578530c207677d49bc4a R-2.2.1.ebuild 3184 -EBUILD R-2.3.0.ebuild 3192 RMD160 ff9e4e6d9fb896f65df8bde283bae805ad920907 SHA1 c112d6c47f228a3e8927f54cff596a6dd353c901 SHA256 b5629d545774dad08993b0f1b308a0c9464e5e59153ed8a5c345ac1e50a2ab5c -MD5 29dd5ab74288eaf94141f6c16d681506 R-2.3.0.ebuild 3192 -RMD160 ff9e4e6d9fb896f65df8bde283bae805ad920907 R-2.3.0.ebuild 3192 -SHA256 b5629d545774dad08993b0f1b308a0c9464e5e59153ed8a5c345ac1e50a2ab5c R-2.3.0.ebuild 3192 -EBUILD R-2.3.1.ebuild 3265 RMD160 bf542f1974c80581c1f7ceb1e7111353082c2561 SHA1 4cd428ffc58b4d2ce55d5b39be4d9f7f30275943 SHA256 90387275e9cbe4b9d86e71dcd65df3df674fcfae45aaf2ee6d8f6292a033c1bf -MD5 74c788e42b171c636dcd8104acf4759c R-2.3.1.ebuild 3265 -RMD160 bf542f1974c80581c1f7ceb1e7111353082c2561 R-2.3.1.ebuild 3265 -SHA256 90387275e9cbe4b9d86e71dcd65df3df674fcfae45aaf2ee6d8f6292a033c1bf R-2.3.1.ebuild 3265 -EBUILD R-2.4.0.ebuild 3423 RMD160 b0e2d589c510ffd5e5b8a16e3e60dc4b2be40ba8 SHA1 a9e000e3c62216d66df32ff4ec1d9d5820647e81 SHA256 ceeb716a013fd9960583f4df99fd249bdfb9b2db714727ea84d82fdd8a5ad09d -MD5 b041e3faa8a2eddce9de803a5b98dfb3 R-2.4.0.ebuild 3423 -RMD160 b0e2d589c510ffd5e5b8a16e3e60dc4b2be40ba8 R-2.4.0.ebuild 3423 -SHA256 ceeb716a013fd9960583f4df99fd249bdfb9b2db714727ea84d82fdd8a5ad09d R-2.4.0.ebuild 3423 +EBUILD R-2.2.1.ebuild 3192 RMD160 3f16b9c059b7a6feae33a2d04622062342451f6a SHA1 77dd1efd735b5954f761cbf1f8bad01bb0cb14a1 SHA256 9aedebf110dc41c28b662e42b3d92a1a6ee315a4fbe5e823a55ecc0d06c6d830 +MD5 d796569818d34c6d48a815a45f6cbe99 R-2.2.1.ebuild 3192 +RMD160 3f16b9c059b7a6feae33a2d04622062342451f6a R-2.2.1.ebuild 3192 +SHA256 9aedebf110dc41c28b662e42b3d92a1a6ee315a4fbe5e823a55ecc0d06c6d830 R-2.2.1.ebuild 3192 EBUILD R-2.4.1.ebuild 3358 RMD160 9663a207960cddd4f2874f17d1bcb39e87d08b2c SHA1 01f4854f77d62acdde8fa6c491362207750aedbb SHA256 c9383cada85829e1bc6d677c77fefa19c6326f04136089dadc42a1cc1f3e2842 MD5 7f3e26f3b5a218f2487e2f5f67d97bab R-2.4.1.ebuild 3358 RMD160 9663a207960cddd4f2874f17d1bcb39e87d08b2c R-2.4.1.ebuild 3358 SHA256 c9383cada85829e1bc6d677c77fefa19c6326f04136089dadc42a1cc1f3e2842 R-2.4.1.ebuild 3358 -MISC ChangeLog 12476 RMD160 993547a0ace4746fe155f3ba2366e3027a730f7c SHA1 95c866deb958462cc60bb8b540867d09332a3ecd SHA256 4670b65dd807f447b138ef0aab51c0f2800caad254ff1dc3788a771eb1e0d80d -MD5 3d5a241f4ad77b1dc75e8c1980f087d2 ChangeLog 12476 -RMD160 993547a0ace4746fe155f3ba2366e3027a730f7c ChangeLog 12476 -SHA256 4670b65dd807f447b138ef0aab51c0f2800caad254ff1dc3788a771eb1e0d80d ChangeLog 12476 +MISC ChangeLog 12734 RMD160 5c84194b9f948f35d1c7d9a4d6b204ccb91444fa SHA1 09e60cae96ead4a3b7a5936ab995aa48eca0641c SHA256 5fc7592f39c06c239a4c26ed0f37687cb6bc99fc35be5fe6b0b9edb5d5286054 +MD5 36c023fcdea4b0d65c264dbb26d0d443 ChangeLog 12734 +RMD160 5c84194b9f948f35d1c7d9a4d6b204ccb91444fa ChangeLog 12734 +SHA256 5fc7592f39c06c239a4c26ed0f37687cb6bc99fc35be5fe6b0b9edb5d5286054 ChangeLog 12734 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156 -MISC tmpQVwYnC.repoman.msg 64 RMD160 26f1098fd60d1167f935d81d4869905b2e4807f3 SHA1 89e5aef02a3b84a96557ec73373112852df44d26 SHA256 8a6a91b9b031da7877bacfc9900b4753baac2ce009bb16b063c8682302006f95 -MD5 3834d94005ace028b3221d3dad81c172 tmpQVwYnC.repoman.msg 64 -RMD160 26f1098fd60d1167f935d81d4869905b2e4807f3 tmpQVwYnC.repoman.msg 64 -SHA256 8a6a91b9b031da7877bacfc9900b4753baac2ce009bb16b063c8682302006f95 tmpQVwYnC.repoman.msg 64 -MD5 1be6338417fd08a609cb02164398a26b files/digest-R-2.1.1 61 -RMD160 2dbcb35bceb8e64ce48a8887766bee1fadb37256 files/digest-R-2.1.1 61 -SHA256 7c36db19b0c7bc7248bfccd63f2b6ea155ed76ed522dc909e0b1a6ae3a1ff610 files/digest-R-2.1.1 61 -MD5 1bf0aa0599dbf556341336a582094569 files/digest-R-2.2.0-r1 61 -RMD160 4fcc548deb85787675e3c108128efdf31e1b39aa files/digest-R-2.2.0-r1 61 -SHA256 3fb9d80244068a935f0f9f10b023d261455b37cf58b75b2bccad4dcd30dbbe1e files/digest-R-2.2.0-r1 61 MD5 bb90ccfb5759b31b5bbf043e0374e366 files/digest-R-2.2.1 229 RMD160 8300f09f52235aadad8493a9b870f66edec8b918 files/digest-R-2.2.1 229 SHA256 dfc1aa1b94f944657bef2b7dbe68879a14582212746d132f3784819f29b07fa2 files/digest-R-2.2.1 229 -MD5 ef2c243a8c82197abcc8983b4c2b9777 files/digest-R-2.3.0 229 -RMD160 418035dca314fa44e64b5c1ef4d5b925d6e9df4f files/digest-R-2.3.0 229 -SHA256 b775d5c75d98b3979750c88e0fa1bbcdd61037e86ae3cfedcd1b474dc6822087 files/digest-R-2.3.0 229 -MD5 e1d830bdc1cdc1e7a1be29d1318d6664 files/digest-R-2.3.1 229 -RMD160 406bd089470d7aa2f268751883b1b8ad84b0d0e6 files/digest-R-2.3.1 229 -SHA256 c468475abaadf2f54b1d164b237cb27c7e28aa62ffea7f7637c5cb6cebad0b20 files/digest-R-2.3.1 229 -MD5 5dddf0db40407a83fead9496f45a49d1 files/digest-R-2.4.0 229 -RMD160 e4a82d5426ea596069f00b4a6990e65edbdb1c1f files/digest-R-2.4.0 229 -SHA256 df1891933f91c515c48181b1c49e0816c65f2051ebe0b7c9d3bf95cd4da97cc3 files/digest-R-2.4.0 229 MD5 2fbf21a251d9868a4dbcb3a17d7c6178 files/digest-R-2.4.1 229 RMD160 cec6faf41cd8cb3d57a8408e71d95a26403c19e9 files/digest-R-2.4.1 229 SHA256 9e65e0cee9f8ff3946f8e51c30aacacd0783bffdb0efc99d46c63c493520c543 files/digest-R-2.4.1 229 diff --git a/dev-lang/R/R-2.1.1.ebuild b/dev-lang/R/R-2.1.1.ebuild deleted file mode 100644 index a0f6c2efa2fb..000000000000 --- a/dev-lang/R/R-2.1.1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.1.1.ebuild,v 1.9 2006/06/02 20:13:01 kugelfang Exp $ - -inherit fortran toolchain-funcs flag-o-matic - -DESCRIPTION="R is GNU S - A 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" -#There are daily release patches, don't know how to utilize these -#"ftp://ftp.stat.math.ethz.ch/Software/${PN}/${PN}-release.diff.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 sparc x86" -IUSE="blas jpeg nls png readline tcltk X" - -DEPEND=">=dev-lang/perl-5.6.1-r3 - readline? ( >=sys-libs/readline-4.1-r3 ) - jpeg? ( >=media-libs/jpeg-6b-r2 ) - png? ( >=media-libs/libpng-1.2.1 ) - blas? ( virtual/blas ) - tcltk? ( dev-lang/tk ) - X? ( || ( ( x11-libs/libX11 ) - virtual/x11 ) )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xproto - x11-libs/libXt - x11-libs/libX11 ) - virtual/x11 ) )" - -pkg_setup() { - # Test for a 64 bit architecture - f2c won't work on 64 bit archs with R. - # Thanks to vapier for providing the test. - cd "${T}" - echo 'int main(){}' > test.c - $(tc-getCC) -c test.c -o test.o - if file test.o | grep -qs 64-bit ; then - einfo "64 bit architecture detected, using g77." - FORTRAN="g77" - else - FORTRAN="g77 f2c" - fi - rm -f test.{c,o} - fortran_pkg_setup - - filter-ldflags -Wl,-Bdirect -Bdirect -} - -src_compile() { - local myconf="--enable-R-profiling --enable-R-shlib --enable-linux-lfs" - - if use tcltk; then - #configure needs to find the files tclConfig.sh and tkConfig.sh - myconf="${myconf} --with-tcltk --with-tcl-config=/usr/lib/tclConfig.sh --with-tk-config=/usr/lib/tkConfig.sh" - else - myconf="${myconf} --without-tcltk" - fi - - econf \ - $(use_enable nls) \ - $(use_with blas) \ - $(use_with jpeg jpeglib) \ - $(use_with png libpng) \ - $(use_with readline) \ - $(use_with X x) \ - ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - rhome=${D}/usr/$(get_libdir)/R \ - install || die "Installation Failed" - - #fix the R wrapper script to have the correct R_HOME_DIR - #sed regexp borrowed from included debian rules - sed \ - -e "/^R_HOME_DIR=.*/s::R_HOME_DIR=/usr/$(get_libdir)/R:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed" - - #R installs two identical wrappers under /usr/bin and /usr/lib/R/bin/ - #the 2nd one is corrected by above sed, for the 1st - #I'll just symlink it into /usr/bin - cd ${D}/usr/bin/ - rm R - dosym ../$(get_libdir)/R/bin/R /usr/bin/R - dodir /etc/env.d - echo > ${D}/etc/env.d/99R "LDPATH=/usr/$(get_libdir)/R/lib" - cd ${S} - - dodoc AUTHORS BUGS COPYING* ChangeLog FAQ *NEWS README \ - RESOURCES THANKS VERSION Y2K -} diff --git a/dev-lang/R/R-2.2.0-r1.ebuild b/dev-lang/R/R-2.2.0-r1.ebuild deleted file mode 100644 index 8b73d3254473..000000000000 --- a/dev-lang/R/R-2.2.0-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.2.0-r1.ebuild,v 1.4 2006/06/02 20:13:01 kugelfang Exp $ - -inherit fortran toolchain-funcs flag-o-matic - -DESCRIPTION="R is GNU S - A 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" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="blas jpeg nls png readline tcltk X lapack" - -DEPEND=">=dev-lang/perl-5.6.1-r3 - readline? ( >=sys-libs/readline-4.1-r3 ) - jpeg? ( >=media-libs/jpeg-6b-r2 ) - png? ( >=media-libs/libpng-1.2.1 ) - blas? ( virtual/blas ) - lapack? ( virtual/lapack ) - tcltk? ( dev-lang/tk ) - X? ( || ( ( x11-libs/libX11 ) - virtual/x11 ) )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xproto - x11-libs/libXt - x11-libs/libX11 ) - virtual/x11 ) )" - -AT_M4DIR="${S}/m4" - -pkg_setup() { - # Test for a 64 bit architecture - f2c won't work on 64 bit archs with R. - # Thanks to vapier for providing the test. - cd "${T}" - echo 'int main(){}' > test.c - $(tc-getCC) -c test.c -o test.o - if file test.o | grep -qs 64-bit ; then - einfo "64 bit architecture detected, using g77." - FORTRAN="g77 ifc" - else - FORTRAN="g77 f2c" - fi - rm -f test.{c,o} - fortran_pkg_setup - - filter-ldflags -Wl,-Bdirect -Bdirect -} - -src_compile() { - local myconf="--enable-R-profiling --enable-R-shlib --enable-linux-lfs" - - if use tcltk; then - #configure needs to find the files tclConfig.sh and tkConfig.sh - myconf="${myconf} --with-tcltk --with-tcl-config=/usr/lib/tclConfig.sh - --with-tk-config=/usr/lib/tkConfig.sh" - else - myconf="${myconf} --without-tcltk" - fi - - econf \ - $(use_enable nls) \ - $(use_with blas) \ - $(use_with lapack) \ - $(use_with jpeg jpeglib) \ - $(use_with png libpng) \ - $(use_with readline) \ - $(use_with X x) \ - ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - rhome=${D}/usr/$(get_libdir)/R \ - install || die "Installation Failed" - - # fix the R wrapper script to have the correct R_HOME_DIR - # sed regexp borrowed from included debian rules - sed \ - -e "/^R_HOME_DIR=.*/s::R_HOME_DIR=/usr/$(get_libdir)/R:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed." - - # The same kinds of seds are needed for these variables too, see bug 115140 - sed \ - -e "/^R_SHARE_DIR=.*/s::R_SHARE_DIR=/usr/$(get_libdir)/R/share:" \ - -e "/^R_INCLUDE_DIR=.*/s::R_INCLUDE_DIR=/usr/$(get_libdir)/R/include:" \ - -e "/^R_DOC_DIR=.*/s::R_DOC_DIR=/usr/$(get_libdir)/R/doc:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed." - - # R installs two identical wrappers under /usr/bin and /usr/lib/R/bin/ - # the 2nd one is corrected by above sed, the first is replaced by a symlink - cd ${D}/usr/bin/ - rm R - dosym ../$(get_libdir)/R/bin/R /usr/bin/R - dodir /etc/env.d - echo -n \ - "LDPATH=\"/usr/$(get_libdir)/R/lib\"" \ - > ${D}/etc/env.d/99R - cd ${S} - - dodoc AUTHORS BUGS COPYING* ChangeLog FAQ *NEWS README \ - RESOURCES THANKS VERSION Y2K -} diff --git a/dev-lang/R/R-2.3.0.ebuild b/dev-lang/R/R-2.3.0.ebuild deleted file mode 100644 index 3be2ecd4de45..000000000000 --- a/dev-lang/R/R-2.3.0.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.3.0.ebuild,v 1.2 2006/06/02 20:13:01 kugelfang Exp $ - -inherit fortran toolchain-funcs flag-o-matic - -DESCRIPTION="R is GNU S - A 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" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="blas jpeg nls png readline tcltk X lapack" - -RDEPEND=">=dev-lang/perl-5.6.1-r3 - readline? ( >=sys-libs/readline-4.1-r3 ) - jpeg? ( >=media-libs/jpeg-6b-r2 ) - png? ( >=media-libs/libpng-1.2.1 ) - blas? ( virtual/blas ) - lapack? ( virtual/lapack ) - tcltk? ( dev-lang/tk ) - X? ( || ( ( x11-libs/libX11 ) - virtual/x11 ) )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xproto - x11-libs/libXt - x11-libs/libX11 ) - virtual/x11 ) )" - -AT_M4DIR="${S}/m4" - -pkg_setup() { - # Test for a 64 bit architecture - f2c won't work on 64 bit archs with R. - # Thanks to vapier for providing the test. - cd "${T}" - echo 'int main(){}' > test.c - $(tc-getCC) -c test.c -o test.o - if file test.o | grep -qs 64-bit ; then - einfo "64 bit architecture detected, using g77 or gfortran." - FORTRAN="gfortran g77 ifc" - else - FORTRAN="gfortran g77 f2c" - fi - rm -f test.{c,o} - fortran_pkg_setup - - filter-ldflags -Wl,-Bdirect -Bdirect -} - -src_compile() { - local myconf="--enable-R-profiling --enable-R-shlib --enable-linux-lfs" - - if use tcltk; then - #configure needs to find the files tclConfig.sh and tkConfig.sh - myconf="${myconf} --with-tcltk --with-tcl-config=/usr/lib/tclConfig.sh - --with-tk-config=/usr/lib/tkConfig.sh" - else - myconf="${myconf} --without-tcltk" - fi - - econf \ - $(use_enable nls) \ - $(use_with blas) \ - $(use_with lapack) \ - $(use_with jpeg jpeglib) \ - $(use_with png libpng) \ - $(use_with readline) \ - $(use_with X x) \ - ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - rhome=${D}/usr/$(get_libdir)/R \ - install || die "Installation Failed" - - # fix the R wrapper script to have the correct R_HOME_DIR - # sed regexp borrowed from included debian rules - sed \ - -e "/^R_HOME_DIR=.*/s::R_HOME_DIR=/usr/$(get_libdir)/R:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed." - - # The same kinds of seds are needed for these variables too, see bug 115140 - sed \ - -e "/^R_SHARE_DIR=.*/s::R_SHARE_DIR=/usr/$(get_libdir)/R/share:" \ - -e "/^R_INCLUDE_DIR=.*/s::R_INCLUDE_DIR=/usr/$(get_libdir)/R/include:" \ - -e "/^R_DOC_DIR=.*/s::R_DOC_DIR=/usr/$(get_libdir)/R/doc:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed." - - # R installs two identical wrappers under /usr/bin and /usr/lib/R/bin/ - # the 2nd one is corrected by above sed, the first is replaced by a symlink - cd ${D}/usr/bin/ - rm R - dosym ../$(get_libdir)/R/bin/R /usr/bin/R - dodir /etc/env.d - echo -n \ - "LDPATH=\"/usr/$(get_libdir)/R/lib\"" \ - > ${D}/etc/env.d/99R - cd ${S} - - dodoc AUTHORS BUGS COPYING* ChangeLog FAQ *NEWS README \ - RESOURCES THANKS VERSION Y2K -} diff --git a/dev-lang/R/R-2.3.1.ebuild b/dev-lang/R/R-2.3.1.ebuild deleted file mode 100644 index efa1118b83ea..000000000000 --- a/dev-lang/R/R-2.3.1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.3.1.ebuild,v 1.3 2006/06/28 10:11:03 lu_zero Exp $ - -inherit fortran toolchain-funcs flag-o-matic - -DESCRIPTION="R is GNU S - A 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" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="blas jpeg nls png readline tcltk X lapack" - -RDEPEND=">=dev-lang/perl-5.6.1-r3 - readline? ( >=sys-libs/readline-4.1-r3 ) - jpeg? ( >=media-libs/jpeg-6b-r2 ) - png? ( >=media-libs/libpng-1.2.1 ) - blas? ( virtual/blas ) - lapack? ( virtual/lapack ) - tcltk? ( dev-lang/tk ) - X? ( || ( ( x11-libs/libX11 ) - virtual/x11 ) )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xproto - x11-libs/libXt - x11-libs/libX11 ) - virtual/x11 ) )" - -AT_M4DIR="${S}/m4" - -pkg_setup() { - # Test for a 64 bit architecture - f2c won't work on 64 bit archs with R. - # Thanks to vapier for providing the test. - cd "${T}" - echo 'int main(){}' > test.c - $(tc-getCC) -c test.c -o test.o - if file test.o | grep -qs 64-bit ; then - einfo "64 bit architecture detected, using g77 or gfortran." - FORTRAN="gfortran g77 ifc" - else - FORTRAN="gfortran g77 f2c" - fi - rm -f test.{c,o} - fortran_pkg_setup - - filter-ldflags -Wl,-Bdirect -Bdirect -} - -src_unpack() { - unpack ${A} - sed -i -e "s:-fpic:-fPIC:g" ${S}/configure -} - -src_compile() { - local myconf="--enable-R-profiling --enable-R-shlib --enable-linux-lfs" - - if use tcltk; then - #configure needs to find the files tclConfig.sh and tkConfig.sh - myconf="${myconf} --with-tcltk --with-tcl-config=/usr/lib/tclConfig.sh - --with-tk-config=/usr/lib/tkConfig.sh" - else - myconf="${myconf} --without-tcltk" - fi - - econf \ - $(use_enable nls) \ - $(use_with blas) \ - $(use_with lapack) \ - $(use_with jpeg jpeglib) \ - $(use_with png libpng) \ - $(use_with readline) \ - $(use_with X x) \ - ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - rhome=${D}/usr/$(get_libdir)/R \ - install || die "Installation Failed" - - # fix the R wrapper script to have the correct R_HOME_DIR - # sed regexp borrowed from included debian rules - sed \ - -e "/^R_HOME_DIR=.*/s::R_HOME_DIR=/usr/$(get_libdir)/R:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed." - - # The same kinds of seds are needed for these variables too, see bug 115140 - sed \ - -e "/^R_SHARE_DIR=.*/s::R_SHARE_DIR=/usr/$(get_libdir)/R/share:" \ - -e "/^R_INCLUDE_DIR=.*/s::R_INCLUDE_DIR=/usr/$(get_libdir)/R/include:" \ - -e "/^R_DOC_DIR=.*/s::R_DOC_DIR=/usr/$(get_libdir)/R/doc:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed." - - # R installs two identical wrappers under /usr/bin and /usr/lib/R/bin/ - # the 2nd one is corrected by above sed, the first is replaced by a symlink - cd ${D}/usr/bin/ - rm R - dosym ../$(get_libdir)/R/bin/R /usr/bin/R - dodir /etc/env.d - echo -n \ - "LDPATH=\"/usr/$(get_libdir)/R/lib\"" \ - > ${D}/etc/env.d/99R - cd ${S} - - dodoc AUTHORS BUGS COPYING* ChangeLog FAQ *NEWS README \ - RESOURCES THANKS VERSION Y2K -} diff --git a/dev-lang/R/R-2.4.0.ebuild b/dev-lang/R/R-2.4.0.ebuild deleted file mode 100644 index da14bd294e34..000000000000 --- a/dev-lang/R/R-2.4.0.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.4.0.ebuild,v 1.3 2006/10/24 03:24:26 markusle Exp $ - -inherit fortran toolchain-funcs flag-o-matic - -DESCRIPTION="R is GNU S - A 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" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="blas jpeg nls png readline tcltk X lapack" - -RDEPEND=">=dev-lang/perl-5.6.1-r3 - readline? ( >=sys-libs/readline-4.1-r3 ) - jpeg? ( >=media-libs/jpeg-6b-r2 ) - png? ( >=media-libs/libpng-1.2.1 ) - blas? ( virtual/blas ) - lapack? ( virtual/lapack ) - tcltk? ( dev-lang/tk ) - X? ( || ( ( x11-libs/libX11 ) - virtual/x11 ) )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xproto - x11-libs/libXt - x11-libs/libX11 ) - virtual/x11 ) )" - -AT_M4DIR="${S}/m4" - -pkg_setup() { - # Test for a 64 bit architecture - f2c won't work on 64 bit archs with R. - # Thanks to vapier for providing the test. - cd "${T}" - echo 'int main(){}' > test.c - $(tc-getCC) -c test.c -o test.o - if file test.o | grep -qs 64-bit ; then - einfo "64 bit architecture detected, using g77 or gfortran." - FORTRAN="gfortran g77 ifc" - else - FORTRAN="gfortran g77 f2c" - fi - rm -f test.{c,o} - fortran_pkg_setup - - filter-ldflags -Wl,-Bdirect -Bdirect - - # this is needed to properly compile additional R packages - # (see bug #152379) - append-flags -std=gnu99 -} - -src_unpack() { - unpack ${A} - sed -i -e "s:-fpic:-fPIC:g" ${S}/configure - epatch "${FILESDIR}"/${P}-as-needed-gentoo.patch -} - -src_compile() { - local myconf="--enable-R-profiling --enable-R-shlib --enable-linux-lfs" - - if use tcltk; then - #configure needs to find the files tclConfig.sh and tkConfig.sh - myconf="${myconf} --with-tcltk --with-tcl-config=/usr/lib/tclConfig.sh - --with-tk-config=/usr/lib/tkConfig.sh" - else - myconf="${myconf} --without-tcltk" - fi - - econf \ - $(use_enable nls) \ - $(use_with blas) \ - $(use_with lapack) \ - $(use_with jpeg jpeglib) \ - $(use_with png libpng) \ - $(use_with readline) \ - $(use_with X x) \ - ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - rhome=${D}/usr/$(get_libdir)/R \ - install || die "Installation Failed" - - # fix the R wrapper script to have the correct R_HOME_DIR - # sed regexp borrowed from included debian rules - sed \ - -e "/^R_HOME_DIR=.*/s::R_HOME_DIR=/usr/$(get_libdir)/R:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed." - - # The same kinds of seds are needed for these variables too, see bug 115140 - sed \ - -e "/^R_SHARE_DIR=.*/s::R_SHARE_DIR=/usr/$(get_libdir)/R/share:" \ - -e "/^R_INCLUDE_DIR=.*/s::R_INCLUDE_DIR=/usr/$(get_libdir)/R/include:" \ - -e "/^R_DOC_DIR=.*/s::R_DOC_DIR=/usr/$(get_libdir)/R/doc:" \ - -i ${D}/usr/$(get_libdir)/R/bin/R \ - || die "sed failed." - - # R installs two identical wrappers under /usr/bin and /usr/lib/R/bin/ - # the 2nd one is corrected by above sed, the first is replaced by a symlink - cd ${D}/usr/bin/ - rm R - dosym ../$(get_libdir)/R/bin/R /usr/bin/R - dodir /etc/env.d - echo -n \ - "LDPATH=\"/usr/$(get_libdir)/R/lib\"" \ - > ${D}/etc/env.d/99R - cd ${S} - - dodoc AUTHORS BUGS COPYING* ChangeLog FAQ *NEWS README \ - RESOURCES THANKS VERSION Y2K -} diff --git a/dev-lang/R/files/digest-R-2.1.1 b/dev-lang/R/files/digest-R-2.1.1 deleted file mode 100644 index 0a5f7f2a5dbe..000000000000 --- a/dev-lang/R/files/digest-R-2.1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 e755b0ba5851ec261000af6b5c510335 R-2.1.1.tar.gz 12644376 diff --git a/dev-lang/R/files/digest-R-2.2.0-r1 b/dev-lang/R/files/digest-R-2.2.0-r1 deleted file mode 100644 index cb5a88d763e5..000000000000 --- a/dev-lang/R/files/digest-R-2.2.0-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 6bddf439ae417a48bd31892996ea111c R-2.2.0.tar.gz 13307492 diff --git a/dev-lang/R/files/digest-R-2.3.0 b/dev-lang/R/files/digest-R-2.3.0 deleted file mode 100644 index 9791297dc1b5..000000000000 --- a/dev-lang/R/files/digest-R-2.3.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 11cc1e9df640ab52e608cf9e695f7354 R-2.3.0.tar.gz 14251956 -RMD160 87422ce47ae36e33d4ace3a7f0b68c46c2d9128d R-2.3.0.tar.gz 14251956 -SHA256 ed19c04691028bf095056f9bde2957cb8beb95bdccda8c562046a7bb85e40a03 R-2.3.0.tar.gz 14251956 diff --git a/dev-lang/R/files/digest-R-2.3.1 b/dev-lang/R/files/digest-R-2.3.1 deleted file mode 100644 index 08291fafeca4..000000000000 --- a/dev-lang/R/files/digest-R-2.3.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a1d6d8081af4c71006a6e5a3ed54e4da R-2.3.1.tar.gz 14285120 -RMD160 061a77f25d3b1144aecdce479aa707e7bea21a82 R-2.3.1.tar.gz 14285120 -SHA256 1952bcf0d169cfe98aef33015a988f85eda72bf0223cd5833669e197fea2e427 R-2.3.1.tar.gz 14285120 diff --git a/dev-lang/R/files/digest-R-2.4.0 b/dev-lang/R/files/digest-R-2.4.0 deleted file mode 100644 index fe3365c6ec97..000000000000 --- a/dev-lang/R/files/digest-R-2.4.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f32379469d8712e9f5dd6435d30127d3 R-2.4.0.tar.gz 14597440 -RMD160 d4cc3257ab5fc6cfefd79877c64c0dff60ababb7 R-2.4.0.tar.gz 14597440 -SHA256 0a0263acf42230c291ca5cf371541077aae3a1f8a586e1bf336bdb6af76946e2 R-2.4.0.tar.gz 14597440