summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Brown <rbrown@gentoo.org>2007-05-17 08:54:15 +0000
committerRichard Brown <rbrown@gentoo.org>2007-05-17 08:54:15 +0000
commit86e9e2c9a9682adc24fc8602d27f528b374fae6a (patch)
treeac81d5edcfb64fd021a09459291fb1f49dc10045 /dev-ruby
parentCleaning up $FILESDIR. (diff)
downloadhistorical-86e9e2c9a9682adc24fc8602d27f528b374fae6a.tar.gz
historical-86e9e2c9a9682adc24fc8602d27f528b374fae6a.tar.bz2
historical-86e9e2c9a9682adc24fc8602d27f528b374fae6a.zip
Version bump.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rubygems/ChangeLog7
-rw-r--r--dev-ruby/rubygems/Manifest16
-rw-r--r--dev-ruby/rubygems/files/digest-rubygems-0.9.33
-rw-r--r--dev-ruby/rubygems/rubygems-0.9.3.ebuild83
4 files changed, 104 insertions, 5 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog
index e1f75329c182..3a1aff6bc52c 100644
--- a/dev-ruby/rubygems/ChangeLog
+++ b/dev-ruby/rubygems/ChangeLog
@@ -1,6 +1,11 @@
# 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.54 2007/05/01 17:30:10 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.55 2007/05/17 08:54:15 rbrown Exp $
+
+*rubygems-0.9.3 (17 May 2007)
+
+ 17 May 2007; Richard Brown <rbrown@gentoo.org> +rubygems-0.9.3.ebuild:
+ Version bump.
01 May 2007; Hans de Graaff <graaff@gentoo.org> -rubygems-0.9.1.ebuild:
Remove version that is known to cause problems when upgrading from older
diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest
index 19ab6ee892a9..5937c51c49a3 100644
--- a/dev-ruby/rubygems/Manifest
+++ b/dev-ruby/rubygems/Manifest
@@ -41,6 +41,7 @@ SHA256 2bd1d7637843b66148f50a8bb9b2c6ea55c6f19a7d25413bc978f3aac18ebcba files/ru
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.2.tgz 197256 RMD160 377695029d862b46dd196ec82a13f1c99fc1a633 SHA1 ed6f48a4116d36f6f4b16fcf024a025037bf1d35 SHA256 2c78ce49761c2d0f3026d3d64197f275e84fc499297f2663bb099c686065ae3a
+DIST rubygems-0.9.3.tgz 198398 RMD160 407cf922291a4a08a383b41cc7077e53f738eae9 SHA1 ec4d612c0b2c3e98428e2741ac7adbc54ccb8f51 SHA256 f15455601217de45932550933747222944bf6947e096be74113216301d510689
EBUILD rubygems-0.8.11-r6.ebuild 1685 RMD160 a1b4e77352e85a67be4048184e1964b449591d7a SHA1 33e4004c6998074fb308e0612d47f27301c667d0 SHA256 90fd666acb7c4d85fcce335bb42ac340c9fbd4c9a9e3180817fceda8ca2a8e7b
MD5 58c73a4b5c8b07bdece4f5e9f00ab186 rubygems-0.8.11-r6.ebuild 1685
RMD160 a1b4e77352e85a67be4048184e1964b449591d7a rubygems-0.8.11-r6.ebuild 1685
@@ -53,10 +54,14 @@ EBUILD rubygems-0.9.2.ebuild 2289 RMD160 f447372312bb67dc343d5fe7ce06a7ab5852b6d
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 8581 RMD160 7f976c142a325e8cea5b98a42bacc71ffa73d23f SHA1 dd24b719d907076620e4f12bc19709c19eaea5c1 SHA256 14b04ec4555c59f8265f3a226c540996664145052243b55a436dec265c46ded1
-MD5 1fafff3278479174b6b195ba6101c7f2 ChangeLog 8581
-RMD160 7f976c142a325e8cea5b98a42bacc71ffa73d23f ChangeLog 8581
-SHA256 14b04ec4555c59f8265f3a226c540996664145052243b55a436dec265c46ded1 ChangeLog 8581
+EBUILD rubygems-0.9.3.ebuild 2750 RMD160 4fcca58dbc1d3f2d2fe4ed887f791acfff9e09d1 SHA1 18eb1a166af0ad008508141811a30de65cd43b91 SHA256 87bfe62bd85798e7e83757add9e4566f1fd1c2ee6da3b188958ca251afff4d69
+MD5 52f34158c613875f33bc1cf48f7988e5 rubygems-0.9.3.ebuild 2750
+RMD160 4fcca58dbc1d3f2d2fe4ed887f791acfff9e09d1 rubygems-0.9.3.ebuild 2750
+SHA256 87bfe62bd85798e7e83757add9e4566f1fd1c2ee6da3b188958ca251afff4d69 rubygems-0.9.3.ebuild 2750
+MISC ChangeLog 8702 RMD160 0098761a1d17e3ad72b5b403f945b7070697a1de SHA1 b7877cbac023fde49357abef6b9fcc0054114beb SHA256 7cae90b840852fa4f30fb69707fe9f291c039df59c265e4579eac9618b89c5f1
+MD5 b5d3a0926cc7d31c5e9613eeae2d3e38 ChangeLog 8702
+RMD160 0098761a1d17e3ad72b5b403f945b7070697a1de ChangeLog 8702
+SHA256 7cae90b840852fa4f30fb69707fe9f291c039df59c265e4579eac9618b89c5f1 ChangeLog 8702
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157
@@ -70,3 +75,6 @@ SHA256 70a1185b3b03d3e319df2082ac691e533568859a4f8ee26de4898a35806aa378 files/di
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
+MD5 abea6bceaf48e9918404fd51c01e827c files/digest-rubygems-0.9.3 235
+RMD160 20dddfdd11f1833d3e2237c67e2e822f4f01cfa9 files/digest-rubygems-0.9.3 235
+SHA256 b1e3ad8f8b8a38cf4b27ce052741af2b5107b4da405549878a2b7a6a3c6d5f79 files/digest-rubygems-0.9.3 235
diff --git a/dev-ruby/rubygems/files/digest-rubygems-0.9.3 b/dev-ruby/rubygems/files/digest-rubygems-0.9.3
new file mode 100644
index 000000000000..93d8cf65c37b
--- /dev/null
+++ b/dev-ruby/rubygems/files/digest-rubygems-0.9.3
@@ -0,0 +1,3 @@
+MD5 600940a22ecd79e28e0fd37ad1f1d871 rubygems-0.9.3.tgz 198398
+RMD160 407cf922291a4a08a383b41cc7077e53f738eae9 rubygems-0.9.3.tgz 198398
+SHA256 f15455601217de45932550933747222944bf6947e096be74113216301d510689 rubygems-0.9.3.tgz 198398
diff --git a/dev-ruby/rubygems/rubygems-0.9.3.ebuild b/dev-ruby/rubygems/rubygems-0.9.3.ebuild
new file mode 100644
index 000000000000..a7e01774245d
--- /dev/null
+++ b/dev-ruby/rubygems/rubygems-0.9.3.ebuild
@@ -0,0 +1,83 @@
+# 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.3.ebuild,v 1.1 2007/05/17 08:54:15 rbrown Exp $
+
+inherit ruby
+
+DESCRIPTION="Centralized Ruby extension management system"
+HOMEPAGE="http://rubyforge.org/projects/rubygems/"
+LICENSE="Ruby"
+
+# Needs to be installed first
+RESTRICT="test"
+
+# 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/20585/${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"
+
+ # Delete mis-packaged . files
+ cd ${S}
+ find -name '.*' -type f -print0|xargs -0 rm
+}
+
+src_compile() {
+ ${RUBY} setup.rb config --libruby="/usr/$(get_libdir)/ruby" || die "setup.rb config failed"
+ ${RUBY} setup.rb setup || die "setup.rb setup failed"
+}
+
+src_test() {
+ # Currently RESTRICTed because rubygems needs to be installed
+ # When I work out how to get around that I'll remove the RETRICT
+
+ #for i in test/{test,functional}*.rb; do
+ # ruby -I pkgs/sources/lib/ -I lib ${i} # || die "$i failed"
+ #done
+ ruby setup.rb test || die "test failed"
+}
+
+src_install() {
+ # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455
+ export RUBYOPT="${GENTOO_RUBYOPT}"
+
+ # Fix GEM_HOME to install sources.gem
+ ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
+ export GEM_HOME="${D}usr/$(get_libdir)/ruby/gems/${ver}"
+
+ ${RUBY} setup.rb install --prefix=${D} || die "setup.rb install failed"
+ erubydoc
+ cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')
+ keepdir /usr/$(get_libdir)/ruby/gems/$ver/doc
+ doenvd "${FILESDIR}/10rubygems"
+}
+
+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."
+ ewarn "Please use ruby-config to revert back to ruby18."
+}
+
+pkg_postrm()
+{
+ ewarn "If you have uninstalled dev-ruby/rubygems. Ruby applications are unlikely"
+ ewarn "to run in current shells because of missing auto_gem."
+ ewarn "Please run \"unset RUBYOPT\" in your shells before using ruby"
+ ewarn "or start new shells"
+ ewarn
+ ewarn "If you have not unstinalled dev-ruby/rubygems, please do not unset "
+ ewarn "RUBYOPT"
+}