summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-07-04 15:45:01 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-07-04 15:45:01 +0000
commit37cb46dd37bdf69e7728449fa2a1a2fb7096a2ff (patch)
tree84c6869b2711ff7f3d4cd5e35e2c4ad1d2d25a07
parentUnmask kde sc 4.4.5. Passes every test i could think of. (diff)
downloadhistorical-37cb46dd37bdf69e7728449fa2a1a2fb7096a2ff.tar.gz
historical-37cb46dd37bdf69e7728449fa2a1a2fb7096a2ff.tar.bz2
historical-37cb46dd37bdf69e7728449fa2a1a2fb7096a2ff.zip
Version bump to new 1.9.1 release.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
-rw-r--r--dev-lang/ruby/ChangeLog8
-rw-r--r--dev-lang/ruby/Manifest11
-rw-r--r--dev-lang/ruby/ruby-1.9.1_p429.ebuild191
3 files changed, 205 insertions, 5 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog
index 0fa7e2121b6d..b62c0b19f642 100644
--- a/dev-lang/ruby/ChangeLog
+++ b/dev-lang/ruby/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/ruby
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.453 2010/06/23 22:40:52 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.454 2010/07/04 15:45:01 flameeyes Exp $
+
+*ruby-1.9.1_p429 (04 Jul 2010)
+
+ 04 Jul 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +ruby-1.9.1_p429.ebuild:
+ Version bump to new 1.9.1 release.
*ruby-1.8.7_p299 (23 Jun 2010)
diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest
index d175ba09cb6e..7db8a9e19caf 100644
--- a/dev-lang/ruby/Manifest
+++ b/dev-lang/ruby/Manifest
@@ -5,6 +5,7 @@ DIST ruby-1.8.6-p388.tar.bz2 3973412 RMD160 9f451182ef4fb485109d96953e6af388151c
DIST ruby-1.8.7-p249.tar.bz2 4153461 RMD160 96b238bd7194652ec194a505c2e5911441c5c5ee SHA1 2947f21f22e9345a3e94d84e6f88e7d0fc98a871 SHA256 8b89448fc79df6862660e9f77e884f06c76da28f078d8edd2f17567a615f3af5
DIST ruby-1.8.7-p299.tar.bz2 4183359 RMD160 0ea4a05f439b6a2cf4bf53339df48aed329f9e43 SHA1 9c66c6ee21d427b5f3183b6c42beb02aa8618cef SHA256 3d8a1e4204f1fb69c9e9ffd637c7f7661a062fc2246c559f25fda5312cfd65d8
DIST ruby-1.9.1-p376.tar.bz2 7293106 RMD160 0aa585333d337c030c93a8b405e46d990514709d SHA1 878e18719099b742c9353e0fe054a9d602568d2e SHA256 79164e647e23bb7c705195e0075ce6020c30dd5ec4f8c8a12a100fe0eb0d6783
+DIST ruby-1.9.1-p429.tar.bz2 7300923 RMD160 e60bf27b7b7aca60f469f486bf17f0b7a45b2ec4 SHA1 66091777a43939b888fabafddeb659fe5ba0de0d SHA256 e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb
DIST ruby-patches-1.8.6_p388-r1.tar.bz2 5085 RMD160 bfe19c6c9920181f1957971ea7ec8d6c62a03bf4 SHA1 5ad1ddfcb019b8cf6d46ae39ab4bcbef78737be0 SHA256 f922577613ea96fd51d5656d4ecedf46a09a835e834256a1b3272c68b83c4047
DIST ruby-patches-1.8.6_p388.tar.bz2 3137 RMD160 6c9b3099687aef29bf9881f11c2915fbd0ba8196 SHA1 7222102440156b9fd0b461bd23828301aa62a5ad SHA256 93053c8fe2e9fcf9fba714780466678c78b42be59547f76055ffea53aef4c4e5
DIST ruby-patches-1.8.7_p249-r1.tar.bz2 3186 RMD160 94ec3d9cb38cd20f7431e796da0d6ef3cef72483 SHA1 51faacfe56ca16408d99a645627f64b819cc73f7 SHA256 24658d909a86ffb986703dfea26be2a5a18715d1a8a36a1a106aae03d59c5594
@@ -12,6 +13,7 @@ DIST ruby-patches-1.8.7_p249-r2.tar.bz2 3598 RMD160 6351f14327273702837626c4ad0c
DIST ruby-patches-1.8.7_p249.tar.bz2 1499 RMD160 98670658db00a1c4ad563e68bf25263fd7f317fd SHA1 d371f7f25a75ac8626e2e87a570bb52a60579fb8 SHA256 b35ba05fb07c0264a9232e756cd80ff7f284fb8aa464368ce028d67fa11f31af
DIST ruby-patches-1.8.7_p299.tar.bz2 1781 RMD160 edf80f6ea3809b3a9f2e697b8f78baeb5df2e346 SHA1 29743874ace02f75dc4e1fcf4516cfac589748b3 SHA256 83931a1d9d59a307cf5b173e7b4235a8606f61c86636e6e489f4da15bde8110d
DIST ruby-patches-1.9.1_p376.tar.bz2 2091 RMD160 b3a899bb98481081ff2de01c5c9e89549b28ebc8 SHA1 cea557a7732b3bc7c8140c3405dd193eb1c10714 SHA256 c2de7c1c0efb7e4f22d1a771931c886e8e76011cc02aab82652b6f71f4b613c6
+DIST ruby-patches-1.9.1_p429.tar.bz2 177 RMD160 93459a6b19046e079fd03051ed47e722a31b0b08 SHA1 d8e015f6f2e319f100fd7efd7185159f9280153b SHA256 d690ee37dc49aa37cb45ee48503c34b82a4b6a25acd0dc2879c14653def13608
EBUILD ruby-1.8.6_p388-r1.ebuild 5413 RMD160 c880ceb23dc375129909c2a7e578ad00026bdf9c SHA1 b51021864f4d758425d020ffd45fc3fbce6c6da0 SHA256 41ceb77309098a910cd7b300b774a830616471790835ca8689c8df0cdf5f9999
EBUILD ruby-1.8.6_p388.ebuild 5329 RMD160 91d80731628a54a76254540a816b7be7cb22e91e SHA1 2bfe49e18e9c39cd2fcc79dd6aadbc678073c8b5 SHA256 92c012a949f9d274754f22d0fb80e35f0c22559b2cad2ce5d7c79ab64fa8bce7
EBUILD ruby-1.8.7_p249-r1.ebuild 5358 RMD160 7f1cab9efc8ef9a41c5c5645462358fa00c8acf4 SHA1 ba9ec839d4e42e8960f5739e5efd0c78d5987816 SHA256 9c328f8d00228d982c7b0b9294fe646f7fdfcf711a75e74a2ba316149afbc53a
@@ -19,12 +21,13 @@ EBUILD ruby-1.8.7_p249-r2.ebuild 5425 RMD160 2fd170901307ea09e54a78c8a5ea39cb5f2
EBUILD ruby-1.8.7_p249.ebuild 5344 RMD160 1c78a00aceb9f3ddeb6c18f4c45d289bc507b370 SHA1 34808e3e70b3c0c20f87f991ebdd9d51dd98b848 SHA256 3d2a1eb8198d65adad424198f35e42679408ffb44e5e9c281f98ee9a45c970eb
EBUILD ruby-1.8.7_p299.ebuild 5427 RMD160 ea91ad2c6b378fe391d74040d6a858f2b82b853f SHA1 4d5eb522d4efd6dfaad65590199aad8e051fd8e7 SHA256 1db8b54e29bc947138d5584a56444baa0b7dc0f1960e7bb35ed0c8722b2dff7f
EBUILD ruby-1.9.1_p376.ebuild 5454 RMD160 41bcaaed330a43638bfdf0be15e593f7d045d711 SHA1 f914b942fb9aab1fa455a44f6c1c853ddd508472 SHA256 ef522d7ead2c133848f9dda5ef87d9815b51a02079e4ceeffc776b8411cc8df7
-MISC ChangeLog 70096 RMD160 63eba924ee927cd82eb6fd070348fa3fabc4ab31 SHA1 41cafa59556057bd757c2c0a091051f07de4f5ef SHA256 3f1896222fec286ae491c67de311295ed17de23b18e4fa0ede40e57c8e637961
+EBUILD ruby-1.9.1_p429.ebuild 5453 RMD160 16869eaca27fe73a6d47d42063172400490f36c5 SHA1 d5db5d98fe11197bc44185d611d10f03078f6f71 SHA256 bc6d7a78a7441941402e486a229006152d0f81a8f2688d0a6ac8a4e00c36b842
+MISC ChangeLog 70249 RMD160 6c812abfc59256a1a295c9d699d6b5617ce9f945 SHA1 c130d04ed25012f87f3d81134b9aa58d8041f023 SHA256 04c2c95444ebdd51901926e520ce8268acb60bc07935deb0cfd0da9c22d72d51
MISC metadata.xml 1081 RMD160 77ebe9b23b118075684351f9c6443aaa81fab263 SHA1 d3d03be57aab9b84a4712b51a69eff47bc47124d SHA256 428eb9a33cba960d1d03ba6c9b4566b99f0ff8171d5d16873b600bb75837745d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkwijKgACgkQAiZjviIA2XgL/gCdE9HvWp4sLtn3Qsns+A2nOySr
-K+kAni1un6whLCH0qJ8JYD8dOqLAobYB
-=LnBE
+iEYEARECAAYFAkwwrKEACgkQAiZjviIA2XhzogCeIJxENem2xq5MxAAW4eM37tmC
+yMIAnRK2FU1Vxd1GXhQJO9ZWBzAUIzD2
+=DdHo
-----END PGP SIGNATURE-----
diff --git a/dev-lang/ruby/ruby-1.9.1_p429.ebuild b/dev-lang/ruby/ruby-1.9.1_p429.ebuild
new file mode 100644
index 000000000000..a1b3a77523bb
--- /dev/null
+++ b/dev-lang/ruby/ruby-1.9.1_p429.ebuild
@@ -0,0 +1,191 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.1_p429.ebuild,v 1.1 2010/07/04 15:45:01 flameeyes Exp $
+
+EAPI=2
+
+inherit autotools eutils flag-o-matic multilib versionator
+
+MY_P="${PN}-$(replace_version_separator 3 '-')"
+S=${WORKDIR}/${MY_P}
+
+SLOT=$(get_version_component_range 1-2)
+MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
+# 1.8 and 1.9 series disagree on this
+RUBYVERSION=$(get_version_component_range 1-3)
+
+DESCRIPTION="An object-oriented scripting language"
+HOMEPAGE="http://www.ruby-lang.org/"
+SRC_URI="mirror://ruby/${MY_P}.tar.bz2
+ http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PVR}.tar.bz2"
+
+LICENSE="|| ( Ruby GPL-2 )"
+KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd"
+IUSE="berkdb debug doc examples gdbm ipv6 rubytests socks5 ssl tk xemacs ncurses +readline libedit"
+
+RDEPEND="
+ berkdb? ( sys-libs/db )
+ gdbm? ( sys-libs/gdbm )
+ ssl? ( dev-libs/openssl )
+ socks5? ( >=net-proxy/dante-1.1.13 )
+ tk? ( dev-lang/tk[threads] )
+ ncurses? ( sys-libs/ncurses )
+ libedit? ( dev-libs/libedit )
+ !libedit? ( readline? ( sys-libs/readline ) )
+ sys-libs/zlib
+ >=app-admin/eselect-ruby-20100402
+ !=dev-lang/ruby-cvs-${SLOT}*
+ !<dev-ruby/rdoc-2
+ !dev-ruby/rexml"
+DEPEND="${RDEPEND}"
+PDEPEND="xemacs? ( app-xemacs/ruby-modes )"
+
+PROVIDE="virtual/ruby"
+
+src_prepare() {
+ EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
+ epatch "${WORKDIR}/patches"
+
+ einfo "Removing rake and rubygems..."
+ # Strip rake and rubygems
+ rm -rf bin/rake lib/rake.rb lib/rake || die "rm rake failed"
+ rm -rf bin/gem || die "rm gem failed"
+
+ # Fix a hardcoded lib path in configure script
+ sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
+ configure.in || die "sed failed"
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=
+
+ # -fomit-frame-pointer makes ruby segfault, see bug #150413.
+ filter-flags -fomit-frame-pointer
+ # In many places aliasing rules are broken; play it safe
+ # as it's risky with newer compilers to leave it as it is.
+ append-flags -fno-strict-aliasing
+
+ # Socks support via dante
+ if use socks5 ; then
+ # Socks support can't be disabled as long as SOCKS_SERVER is
+ # set and socks library is present, so need to unset
+ # SOCKS_SERVER in that case.
+ unset SOCKS_SERVER
+ fi
+
+ # Increase GC_MALLOC_LIMIT if set (default is 8000000)
+ if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
+ append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
+ fi
+
+ # ipv6 hack, bug 168939. Needs --enable-ipv6.
+ use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
+
+ if use libedit; then
+ einfo "Using libedit to provide readline extension"
+ myconf="${myconf} --enable-libedit --with-readline"
+ elif use readline; then
+ einfo "Using readline to provide readline extension"
+ myconf="${myconf} --with-readline"
+ else
+ myconf="${myconf} --without-readline"
+ fi
+
+ econf \
+ --program-suffix="${MY_SUFFIX}" \
+ --enable-shared \
+ --enable-pthread \
+ $(use_enable socks5 socks) \
+ $(use_enable doc install-doc) \
+ --enable-ipv6 \
+ $(use_enable debug) \
+ $(use_with berkdb dbm) \
+ $(use_with gdbm) \
+ $(use_with ssl openssl) \
+ $(use_with tk) \
+ $(use_with ncurses curses) \
+ ${myconf} \
+ --enable-option-checking=no \
+ || die "econf failed"
+}
+
+src_compile() {
+ emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_test() {
+ emake -j1 test || die "make test failed"
+
+ elog "Ruby's make test has been run. Ruby also ships with a make check"
+ elog "that cannot be run until after ruby has been installed."
+ elog
+ if use rubytests; then
+ elog "You have enabled rubytests, so they will be installed to"
+ elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
+ elog "than root, and you must place them into a writeable directory."
+ elog "Then call: "
+ elog
+ elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
+ else
+ elog "Enable the rubytests USE flag to install the make check tests"
+ fi
+}
+
+src_install() {
+ # Ruby is involved in the install process, we don't want interference here.
+ unset RUBYOPT
+
+ local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
+
+ LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
+ RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby19/${RUBYVERSION}"
+ for d in $(find "${S}/ext" -type d) ; do
+ RUBYLIB="${RUBYLIB}:$d"
+ done
+ export LD_LIBRARY_PATH RUBYLIB
+
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
+ keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")
+
+ if use doc; then
+ make DESTDIR="${D}" install-doc || die "make install-doc failed"
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r sample
+ fi
+
+ dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
+ "/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
+ dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
+ "/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
+
+ dodoc ChangeLog NEWS doc/NEWS-1.8.7 README* ToDo || die
+
+ if use rubytests; then
+ pushd test
+ insinto /usr/share/${PN}-${SLOT}
+ doins -r .
+ popd
+ fi
+}
+
+pkg_postinst() {
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ eselect ruby set ruby${MY_SUFFIX}
+ fi
+
+ elog
+ elog "To switch between available Ruby profiles, execute as root:"
+ elog "\teselect ruby set ruby(18|19|...)"
+ elog
+}
+
+pkg_postrm() {
+ eselect ruby cleanup
+}