summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-08-13 13:12:09 +0000
committerHans de Graaff <graaff@gentoo.org>2010-08-13 13:12:09 +0000
commit23930e1b1281f95bdeb8239f4259f530e64005af (patch)
tree95d9710b1c0b11891eb19b9ebf707fbb656c0d2b /dev-ruby/ruby-debug
parentVersion bump dev-python/couchdb-python to 0.8. (diff)
downloadhistorical-23930e1b1281f95bdeb8239f4259f530e64005af.tar.gz
historical-23930e1b1281f95bdeb8239f4259f530e64005af.tar.bz2
historical-23930e1b1281f95bdeb8239f4259f530e64005af.zip
Use elisp-common eclass to install emacs files in the right place.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-debug')
-rw-r--r--dev-ruby/ruby-debug/ChangeLog8
-rw-r--r--dev-ruby/ruby-debug/Manifest9
-rw-r--r--dev-ruby/ruby-debug/ruby-debug-0.10.3-r5.ebuild69
3 files changed, 81 insertions, 5 deletions
diff --git a/dev-ruby/ruby-debug/ChangeLog b/dev-ruby/ruby-debug/ChangeLog
index a0e1c9816e0d..c6ca57a46227 100644
--- a/dev-ruby/ruby-debug/ChangeLog
+++ b/dev-ruby/ruby-debug/ChangeLog
@@ -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.
diff --git a/dev-ruby/ruby-debug/Manifest b/dev-ruby/ruby-debug/Manifest
index 5b2ac657ad4f..4001c2f47c3c 100644
--- a/dev-ruby/ruby-debug/Manifest
+++ b/dev-ruby/ruby-debug/Manifest
@@ -6,12 +6,13 @@ DIST ruby-debug-extra-0.10.3.tar.gz 681790 RMD160 962d92829cadfb66ebff198c784370
EBUILD ruby-debug-0.10.3-r2.ebuild 849 RMD160 31253473fab17b0ac66f0c4da11e2859e4566d0d SHA1 1632653b9a1f65789499b8ca7c70183d7c87f5b3 SHA256 d3106080029b5fbb213243ddcd33ca417edc4867597104093a4920caa05d451e
EBUILD ruby-debug-0.10.3-r3.ebuild 1096 RMD160 35258aa7a3b29dc0533edc977fbf54566a450032 SHA1 1dded518d431f9a6c3284ed0ff7e9219d0879312 SHA256 cdbc4f744842ba6d3abc3a20697f76ba190d3d2f40686ea75b39ed7b992149cf
EBUILD ruby-debug-0.10.3-r4.ebuild 1912 RMD160 492c2161fc3d65dc351624042beabd2c02588810 SHA1 88e0065a2ff3a9ac864f11055eebb3c758c2d6c8 SHA256 1bdfc48b7da846b14053902b52fb5646ada8ecfa56f71bf8a22f48057313a826
-MISC ChangeLog 3024 RMD160 442fb068b710e6eb2a4ff17672635248b9d961c2 SHA1 7699b97011474c23d3e54b6dce006e80f9d45143 SHA256 758d25e04fd2c0bb6be735f28ddd80020d8a499ddde35e741f437d5e4986b3ea
+EBUILD ruby-debug-0.10.3-r5.ebuild 1873 RMD160 9d5796c5ef2db3d950995babe8272d7c824ea08a SHA1 500effcc1278746fa3c93d7c5747e6743685069b SHA256 233a7c7a44b5e35c9da4c6ac598cd6cacc47b0c984ad42552bc129ce73928799
+MISC ChangeLog 3213 RMD160 983ebf566b887cc4aae83ecc796ebe8755ac0c40 SHA1 dcb21cd1eec93a4d1d4d70b77ee43c43a1d6153d SHA256 c4a8fae5a5809b124bab031802e016bad2e56015b34aff5bfeb9361d2cdc8e54
MISC metadata.xml 159 RMD160 e6b7ca92e6c0fc796353896e830687ec51efbaf5 SHA1 96f46f7af5d8526b778e417be3c3d2f8ae5be274 SHA256 5fd95e97ccf4410cb31431d51fb5d62baef04eaa59e4f0ad6d1b43c03111d8d0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
-iF4EAREIAAYFAkxk4wAACgkQZihJkut28SslLwD/cKJBGPgitHO/pcx1kH0VZJ6k
-Zj9pYZiSX0U83sDWJdQA/3KlJZ/CJcqSpadkvh8if0t4uYwRK/3bTGNXaqRVGolz
-=rs9w
+iF4EAREIAAYFAkxlRLAACgkQZihJkut28SsG0wD8C5H/b4Pmb0xpdJvyZcBo+F2a
+AdQ6tsFVS4Xd5o3Oj0MA/RIR+V8OdpZOhYLwOPoc5fJIwPPhKNJplTdOBoihxrNY
+=u/Tt
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-debug/ruby-debug-0.10.3-r5.ebuild b/dev-ruby/ruby-debug/ruby-debug-0.10.3-r5.ebuild
new file mode 100644
index 000000000000..872a6a85a14f
--- /dev/null
+++ b/dev-ruby/ruby-debug/ruby-debug-0.10.3-r5.ebuild
@@ -0,0 +1,69 @@
+# 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
+}