From: Hans de Graaff Date: Mon, 9 Jan 2012 06:45:04 +0000 (+0000) Subject: Version bump. Fixes bug 398177. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c63198a522344fa87c4df0136c01af88e1ef2ca;p=gentoo.git Version bump. Fixes bug 398177. Package-Manager: portage-2.1.10.41/cvs/Linux x86_64 --- diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog index e55b64cbc028..fbc5c53146ff 100644 --- a/dev-ruby/rubygems/ChangeLog +++ b/dev-ruby/rubygems/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rubygems # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.182 2012/01/08 06:20:53 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.183 2012/01/09 06:45:04 graaff Exp $ + +*rubygems-1.8.15 (09 Jan 2012) + + 09 Jan 2012; Hans de Graaff +rubygems-1.8.15.ebuild: + Version bump. Fixes bug 398177. *rubygems-1.8.13 (08 Jan 2012) diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index c04a4ac29a8b..86d44b7cdf8c 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -16,18 +16,20 @@ DIST rubygems-1.3.7.tgz 290986 RMD160 2ea8e16d1535216045798258603d5f2f9e3dbfea S DIST rubygems-1.8.10.tgz 249683 RMD160 2c7dc4bc5459a0b2cf771c9398f750cfe0dbcbf5 SHA1 d2e8c5d9f7a69ef2c6a98097ff192f238b0ce11f SHA256 38151bd62a88b8d0867f7acfd4aac83f2c4e6dfd9ec992ed5b96c44a1cd78552 DIST rubygems-1.8.11.tgz 430197 RMD160 6e3070a802ee9d0dffa30c40f7232525afc0212d SHA1 88677a3443d6becdc0cde540d73304bdfb88fe11 SHA256 89479440a1ff497b6ffdec38b5fae2ec50cf344200782b1eb8db510db38f6255 DIST rubygems-1.8.13.tgz 250615 RMD160 35e2812a79dc6c0339ac6cce7f721ac38cb5c6c2 SHA1 f6dc9679985975b133ac48d98df78375bdbab767 SHA256 20c1061c98450d02b2c5c5f1c5fecacb942723b5f33842d2efa5c5aee7bdd5f9 +DIST rubygems-1.8.15.tgz 251305 RMD160 fc7723e440c7b289319aa6e09383539b9f793010 SHA1 ea82f87727f9b915579ff9f684c728af13574a24 SHA256 a14cd45dc57ea624593c88f6c30fb7b38d0c6ca98c815501e9236c76bb6a2e33 EBUILD rubygems-1.3.7-r1.ebuild 2999 RMD160 f3ccf17a65925a8cc36c28d4506c1fc96458c418 SHA1 1d680bc39228c81c3656b4f9e2676e839d7bc3be SHA256 bc3cd7ffa76b9947e05f55f70c3972db65eb013dfa5b76a2e88bbb41d0fdd5b7 EBUILD rubygems-1.3.7-r5.ebuild 3747 RMD160 990a3b8c8babbd04865a4cc464dc33ada66b07c0 SHA1 c62b9d262fa101fa12e74028b97c831349550789 SHA256 cf302064dc8c48da252d8e33dc0b8c92009030af7da2e476bfcc63a9b40cdfeb EBUILD rubygems-1.3.7.ebuild 2995 RMD160 154085ac99dcb1efa2c581df8cd4c67c2fc43dae SHA1 facdf12e411b45651c40e00f9659cd6828ec85f5 SHA256 8047192b5e43b59eeaa0f9ee07f319b3bda6451c1d205cc3740b4385dca9cb73 EBUILD rubygems-1.8.10-r1.ebuild 3527 RMD160 ec58dab8e1be696021cc0a2aa0b8a1777450dd2d SHA1 31c695d1c31aca854648230ecb38408420748b29 SHA256 cadaaf36cfd953069f0b1690ab49d3844812dd88168c2ff15fe49af43260e54f EBUILD rubygems-1.8.11.ebuild 3535 RMD160 0d16dc7daeaa70edaf469faca34e0613417ae0b1 SHA1 7fdb629e8cdf25b20e7c23ec512582c74eec6c01 SHA256 4c4b043132144467d26659e56aa83dd27a74a69918bb3be8a114c2bd0fe63026 EBUILD rubygems-1.8.13.ebuild 3630 RMD160 2fca68d08269d42991fefb1c5f44eb7d7fc476f8 SHA1 54377bb78c6c20e0ba46c97d26da5689bc5bc001 SHA256 bc0e9b9e3b5617c6bdf72c4c3ce6bd67665b6952effc85299f25000676389a10 -MISC ChangeLog 29184 RMD160 b3b0041cb756bd4df47c89b8652479a13805e4fb SHA1 377f20865dc78718f12a717c8c3da0160eabbfcf SHA256 a19f661067fdcdca1175433ea78e9d4983633ce8740ef34c9264c0e4e0a3d931 +EBUILD rubygems-1.8.15.ebuild 3630 RMD160 ae669a5928e6d150a3dec9f1d5ed364ee9aca26d SHA1 22c9959ded89908a5f3e1f8d07c6c983c5480788 SHA256 2c323e3c7739d54a7469363c6a7985f204804b839958fce08eb81a44b6cd76b5 +MISC ChangeLog 29326 RMD160 d319255dce476e09b1c0a5bfe98ec34e5d60dab0 SHA1 8b8e6bb90b07c8db6d63ffc8239b15fed4d6f546 SHA256 0ac3ef47f2ab5f2bb5091bb70de7b6bb020924d8dbe049faee409b9eeaabaa65 MISC metadata.xml 247 RMD160 eb1d10b4366542ce2f232dcaf7317341b6b5608f SHA1 fcb6e2a1d6cda6d45640f9c5a5dfcc0fd4f3ab3b SHA256 633ae9912e8dd27f76b9cf53f5ad0d3222db85d9a19a76da7fd5e26f40b144e3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk8JNcsACgkQiIP6VqMIqNf3YAD/a0ymrP62v/5hmXm6HuosAB5s -sw+R8RU5UFP/XdK7hTQA/A2NdL4q3KiLZkCpJfkFnUt+Jwggp6TovZORyZezCIgO -=T0c4 +iF4EAREIAAYFAk8KjPsACgkQiIP6VqMIqNc66gD/a8c9lA7LhHY3j8SRQnvjGp6k +kyaMRdSJJF4efMuixEgA/1PNR/5tGQSRi9pa12OdXY9bxkh0mSLb52ixBbloSk6c +=kPz2 -----END PGP SIGNATURE----- diff --git a/dev-ruby/rubygems/rubygems-1.8.15.ebuild b/dev-ruby/rubygems/rubygems-1.8.15.ebuild new file mode 100644 index 000000000000..17c241d1b8a6 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-1.8.15.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.8.15.ebuild,v 1.1 2012/01/09 06:45:04 graaff Exp $ + +EAPI="4" + +# jruby's own RUBY_ENGINE defaults are no longer compatible. +USE_RUBY="ruby18 ree18 ruby19 jruby" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="http://rubyforge.org/projects/rubygems/" +LICENSE="|| ( Ruby MIT )" + +SRC_URI="mirror://rubyforge/${PN}/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" + +RDEPEND=" + ruby_targets_jruby? ( >=dev-java/jruby-1.5.6-r1 ) + ruby_targets_ruby19? ( >=dev-lang/ruby-1.9.3_rc1 )" + +# index_gem_repository.rb +PDEPEND="server? ( dev-ruby/builder[ruby_targets_ruby18] )" + +# Tests fail when YARD is installed.. but just the rdoc-related stuff, +# so it's not a mistake. +ruby_add_bdepend " + test? ( + dev-ruby/minitest + virtual/ruby-rdoc + !!dev-ruby/yard + )" + +all_ruby_prepare() { + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/^ def test_self_bindir_default_dir/, /^ end/ s:^:#:' \ + -e '/^ def test_self_default_dir/, /^ end/ s:^:#:' \ + test/rubygems/test_gem.rb || die + + # Remove tests that want to write to /usr/local/bin + rm test/rubygems/test_gem_uninstaller.rb test/rubygems/test_gem_install_update_options.rb || die +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + + case ${RUBY} in + *jruby) + eqawarn "Skipping tests for jruby 1.5." + ;; + *) + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} -I.:lib:test \ + -e 'Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + ;; + esac +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + case "${RUBY}" in + *ruby19) + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb || die + ;; + *) + doruby "${FILESDIR}/auto_gem.rb" || die + ;; + esac + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') || die +} + +all_ruby_install() { + dodoc History.txt README.rdoc + + doenvd "${FILESDIR}/10rubygems" + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server || die "newinitd failed" + newconfd "${FILESDIR}/conf.d-gem_server" gem_server || die "newconfd failed" + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --no-color ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(18|19|...)" + ewarn +} + +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 uninstalled dev-ruby/rubygems, please do not unset " + ewarn "RUBYOPT" +}