summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-01-02 19:04:52 +0000
committerHans de Graaff <graaff@gentoo.org>2012-01-02 19:04:52 +0000
commit85baa8353ba526f172210919728c82c601f750bb (patch)
treebd92feb03e31178e902a569195100d63e828db4b /dev-ruby/rb-inotify
parentSplit out Changelog-2007 (diff)
downloadgentoo-2-85baa8353ba526f172210919728c82c601f750bb.tar.gz
gentoo-2-85baa8353ba526f172210919728c82c601f750bb.tar.bz2
gentoo-2-85baa8353ba526f172210919728c82c601f750bb.zip
Avoid unneeded dependency on jeweler, fixing bug 397337.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rb-inotify')
-rw-r--r--dev-ruby/rb-inotify/ChangeLog7
-rw-r--r--dev-ruby/rb-inotify/rb-inotify-0.8.8.ebuild9
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-ruby/rb-inotify/ChangeLog b/dev-ruby/rb-inotify/ChangeLog
index 1894b661703c..80a876af50fb 100644
--- a/dev-ruby/rb-inotify/ChangeLog
+++ b/dev-ruby/rb-inotify/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/rb-inotify
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/ChangeLog,v 1.10 2011/12/30 14:33:39 graaff Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/ChangeLog,v 1.11 2012/01/02 19:04:52 graaff Exp $
+
+ 02 Jan 2012; Hans de Graaff <graaff@gentoo.org> rb-inotify-0.8.8.ebuild:
+ Avoid unneeded dependency on jeweler, fixing bug 397337.
30 Dec 2011; Hans de Graaff <graaff@gentoo.org> rb-inotify-0.8.8.ebuild:
Add ruby19.
diff --git a/dev-ruby/rb-inotify/rb-inotify-0.8.8.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.8.8.ebuild
index 0d3556b1b599..c255ff886b3e 100644
--- a/dev-ruby/rb-inotify/rb-inotify-0.8.8.ebuild
+++ b/dev-ruby/rb-inotify/rb-inotify-0.8.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/rb-inotify-0.8.8.ebuild,v 1.4 2011/12/30 14:33:39 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/rb-inotify-0.8.8.ebuild,v 1.5 2012/01/02 19:04:52 graaff Exp $
EAPI=4
@@ -30,6 +30,11 @@ ruby_add_rdepend "virtual/ruby-ffi"
ruby_add_bdepend "doc? ( dev-ruby/yard )"
+all_ruby_prepare() {
+ # Avoid unneeded dependency on jeweler.
+ sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die
+}
+
each_ruby_prepare() {
case ${RUBY} in
*jruby)