# ChangeLog for dev-ruby/rubygems
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.51 2007/02/14 16:06:04 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.52 2007/03/31 18:11:00 pclouds Exp $
+
+*rubygems-0.9.2 (31 Mar 2007)
+
+ 31 Mar 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +rubygems-0.9.2.ebuild:
+ Version bump
14 Feb 2007; Bryan Østergaard <kloeri@gentoo.org>
rubygems-0.8.11-r6.ebuild:
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
+DIST rubygems-0.9.2.tgz 197256 RMD160 377695029d862b46dd196ec82a13f1c99fc1a633 SHA1 ed6f48a4116d36f6f4b16fcf024a025037bf1d35 SHA256 2c78ce49761c2d0f3026d3d64197f275e84fc499297f2663bb099c686065ae3a
EBUILD rubygems-0.8.11-r5.ebuild 1636 RMD160 6fe8856d8b36a7c91a97c956b03623bcf4aea94f SHA1 41d7b742767769952d5a09edd102aaa42919fd46 SHA256 17668247f783a5c5b040c4c67a7f116cee10e16ed5a1316af285f6404755fa3f
MD5 898026c79f1836b22abd93cf74396bee rubygems-0.8.11-r5.ebuild 1636
RMD160 6fe8856d8b36a7c91a97c956b03623bcf4aea94f rubygems-0.8.11-r5.ebuild 1636
MD5 7c8d39ac41e3e2cd5414eb16d6e6dacd rubygems-0.9.1.ebuild 2221
RMD160 9fcec048a4b549bc871d391b60cb548405d987e5 rubygems-0.9.1.ebuild 2221
SHA256 a7f204c00141ff581f3c83f88247c56e75b66dbe35ec2dd192ddf86bb529b5e7 rubygems-0.9.1.ebuild 2221
-MISC ChangeLog 8145 RMD160 585df5e36f68d08eea3bfde0cb812c78c36ea03d SHA1 19b09cd1063fa4f718480fb168af63225095ef06 SHA256 1038280bce2bff00d18a4e459338577bfdc083a19ae8d5815f4c4a32e1b3ff77
-MD5 9b03bb04b16d700fab7af3cf0d805fe9 ChangeLog 8145
-RMD160 585df5e36f68d08eea3bfde0cb812c78c36ea03d ChangeLog 8145
-SHA256 1038280bce2bff00d18a4e459338577bfdc083a19ae8d5815f4c4a32e1b3ff77 ChangeLog 8145
+EBUILD rubygems-0.9.2.ebuild 2289 RMD160 f447372312bb67dc343d5fe7ce06a7ab5852b6d9 SHA1 5768400701c230f621982f27da22c4b24e2c3cc9 SHA256 b3b76c42111c7959e09b6763af129ae5a3eedb0add547b9145cd28aa90ce293d
+MD5 1a47c5d8411d4c80bb515485363af177 rubygems-0.9.2.ebuild 2289
+RMD160 f447372312bb67dc343d5fe7ce06a7ab5852b6d9 rubygems-0.9.2.ebuild 2289
+SHA256 b3b76c42111c7959e09b6763af129ae5a3eedb0add547b9145cd28aa90ce293d rubygems-0.9.2.ebuild 2289
+MISC ChangeLog 8281 RMD160 824e4f0f720ae1b9fce054cd71fff974281bdadb SHA1 92624a661681352902db3fcd2c9c543e2a8ee292 SHA256 cfb10b4c33fe21c1f3ceb65a2aa18af7f4b0b696c0b505a289c7a36f038c65a5
+MD5 85d42993f1a512a81964426a45d83a07 ChangeLog 8281
+RMD160 824e4f0f720ae1b9fce054cd71fff974281bdadb ChangeLog 8281
+SHA256 cfb10b4c33fe21c1f3ceb65a2aa18af7f4b0b696c0b505a289c7a36f038c65a5 ChangeLog 8281
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157
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
+MD5 e875afdd00dd7eb758140b9e40a2155f files/digest-rubygems-0.9.2 235
+RMD160 39a2204f2c4bfba7fb2b85b5c71d0aac499a2476 files/digest-rubygems-0.9.2 235
+SHA256 46076d1b78e147359325ed807a193bbcfbb0301730c8a1df1f886c23d4b664a7 files/digest-rubygems-0.9.2 235
--- /dev/null
+MD5 cc525053dd465ab6e33af382166fa808 rubygems-0.9.2.tgz 197256
+RMD160 377695029d862b46dd196ec82a13f1c99fc1a633 rubygems-0.9.2.tgz 197256
+SHA256 2c78ce49761c2d0f3026d3d64197f275e84fc499297f2663bb099c686065ae3a rubygems-0.9.2.tgz 197256
--- /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.2.ebuild,v 1.1 2007/03/31 18:11:00 pclouds Exp $
+
+RUBY_BUG_145222=yes
+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/17190/${P}.tgz"
+
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="doc server examples"
+DEPEND=">=dev-lang/ruby-1.8"
+PDEPEND="server? ( dev-ruby/builder )" # index_gem_repository.rb
+
+PATCHES="${FILESDIR}/${PN}-0.9.1-no_post_install.patch
+ ${FILESDIR}/no-system-rubygems.patch"
+USE_RUBY="ruby18"
+
+src_unpack() {
+ ruby_src_unpack
+ use doc || epatch "${FILESDIR}/${PN}-0.9.1-no_rdoc_install.patch"
+ cd ${S}
+ find -name '.*' -type f -print0|xargs -0 rm
+}
+
+src_compile() {
+ return
+}
+
+src_install() {
+ # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455
+ export RUBYOPT="${GENTOO_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"
+}