summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-10-09 14:09:57 +0000
committerHans de Graaff <graaff@gentoo.org>2010-10-09 14:09:57 +0000
commit897fd7e312724e757161774085f5335f575b4503 (patch)
tree91ed65f3a9262b018e331c37bbd0eb32753092e1 /dev-ruby/rubygems
parentBump revision for ruby19 and drop it from -r5 to create a new stable candidate. (diff)
downloadgentoo-2-897fd7e312724e757161774085f5335f575b4503.tar.gz
gentoo-2-897fd7e312724e757161774085f5335f575b4503.tar.bz2
gentoo-2-897fd7e312724e757161774085f5335f575b4503.zip
Remove old versions.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r--dev-ruby/rubygems/ChangeLog6
-rw-r--r--dev-ruby/rubygems/rubygems-1.3.5-r1.ebuild93
-rw-r--r--dev-ruby/rubygems/rubygems-1.3.7-r3.ebuild121
3 files changed, 5 insertions, 215 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog
index 5b6c475a0992..33669d541dc9 100644
--- a/dev-ruby/rubygems/ChangeLog
+++ b/dev-ruby/rubygems/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/rubygems
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.159 2010/10/03 14:55:16 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.160 2010/10/09 14:09:28 graaff Exp $
+
+ 09 Oct 2010; Hans de Graaff <graaff@gentoo.org> -rubygems-1.3.5-r1.ebuild,
+ -rubygems-1.3.7-r3.ebuild:
+ Remove old versions.
03 Oct 2010; Tobias Klausmann <klausman@gentoo.org> rubygems-1.3.7.ebuild:
Stable on alpha, bug #331059
diff --git a/dev-ruby/rubygems/rubygems-1.3.5-r1.ebuild b/dev-ruby/rubygems/rubygems-1.3.5-r1.ebuild
deleted file mode 100644
index 5e5cd63e108d..000000000000
--- a/dev-ruby/rubygems/rubygems-1.3.5-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.3.5-r1.ebuild,v 1.1 2010/01/28 00:49:41 flameeyes Exp $
-
-EAPI="2"
-
-USE_RUBY="ruby18"
-
-inherit ruby-ng
-
-DESCRIPTION="Centralized Ruby extension management system"
-HOMEPAGE="http://rubyforge.org/projects/rubygems/"
-LICENSE="|| ( Ruby GPL-2 )"
-
-# Needs to be installed first
-RESTRICT="test"
-
-SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
-SLOT="0"
-IUSE="doc server"
-PDEPEND="server? ( dev-ruby/builder[ruby_targets_ruby18] )" # index_gem_repository.rb
-
-all_ruby_prepare() {
- epatch "${FILESDIR}/${PN}-1.3.5-setup.patch"
- # Fixes a new "feature" that would prevent us from recognizing installed
- # gems inside the sandbox
- epatch "${FILESDIR}/${PN}-1.3.3-gentoo.patch"
-}
-
-each_ruby_install() {
- # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455
- export RUBYOPT="${GENTOO_RUBYOPT}"
- ewarn "RUBYOPT=${RUBYOPT}"
-
- ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
-
- # rubygems tries to create GEM_HOME if it doesn't exist, upsetting sandbox,
- # bug #202109. Since 1.2.0 we also need to set GEM_PATH
- # for this reason, bug #230163.
- export GEM_HOME="${D}/usr/$(get_libdir)/ruby/gems/${ver}"
- export GEM_PATH="${GEM_HOME}/"
- keepdir /usr/$(get_libdir)/ruby/gems/$ver/{doc,gems,cache,specifications}
-
- myconf=""
- if ! use doc; then
- myconf="${myconf} --no-ri"
- myconf="${myconf} --no-rdoc"
- fi
-
- ${RUBY} setup.rb $myconf --destdir="${D}" || die "setup.rb install failed"
-
- doruby "${FILESDIR}/auto_gem.rb"
-}
-
-all_ruby_install() {
- dodoc README || die "dodoc README failed"
-
- doenvd "${FILESDIR}/10rubygems" || die "doenvd 10rubygems failed"
-
- 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() {
- SOURCE_CACHE="/usr/$(get_libdir)/ruby/gems/$ver/source_cache"
- if [[ -e "${SOURCE_CACHE}" ]]; then
- rm "${SOURCE_CACHE}"
- fi
-
- if [[ ! -n $(readlink "${ROOT}"usr/bin/gem) ]] ; then
- eselect ruby set ruby18
- fi
-
- ewarn
- ewarn "This ebuild is compatible to eselect-ruby"
- 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"
-}
diff --git a/dev-ruby/rubygems/rubygems-1.3.7-r3.ebuild b/dev-ruby/rubygems/rubygems-1.3.7-r3.ebuild
deleted file mode 100644
index c848f76fc53c..000000000000
--- a/dev-ruby/rubygems/rubygems-1.3.7-r3.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.3.7-r3.ebuild,v 1.3 2010/08/18 10:29:35 flameeyes Exp $
-
-EAPI="3"
-
-USE_RUBY="ruby18 ruby19 ree18 jruby"
-
-inherit ruby-ng prefix
-
-DESCRIPTION="Centralized Ruby extension management system"
-HOMEPAGE="http://rubyforge.org/projects/rubygems/"
-LICENSE="|| ( Ruby GPL-2 )"
-
-SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
-
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
-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_rc2 )"
-
-# index_gem_repository.rb
-PDEPEND="server? ( dev-ruby/builder[ruby_targets_ruby18] )"
-
-# Tests fail _badly_ 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
- !dev-ruby/test-unit:2
- )"
-
-# Until all the JRuby tests' failures are sorted out
-RESTRICT="ruby_targets_jruby? ( test )"
-
-RUBY_PATCHES=(
- "${FILESDIR}/${P}-gentoo.patch"
-)
-
-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/test_gem.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
-
- 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)
- insinto $(ruby_rbconfig_value 'sitelibdir')
- 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 README || die "dodoc README failed"
-
- doenvd "${FILESDIR}/10rubygems" || die "doenvd 10rubygems failed"
-
- 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"
-}