summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-03-31 18:19:44 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-03-31 18:19:44 +0000
commit07b3054068b82597e7c28dd61b6b896240ec2f69 (patch)
tree8ee23403da4ad882c01f2e79cccd747cd99b44b0 /dev-ruby/rubygems
parent~amd64 added; thanks to Bjoern Mueller for reporting/testing this; ebuild cle... (diff)
downloadgentoo-2-07b3054068b82597e7c28dd61b6b896240ec2f69.tar.gz
gentoo-2-07b3054068b82597e7c28dd61b6b896240ec2f69.tar.bz2
gentoo-2-07b3054068b82597e7c28dd61b6b896240ec2f69.zip
This version runs etc-update and source's /etc/profile after a package remove to make sure the RUBYOPT variable gets cleared if it really needs to be
(Portage version: 2.1_pre7-r2)
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r--dev-ruby/rubygems/ChangeLog9
-rw-r--r--dev-ruby/rubygems/Manifest6
-rw-r--r--dev-ruby/rubygems/files/digest-rubygems-0.8.11-r53
-rw-r--r--dev-ruby/rubygems/rubygems-0.8.11-r5.ebuild47
4 files changed, 64 insertions, 1 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog
index 95a4a83675b8..66e3e4782258 100644
--- a/dev-ruby/rubygems/ChangeLog
+++ b/dev-ruby/rubygems/ChangeLog
@@ -1,6 +1,13 @@
# 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.26 2006/03/29 14:07:54 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.27 2006/03/31 18:19:44 caleb Exp $
+
+*rubygems-0.8.11-r5 (31 Mar 2006)
+
+ 31 Mar 2006; Caleb Tennis <caleb@gentoo.org> +rubygems-0.8.11-r5.ebuild:
+ This version runs etc-update and source's /etc/profile after a package
+ remove to make sure the RUBYOPT variable gets cleared if it really needs to
+ be
29 Mar 2006; Aron Griffis <agriffis@gentoo.org> rubygems-0.8.11-r4.ebuild:
Mark 0.8.11-r4 ~ia64
diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest
index 84a4d2db6df7..43972922dc09 100644
--- a/dev-ruby/rubygems/Manifest
+++ b/dev-ruby/rubygems/Manifest
@@ -19,6 +19,9 @@ SHA256 e671d8919c23100c53c004393e4e030ff284ee0fef8021d6611db28fd8a90da3 files/di
MD5 95aa25de0a921f6dbfb6b6b07989dbe0 files/digest-rubygems-0.8.11-r4 238
RMD160 1474d06b9833aa748f7b9528dd5e9e1722f9a23a files/digest-rubygems-0.8.11-r4 238
SHA256 1f3d69232f590c0ba429e6f95228e13bb0f5d94acfd93ef16c5de0c600ee93d4 files/digest-rubygems-0.8.11-r4 238
+MD5 0e906a2c3de4ace9bd223e521501d86e files/digest-rubygems-0.8.11-r5 238
+RMD160 0924f6a1ce7439f950514224be9a41a421db4221 files/digest-rubygems-0.8.11-r5 238
+SHA256 e671d8919c23100c53c004393e4e030ff284ee0fef8021d6611db28fd8a90da3 files/digest-rubygems-0.8.11-r5 238
MD5 664d3edb96dfbb4c5e2a3f6cbb12d566 files/no_post_install.patch 204
RMD160 e903ea665032f9695b7a05ec4b7b46f1351afcc2 files/no_post_install.patch 204
SHA256 85fb8720c63c3b3ff5257acd7b3be9a370f13364c800189006f7b9d4954ad536 files/no_post_install.patch 204
@@ -34,6 +37,9 @@ SHA256 69b09954a52344b66a7813572a2d94f143cf1e6efa3d061087ed3788987e8793 rubygems
MD5 680b7994ac51ad7e11f4be37cdd90680 rubygems-0.8.11-r4.ebuild 1338
RMD160 288307c060fc4190ec37e8808dcb56a3d92d733a rubygems-0.8.11-r4.ebuild 1338
SHA256 1e4386c1be4cd3dabcee2ef69019c4ea35c6adcb932abf670d19759d5a1ae589 rubygems-0.8.11-r4.ebuild 1338
+MD5 d2e91adb286bbe944b2f17d952b4129a rubygems-0.8.11-r5.ebuild 1487
+RMD160 c9386a5fd479c29e2070e1ee572f3791476cd6a1 rubygems-0.8.11-r5.ebuild 1487
+SHA256 4f681c6e8778f56e31f483e820252ccab8ed496aad278daec1a37ec44ce1b94a rubygems-0.8.11-r5.ebuild 1487
MD5 ed04a907d861cd1bc1ca9aa0835e355d rubygems-0.8.11.ebuild 899
RMD160 c41058590c5b28e351a83bb00e7e952cca30bd86 rubygems-0.8.11.ebuild 899
SHA256 04013266a83dfdbd3a0dc68f4430da1a7a51f4e314dce1b5c8873f504560e36d rubygems-0.8.11.ebuild 899
diff --git a/dev-ruby/rubygems/files/digest-rubygems-0.8.11-r5 b/dev-ruby/rubygems/files/digest-rubygems-0.8.11-r5
new file mode 100644
index 000000000000..337bb332079b
--- /dev/null
+++ b/dev-ruby/rubygems/files/digest-rubygems-0.8.11-r5
@@ -0,0 +1,3 @@
+MD5 aa363b428c4c1fc2e076a4ff77b957d7 rubygems-0.8.11.tgz 160265
+RMD160 381ef7f088b3b439f28797d6d7a3257b3e28d6e4 rubygems-0.8.11.tgz 160265
+SHA256 6ad2b857248aef0e9a5297f708f9988fbade78e16d670109937a73e56fdbae6d rubygems-0.8.11.tgz 160265
diff --git a/dev-ruby/rubygems/rubygems-0.8.11-r5.ebuild b/dev-ruby/rubygems/rubygems-0.8.11-r5.ebuild
new file mode 100644
index 000000000000..d34d44ce2d25
--- /dev/null
+++ b/dev-ruby/rubygems/rubygems-0.8.11-r5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.8.11-r5.ebuild,v 1.1 2006/03/31 18:19:44 caleb 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/5207/${P}.tgz"
+
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc-macos ppc64 ~sparc ~x86"
+SLOT="0"
+IUSE=""
+DEPEND=">=dev-lang/ruby-1.8"
+
+PATCHES="${FILESDIR}/no_post_install.patch"
+USE_RUBY="ruby18"
+
+src_compile() {
+ return
+}
+
+src_install() {
+ 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
+}
+
+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
+}