public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-debug: ChangeLog ruby-debug-0.10.3-r5.ebuild
@ 2010-08-13 13:12 Hans de Graaff (graaff)
  0 siblings, 0 replies; only message in thread
From: Hans de Graaff (graaff) @ 2010-08-13 13:12 UTC (permalink / raw
  To: gentoo-commits

graaff      10/08/13 13:12:10

  Modified:             ChangeLog
  Added:                ruby-debug-0.10.3-r5.ebuild
  Log:
  Use elisp-common eclass to install emacs files in the right place.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.20                 dev-ruby/ruby-debug/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-debug/ChangeLog?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-debug/ChangeLog?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-debug/ChangeLog?r1=1.19&r2=1.20

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-debug/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog	13 Aug 2010 06:15:09 -0000	1.19
+++ ChangeLog	13 Aug 2010 13:12:09 -0000	1.20
@@ -1,6 +1,12 @@
 # ChangeLog for dev-ruby/ruby-debug
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-debug/ChangeLog,v 1.19 2010/08/13 06:15:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-debug/ChangeLog,v 1.20 2010/08/13 13:12:09 graaff Exp $
+
+*ruby-debug-0.10.3-r5 (13 Aug 2010)
+
+  13 Aug 2010; Hans de Graaff <graaff@gentoo.org>
+  +ruby-debug-0.10.3-r5.ebuild:
+  Use elisp-common eclass to install emacs files in the right place.
 
   13 Aug 2010; Hans de Graaff <graaff@gentoo.org> -ruby-debug-0.10.3.ebuild:
   Remove old version.



1.1                  dev-ruby/ruby-debug/ruby-debug-0.10.3-r5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-debug/ruby-debug-0.10.3-r5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-debug/ruby-debug-0.10.3-r5.ebuild?rev=1.1&content-type=text/plain

Index: ruby-debug-0.10.3-r5.ebuild
===================================================================
# Copyright 1999-2010 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.3-r5.ebuild,v 1.1 2010/08/13 13:12:09 graaff Exp $

EAPI="2"
USE_RUBY="ruby18 jruby"

# 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 ~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-0.10.3* )"

# An alternative extension is used for JRuby
USE_RUBY="jruby" \
	ruby_add_rdepend "ruby_targets_jruby? ( =dev-ruby/jruby-debug-base-0.10.3* )"

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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-13 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-13 13:12 [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-debug: ChangeLog ruby-debug-0.10.3-r5.ebuild Hans de Graaff (graaff)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox