summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-05-25 10:58:42 +0000
committerHans de Graaff <graaff@gentoo.org>2012-05-25 10:58:42 +0000
commit6b2d6854b92e1dcd517418d800fa322ea997f2b8 (patch)
tree10945ccbe75032f3b95bddcb9723e596a1eb139a /dev-ruby/diff-lcs
parentPull in SLOT="0" of virtual/libusb because libusb-1 is not supported. (diff)
downloadgentoo-2-6b2d6854b92e1dcd517418d800fa322ea997f2b8.tar.gz
gentoo-2-6b2d6854b92e1dcd517418d800fa322ea997f2b8.tar.bz2
gentoo-2-6b2d6854b92e1dcd517418d800fa322ea997f2b8.zip
Don't require rspec for USE=doc. Fixes bug 417463.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/diff-lcs')
-rw-r--r--dev-ruby/diff-lcs/ChangeLog5
-rw-r--r--dev-ruby/diff-lcs/diff-lcs-1.1.3.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-ruby/diff-lcs/ChangeLog b/dev-ruby/diff-lcs/ChangeLog
index 5c81f1780650..3969c66ca588 100644
--- a/dev-ruby/diff-lcs/ChangeLog
+++ b/dev-ruby/diff-lcs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/diff-lcs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/diff-lcs/ChangeLog,v 1.32 2012/04/30 10:40:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/diff-lcs/ChangeLog,v 1.33 2012/05/25 10:58:42 graaff Exp $
+
+ 25 May 2012; Hans de Graaff <graaff@gentoo.org> diff-lcs-1.1.3.ebuild:
+ Don't require rspec for USE=doc. Fixes bug 417463.
30 Apr 2012; Hans de Graaff <graaff@gentoo.org> -diff-lcs-1.1.2-r1.ebuild:
Remove old version.
diff --git a/dev-ruby/diff-lcs/diff-lcs-1.1.3.ebuild b/dev-ruby/diff-lcs/diff-lcs-1.1.3.ebuild
index f488364e55cf..0bb16223ccc3 100644
--- a/dev-ruby/diff-lcs/diff-lcs-1.1.3.ebuild
+++ b/dev-ruby/diff-lcs/diff-lcs-1.1.3.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/diff-lcs/diff-lcs-1.1.3.ebuild,v 1.2 2011/12/31 18:35:58 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/diff-lcs/diff-lcs-1.1.3.ebuild,v 1.3 2012/05/25 10:58:42 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18 ruby19 jruby"
@@ -22,3 +22,8 @@ KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86
IUSE=""
ruby_add_bdepend "test? ( >=dev-ruby/hoe-2.10 dev-ruby/rspec:2 )"
+
+all_ruby_prepare() {
+ # Remove unneeded rspec require to avoid rspec with USE=doc.
+ sed -i -e "/require 'rspec'/d" Rakefile || die
+}