# ChangeLog for dev-ruby/rubygems
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.39 2006/12/23 01:27:10 pclouds Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.40 2007/01/17 14:01:13 pclouds Exp $
+
+*rubygems-0.9.1 (17 Jan 2007)
+
+ 17 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/rubygems-0.9.1-no_post_install.patch,
+ +files/rubygems-0.9.1-no_rdoc_install.patch, +rubygems-0.9.1.ebuild:
+ Version bump
23 Dec 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
rubygems-0.9.0-r2.ebuild, rubygems-0.8.11-r5.ebuild:
MD5 5c408f7d3a5c5db9d8f9f4ce61afd128 files/rubygems-0.9.0-build-from-yaml.patch 593
RMD160 92fb50e21d2d6e7f022f9d1863228858c3f8c826 files/rubygems-0.9.0-build-from-yaml.patch 593
SHA256 e698e51d2969f34614c0d8a38869083eb28a6aff6b087e4887472127b4864091 files/rubygems-0.9.0-build-from-yaml.patch 593
+AUX rubygems-0.9.1-no_post_install.patch 317 RMD160 5fc0efc85cacfca6a6f4f59e0d6c7c1159c0ce1a SHA1 06141b0b5b9a2b7ec51befe0b118f53b230eb5f0 SHA256 c0cad34d968f6082f637c9144fc6075a6da383d7c2828a96574e5622d6619ee6
+MD5 907f189b94308bf56aea5951c081feef files/rubygems-0.9.1-no_post_install.patch 317
+RMD160 5fc0efc85cacfca6a6f4f59e0d6c7c1159c0ce1a files/rubygems-0.9.1-no_post_install.patch 317
+SHA256 c0cad34d968f6082f637c9144fc6075a6da383d7c2828a96574e5622d6619ee6 files/rubygems-0.9.1-no_post_install.patch 317
+AUX rubygems-0.9.1-no_rdoc_install.patch 327 RMD160 088ebdd6ff4a5df74f1e741eab56cea61f90bad8 SHA1 c000e3575accede2220acec7e312821841f66d3b SHA256 2bd1d7637843b66148f50a8bb9b2c6ea55c6f19a7d25413bc978f3aac18ebcba
+MD5 903be806d476df9c477c877d2b40e099 files/rubygems-0.9.1-no_rdoc_install.patch 327
+RMD160 088ebdd6ff4a5df74f1e741eab56cea61f90bad8 files/rubygems-0.9.1-no_rdoc_install.patch 327
+SHA256 2bd1d7637843b66148f50a8bb9b2c6ea55c6f19a7d25413bc978f3aac18ebcba files/rubygems-0.9.1-no_rdoc_install.patch 327
DIST rubygems-0.8.11.tgz 160265 RMD160 381ef7f088b3b439f28797d6d7a3257b3e28d6e4 SHA1 6a7d047349a073f24621e589f50a6a6548f943be SHA256 6ad2b857248aef0e9a5297f708f9988fbade78e16d670109937a73e56fdbae6d
DIST rubygems-0.9.0.tgz 174321 RMD160 7d2a4ec1a615f608e75c68ee346d957efbb34ed1 SHA1 90d2193e9bb91dbbfbb81ce749abcd827e3b6b53 SHA256 6e90baff5ec951939ffcec569b9e1829e46da56cd320b1de1c8e2f5be828fef0
+DIST rubygems-0.9.1.tgz 190688 RMD160 49bbe6d686b7183784cb4e5f351933e9a68911e0 SHA1 b6ee8c4266d023dcf28a2ad9cd97f513d59cc280 SHA256 960c858e5fbea2d52f913349103e827398e71fdb76f05820927acd48e41f71aa
EBUILD rubygems-0.8.11-r5.ebuild 1592 RMD160 11be58813dcfece133d7ece7edad84bf4dcf97bd SHA1 b741fd25a6445cb9a7ac1b2578c16f17dcd940ba SHA256 7cce208d2cabd5ef1b67ad54180fe3b97147edc2349678bbfefa180238857a97
MD5 59a72f0032391bcefac7450cc1653069 rubygems-0.8.11-r5.ebuild 1592
RMD160 11be58813dcfece133d7ece7edad84bf4dcf97bd rubygems-0.8.11-r5.ebuild 1592
MD5 8ece8145793c0f44d3ed9d582a103dd0 rubygems-0.9.0.ebuild 1507
RMD160 752f72b8c2d186c3f7a5fe21b410f96728d914c1 rubygems-0.9.0.ebuild 1507
SHA256 37dabd14849905a252fb01cba43bb91dcad64e539dba0e5176a9785f2e13a9a3 rubygems-0.9.0.ebuild 1507
-MISC ChangeLog 5993 RMD160 106221aa298fac5e67abffac0428f9a617358979 SHA1 b968d664e5a632fb6764134c87728e51ec9428cc SHA256 4a4405047850f4a94db5e85191e494516b2d38ef0e141ef0d9367fd8fcce24e3
-MD5 fe595f70319b49f46f13150aca6a5986 ChangeLog 5993
-RMD160 106221aa298fac5e67abffac0428f9a617358979 ChangeLog 5993
-SHA256 4a4405047850f4a94db5e85191e494516b2d38ef0e141ef0d9367fd8fcce24e3 ChangeLog 5993
+EBUILD rubygems-0.9.1.ebuild 2144 RMD160 56ff87713b22d4c840faaa647decee5a0634c8cf SHA1 8aaf601cb7c712b3215546cf172bf8933e549f0e SHA256 397f499665d90410342c9fb12a95124cdeb9f67e057d5fc55aa823dabf13d789
+MD5 9ac548d5167cfe04512f5ceb2cd19ffb rubygems-0.9.1.ebuild 2144
+RMD160 56ff87713b22d4c840faaa647decee5a0634c8cf rubygems-0.9.1.ebuild 2144
+SHA256 397f499665d90410342c9fb12a95124cdeb9f67e057d5fc55aa823dabf13d789 rubygems-0.9.1.ebuild 2144
+MISC ChangeLog 6220 RMD160 6045958b555c9792b63a14e6657be1a275064f7a SHA1 5885815da9d7112de5349813c18884b11e12710f SHA256 5d688ae47534dc85e6dd5dc339905803e42c293436d21dee453f6a461d39b28c
+MD5 e5558b46a7b11c7510799003aaea5089 ChangeLog 6220
+RMD160 6045958b555c9792b63a14e6657be1a275064f7a ChangeLog 6220
+SHA256 5d688ae47534dc85e6dd5dc339905803e42c293436d21dee453f6a461d39b28c ChangeLog 6220
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157
MD5 4c7cb65883b2c77de5ec840e74eca652 files/digest-rubygems-0.9.0-r2 235
RMD160 14cda89d31f6391477c71b22c23c9a4ade30e301 files/digest-rubygems-0.9.0-r2 235
SHA256 70a1185b3b03d3e319df2082ac691e533568859a4f8ee26de4898a35806aa378 files/digest-rubygems-0.9.0-r2 235
+MD5 6ae1910fd5a8fc5af6c30a47059f9780 files/digest-rubygems-0.9.1 235
+RMD160 c0f1349b76685167810b935ed185801f28d08c0b files/digest-rubygems-0.9.1 235
+SHA256 532afaa8ea14c95d7832b656d88aeb1d959c6ffd2d9b1cbaf392c1f8f40b6c21 files/digest-rubygems-0.9.1 235
--- /dev/null
+MD5 a62314cdb174ccc88a27b8924fa79e4a rubygems-0.9.1.tgz 190688
+RMD160 49bbe6d686b7183784cb4e5f351933e9a68911e0 rubygems-0.9.1.tgz 190688
+SHA256 960c858e5fbea2d52f913349103e827398e71fdb76f05820927acd48e41f71aa rubygems-0.9.1.tgz 190688
--- /dev/null
+diff -ur rubygems-0.9.1/post-install.rb rubygems-0.9.1.new/post-install.rb
+--- rubygems-0.9.1/post-install.rb 2007-01-16 07:31:27.000000000 +0700
++++ rubygems-0.9.1.new/post-install.rb 2007-01-17 20:05:04.000000000 +0700
+@@ -117,5 +117,4 @@
+ remove_old_rdoc
+ install_rdoc
+ install_windows_batch_files
+-remove_stubs
+
--- /dev/null
+diff -ur rubygems-0.9.1/post-install.rb rubygems-0.9.1.new/post-install.rb
+--- rubygems-0.9.1/post-install.rb 2007-01-17 20:18:48.000000000 +0700
++++ rubygems-0.9.1.new/post-install.rb 2007-01-17 20:18:24.000000000 +0700
+@@ -114,7 +114,5 @@
+ end
+
+ install_sources
+-remove_old_rdoc
+-install_rdoc
+ install_windows_batch_files
+
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.9.1.ebuild,v 1.1 2007/01/17 14:01:13 pclouds Exp $
+
+inherit ruby
+
+DESCRIPTION="Centralized Ruby extension management system"
+HOMEPAGE="http://rubyforge.org/projects/rubygems/"
+LICENSE="Ruby"
+
+# The URL depends implicitly on the version, unfortunately. Even if you
+# change the filename on the end, it still downloads the same file.
+SRC_URI="http://rubyforge.org/frs/download.php/16452/${P}.tgz"
+
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="doc server"
+DEPEND=">=dev-lang/ruby-1.8"
+PDEPEND="server? ( dev-ruby/builder )" # index_gem_repository.rb
+
+PATCHES="${FILESDIR}/${P}-no_post_install.patch"
+USE_RUBY="ruby18"
+
+src_unpack() {
+ ruby_src_unpack
+ use doc || epatch "${FILESDIR}/${P}-no_rdoc_install.patch"
+}
+
+src_compile() {
+ return
+}
+
+src_install() {
+ # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455
+ unset RUBYOPT
+ ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]')
+ GEM_HOME=${D}usr/lib/ruby/gems/$ver ruby_src_install
+ cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')
+ keepdir /usr/lib/ruby/gems/$ver/doc
+ doenvd "${FILESDIR}/10rubygems"
+}
+
+src_test() {
+ #rake test || die "test failed"
+ for i in test/{test,functional}*.rb; do
+ ruby ${i} || die "$i failed"
+ done
+}
+
+pkg_postinst()
+{
+ ewarn "If you have previously switched to using ruby18_with_gems using ruby-config, this"
+ ewarn "package has removed that file and makes it unnecessary anymore. Please use ruby-config"
+ ewarn "to revert back to ruby18."
+}
+
+pkg_postrm()
+{
+ # If we potentially downgraded, then getting rid of RUBYOPT from env.d is probably a smart idea.
+ env-update
+ source /etc/profile
+ ewarn "You have removed dev-ruby/rubygems. Ruby applications are unlikely"
+ ewarn "to run in current shells because of missing auto_gem."
+ ewarn "Please source /etc/profile in your shells before using ruby"
+ ewarn "or start new shells"
+}