# ChangeLog for dev-ruby/rubygems
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.177 2011/10/22 11:39:00 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.178 2011/10/22 11:40:05 graaff Exp $
+
+ 22 Oct 2011; Hans de Graaff <graaff@gentoo.org> -rubygems-1.8.5.ebuild,
+ -rubygems-1.8.7.ebuild:
+ Remove old versions.
22 Oct 2011; Hans de Graaff <graaff@gentoo.org> rubygems-1.8.10.ebuild:
Fix whitespace.
AUX rubygems-1.8.7-ruby19.patch 608 RMD160 72c09b6ecce1ccce58f9a79337ed9dae56e2e00e SHA1 fd5612ed4c10ea310af5bf04939fa711f76823a7 SHA256 fa51443ab215df9e36f1e509fa35b0971762cd88fc7e52b29e67cbf9862f8665
DIST rubygems-1.3.7.tgz 290986 RMD160 2ea8e16d1535216045798258603d5f2f9e3dbfea SHA1 68ad2970963db9893b76acc8777be72a77c4bee4 SHA256 388b90ae6273f655507b10c8ba6bee9ea72e7d49c3e610025531cb8c3ba67c9d
DIST rubygems-1.8.10.tgz 249683 RMD160 2c7dc4bc5459a0b2cf771c9398f750cfe0dbcbf5 SHA1 d2e8c5d9f7a69ef2c6a98097ff192f238b0ce11f SHA256 38151bd62a88b8d0867f7acfd4aac83f2c4e6dfd9ec992ed5b96c44a1cd78552
-DIST rubygems-1.8.5.tgz 249170 RMD160 ce577db0dab7aa48229e137d027f6aa8117fcfc7 SHA1 eb86fd08f0c1f43773fe97aa48e53ec9fe16d664 SHA256 2c9c256ccb23e28f185912df2ba874e761672d6b4eb30821a14a13b014a6fad0
-DIST rubygems-1.8.7.tgz 248796 RMD160 7e309e9705921d10d5d5ec68ed235d5fd14c9776 SHA1 02ab2356c08fe6a8eeb818dcbbc96e231f1512e5 SHA256 cc3ff80c9250defe173a7c315804828be88b80561251d5a90c554072f8df5c1e
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.ebuild 3526 RMD160 579032358c12df42d585b5e24f96697da6760545 SHA1 6ca7982562bdfb8d674e637e791d6386c354daaf SHA256 36c134d781f50a9fd4437e306b2ee5d0ead3430938842a3f781f9820ae2538c6
-EBUILD rubygems-1.8.5.ebuild 3622 RMD160 cc1aeb54b65dfd29ec4401b40a2a29c159cc6f0a SHA1 c4e3a4fa246e38617b05467eb1de31038547968d SHA256 29764ef0617a3d08a00091f29d805cc1799cd7155d71ee38a03be1ef4a0e8541
-EBUILD rubygems-1.8.7.ebuild 3579 RMD160 a932db50ad921a9ffb8b3c945931b7ed007f084d SHA1 0e721ed3ab8621f6a42978b7b701638f454fe6b6 SHA256 ff2dbeff9fcbe1fd1a4224752eeb1fd3444e5ac077292ecafd8dd77486d7bff3
-MISC ChangeLog 28283 RMD160 3bf14cfadc0be93683c62460592fedf79ed6ab69 SHA1 aa6d0abdb322e8e79fb13ffa75bdfb407d618b6c SHA256 c55537f49e5cf2b7dcaaaf1f09d3c74e197f1cbee6047b0ff5c7ad3f117692e5
+MISC ChangeLog 28407 RMD160 c8118da8fb8f2fc6b7c17a3e020139b9b3085791 SHA1 79c7e2cc46445ef574d0b7fc5df69ba4f6b724cc SHA256 38896c0c12b8ab1652833f766a32ec709264da2645a67b99b7a102baae593cbc
MISC metadata.xml 247 RMD160 eb1d10b4366542ce2f232dcaf7317341b6b5608f SHA1 fcb6e2a1d6cda6d45640f9c5a5dfcc0fd4f3ab3b SHA256 633ae9912e8dd27f76b9cf53f5ad0d3222db85d9a19a76da7fd5e26f40b144e3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk6iq1oACgkQiIP6VqMIqNcI3wD/X/aXzx6s5ri0WkAoP1PFxjhA
-0Njn01VUTc00lGyYVc8A/31Ufr9qR9sol2sQJpy7+0eVw/Q6UNie7GWELjjpBHIn
-=5a4/
+iF4EAREIAAYFAk6iq5sACgkQiIP6VqMIqNe/xwD/Tj5pWlncyuTm6c84kNGZMKkw
+vNBRrw11VOje75be3WEA/Rd8c6gEp3mEqEa7+cwu+iRC4LhpD0On5k6wW7tsHmLJ
+=/baz
-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.8.5.ebuild,v 1.2 2011/06/26 13:42:57 mr_bones_ Exp $
-
-EAPI="4"
-
-# jruby's own RUBY_ENGINE defaults are no longer compatible.
-# ruby19 support not tested yet, to be done.
-USE_RUBY="ruby18 ree18"
-
-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="~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.4.0-r5 )
-# ruby_targets_ruby19? ( >=dev-lang/ruby-1.9.2 )"
-
-# 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_prepare() {
- case "${RUBY}" in
- *ruby19)
- epatch "${FILESDIR}/${P}-ruby19.patch" || die
- ;;
- esac
-}
-
-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
-
- RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} -Ilib:test \
- -e 'Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed"
-}
-
-each_ruby_install() {
- # Unset RUBYOPT to avoid interferences, bug #158455 et. al.
- unset RUBYOPT
-
- 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"
-}
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.8.7.ebuild,v 1.1 2011/08/24 17:09:18 a3li Exp $
-
-EAPI="4"
-
-# jruby's own RUBY_ENGINE defaults are no longer compatible.
-USE_RUBY="ruby18 ree18 ruby19"
-
-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="~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.4.0-r5 )
-# ruby_targets_ruby19? ( >=dev-lang/ruby-1.9.2 )"
-
-# 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_prepare() {
- case "${RUBY}" in
- *ruby19)
- epatch "${FILESDIR}/${P}-ruby19.patch" || die
- ;;
- esac
-}
-
-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
-
- RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} -Ilib:test \
- -e 'Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed"
-}
-
-each_ruby_install() {
- # Unset RUBYOPT to avoid interferences, bug #158455 et. al.
- unset RUBYOPT
-
- 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"
-}