diff options
author | Caleb Tennis <caleb@gentoo.org> | 2005-10-20 15:52:24 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2005-10-20 15:52:24 +0000 |
commit | f2530709015e7ad39a97eb603c19eb70c0a20817 (patch) | |
tree | a09936e18a8c5bab1cf2bbc5d49ceaf9b7b60a6a /dev-ruby/rubygems | |
parent | mask nx-1.5 for testing (diff) | |
download | gentoo-2-f2530709015e7ad39a97eb603c19eb70c0a20817.tar.gz gentoo-2-f2530709015e7ad39a97eb603c19eb70c0a20817.tar.bz2 gentoo-2-f2530709015e7ad39a97eb603c19eb70c0a20817.zip |
Don't do the stub removal check in the post-install. Also, install 10rubygems environment file which contains RUBYOPT='-rubygems' so that s are automagically found
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r-- | dev-ruby/rubygems/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/rubygems/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/rubygems/files/10rubygems | 1 | ||||
-rw-r--r-- | dev-ruby/rubygems/files/digest-rubygems-0.8.11-r1 | 1 | ||||
-rw-r--r-- | dev-ruby/rubygems/files/no_post_install.patch | 9 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-0.8.11-r1.ebuild | 30 |
6 files changed, 54 insertions, 1 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog index 76285877e375..899417020882 100644 --- a/dev-ruby/rubygems/ChangeLog +++ b/dev-ruby/rubygems/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-ruby/rubygems # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.17 2005/10/12 19:29:03 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.18 2005/10/20 15:52:24 caleb Exp $ + +*rubygems-0.8.11-r1 (20 Oct 2005) + + 20 Oct 2005; Caleb Tennis <caleb@gentoo.org> +files/10rubygems, + +files/no_post_install.patch, +rubygems-0.8.11-r1.ebuild: + Don't do the stub removal check in the post-install. Also, install + 10rubygems environment file which contains RUBYOPT='-rubygems' so that gems + are automagically found 12 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> rubygems-0.8.11.ebuild: diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index 30adc9bb3b64..f7e0adabc84d 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -1,6 +1,10 @@ MD5 aa24ae1f215764050a36b14daa2fc9a1 ChangeLog 2371 +MD5 66514ac9a1c12f38108043106e4603e6 files/10rubygems 20 MD5 8bbad53ea0e9bb1a53892ef892176238 files/digest-rubygems-0.8.10 64 MD5 c4cfa55864944c9d028da394e1565262 files/digest-rubygems-0.8.11 64 +MD5 c4cfa55864944c9d028da394e1565262 files/digest-rubygems-0.8.11-r1 64 +MD5 664d3edb96dfbb4c5e2a3f6cbb12d566 files/no_post_install.patch 204 MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157 MD5 be4b9fbb36f41acbaccc1e403faaa500 rubygems-0.8.10.ebuild 902 +MD5 1ffafc8205887893fcb4b9fdde5c94c7 rubygems-0.8.11-r1.ebuild 966 MD5 56892252a0284bbb38aef0017a852159 rubygems-0.8.11.ebuild 901 diff --git a/dev-ruby/rubygems/files/10rubygems b/dev-ruby/rubygems/files/10rubygems new file mode 100644 index 000000000000..fa086b043d35 --- /dev/null +++ b/dev-ruby/rubygems/files/10rubygems @@ -0,0 +1 @@ +RUBYOPT="-rubygems" diff --git a/dev-ruby/rubygems/files/digest-rubygems-0.8.11-r1 b/dev-ruby/rubygems/files/digest-rubygems-0.8.11-r1 new file mode 100644 index 000000000000..5d069befbe71 --- /dev/null +++ b/dev-ruby/rubygems/files/digest-rubygems-0.8.11-r1 @@ -0,0 +1 @@ +MD5 aa363b428c4c1fc2e076a4ff77b957d7 rubygems-0.8.11.tgz 160265 diff --git a/dev-ruby/rubygems/files/no_post_install.patch b/dev-ruby/rubygems/files/no_post_install.patch new file mode 100644 index 000000000000..68de503828f9 --- /dev/null +++ b/dev-ruby/rubygems/files/no_post_install.patch @@ -0,0 +1,9 @@ +--- post-install.rb.orig 2005-10-20 10:46:25.000000000 -0500 ++++ post-install.rb 2005-10-20 10:46:29.000000000 -0500 +@@ -71,6 +71,5 @@ + end + + install_windows_batch_files +-remove_stubs + install_sources + diff --git a/dev-ruby/rubygems/rubygems-0.8.11-r1.ebuild b/dev-ruby/rubygems/rubygems-0.8.11-r1.ebuild new file mode 100644 index 000000000000..baa252152252 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-0.8.11-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2005 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-r1.ebuild,v 1.1 2005/10/20 15:52:24 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 ~ppc ~ppc-macos ~sparc ~x86" +SLOT="0" +IUSE="" +DEPEND=">=dev-lang/ruby-1.8" +PATCHES="${FILESDIR}/no_post_install.patch" + +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 + keepdir /usr/lib/ruby/gems/$ver/doc + doenvd ${FILESDIR}/10rubygems +} |