diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-05-07 08:30:20 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-05-07 08:30:20 +0000 |
commit | 96c852f28986b4dda96e7bdb2567b54262fe954d (patch) | |
tree | 2ac9854baab18fe947778a44ca021145d985beac /dev-ruby/ruby-debug | |
parent | Version bump and remove old. Update to EAPI 4, add ~amd64 keyword, don't pre-... (diff) | |
download | historical-96c852f28986b4dda96e7bdb2567b54262fe954d.tar.gz historical-96c852f28986b4dda96e7bdb2567b54262fe954d.tar.bz2 historical-96c852f28986b4dda96e7bdb2567b54262fe954d.zip |
Version bump. This also fixes bug 366295. Drop jruby support since this now appears to be handled in a completely new way. See http://debug-commons.rubyforge.org/
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-debug')
-rw-r--r-- | dev-ruby/ruby-debug/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/ruby-debug/ruby-debug-0.10.4.ebuild | 67 |
2 files changed, 75 insertions, 1 deletions
diff --git a/dev-ruby/ruby-debug/ChangeLog b/dev-ruby/ruby-debug/ChangeLog index 52484ea3809e..a89560d41902 100644 --- a/dev-ruby/ruby-debug/ChangeLog +++ b/dev-ruby/ruby-debug/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/ruby-debug # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-debug/ChangeLog,v 1.24 2011/05/07 08:11:19 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-debug/ChangeLog,v 1.25 2011/05/07 08:30:20 graaff Exp $ + +*ruby-debug-0.10.4 (07 May 2011) + + 07 May 2011; Hans de Graaff <graaff@gentoo.org> +ruby-debug-0.10.4.ebuild: + Version bump. This also fixes bug 366295. Drop jruby support since this now + appears to be handled in a completely new way. See + http://debug-commons.rubyforge.org/ 07 May 2011; Hans de Graaff <graaff@gentoo.org> -ruby-debug-0.10.3-r3.ebuild, -ruby-debug-0.10.3-r4.ebuild, -ruby-debug-0.10.3-r5.ebuild: diff --git a/dev-ruby/ruby-debug/ruby-debug-0.10.4.ebuild b/dev-ruby/ruby-debug/ruby-debug-0.10.4.ebuild new file mode 100644 index 000000000000..fa4bf43d2f56 --- /dev/null +++ b/dev-ruby/ruby-debug/ruby-debug-0.10.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-debug/ruby-debug-0.10.4.ebuild,v 1.1 2011/05/07 08:30:20 graaff Exp $ + +EAPI="2" +USE_RUBY="ruby18 ree18" + +# The Rakefile has targets that are part of ruby-debug-base, so avoid +# hitting it for now. +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog CHANGES README" + +RUBY_FAKEGEM_EXTRAINSTALL="cli" +RUBY_FAKEGEM_REQUIRE_PATHS="cli" + +inherit elisp-common ruby-fakegem + +DESCRIPTION="CLI interface to ruby-debug" +HOMEPAGE="http://rubyforge.org/projects/ruby-debug/" + +LICENSE="BSD-2" +KEYWORDS="~amd64 ~hppa ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc emacs" +SLOT="0" +SRC_URI="mirror://rubygems/${P}.gem + doc? ( mirror://rubyforge/ruby-debug/${PN}-extra-${PV}.tar.gz ) + emacs? ( mirror://rubyforge/ruby-debug/${PN}-extra-${PV}.tar.gz )" + +EXTRA_S="${WORKDIR}/all/${PN}-extra-${PV}" + +ruby_add_rdepend ">=dev-ruby/columnize-0.1" + +DEPEND="${DEPEND} emacs? ( >=virtual/emacs-22 )" +RDEPEND="${RDEPEND} emacs? ( >=virtual/emacs-22 )" + +# The original extension is used for MRI (ruby18) +USE_RUBY="ruby18" \ + ruby_add_rdepend "ruby_targets_ruby18? ( ~dev-ruby/ruby-debug-base-${PV} )" +USE_RUBY="ree18" \ + ruby_add_rdepend "ruby_targets_ruby18? ( ~dev-ruby/ruby-debug-base-${PV} )" + +all_ruby_compile() { + all_fakegem_compile + + if use emacs; then + pushd "${EXTRA_S}/emacs" + elisp-compile *.el || die + popd + fi +} + +all_ruby_install() { + all_fakegem_install + + if use emacs; then + pushd "${EXTRA_S}/emacs" + elisp-install ${PN} *.el *.elc || die + popd + fi + + if use doc; then + doman "${EXTRA_S}/doc/rdebug.1" || die + dodoc "${EXTRA_S}/doc/ruby-debug.pdf" || die + doinfo "${EXTRA_S}"/doc/*.info || die + fi +} |