summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2015-05-04 01:59:02 +0000
committerRick Farina <zerochaos@gentoo.org>2015-05-04 01:59:02 +0000
commitae34f45605fda35d6edcfc372f7875517f2ef406 (patch)
tree63cf421c232523b88ce54230da3c1f1b68f710e1 /dev-ruby/rb-readline
parentbump wrt bug #546450 (diff)
downloadgentoo-2-ae34f45605fda35d6edcfc372f7875517f2ef406.tar.gz
gentoo-2-ae34f45605fda35d6edcfc372f7875517f2ef406.tar.bz2
gentoo-2-ae34f45605fda35d6edcfc372f7875517f2ef406.zip
add proper deps for testing and backport disabling bad test
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'dev-ruby/rb-readline')
-rw-r--r--dev-ruby/rb-readline/ChangeLog6
-rw-r--r--dev-ruby/rb-readline/rb-readline-0.5.1.ebuild12
-rw-r--r--dev-ruby/rb-readline/rb-readline-0.5.2.ebuild5
3 files changed, 18 insertions, 5 deletions
diff --git a/dev-ruby/rb-readline/ChangeLog b/dev-ruby/rb-readline/ChangeLog
index 7e55a390ca6a..422c38e2b8ce 100644
--- a/dev-ruby/rb-readline/ChangeLog
+++ b/dev-ruby/rb-readline/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/rb-readline
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-readline/ChangeLog,v 1.3 2015/01/01 07:53:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-readline/ChangeLog,v 1.4 2015/05/04 01:59:02 zerochaos Exp $
+
+ 04 May 2015; Rick Farina <zerochaos@gentoo.org> rb-readline-0.5.1.ebuild,
+ rb-readline-0.5.2.ebuild:
+ add proper deps for testing and backport disabling bad test
*rb-readline-0.5.2 (01 Jan 2015)
diff --git a/dev-ruby/rb-readline/rb-readline-0.5.1.ebuild b/dev-ruby/rb-readline/rb-readline-0.5.1.ebuild
index 0dbd1ac83661..141071cb1018 100644
--- a/dev-ruby/rb-readline/rb-readline-0.5.1.ebuild
+++ b/dev-ruby/rb-readline/rb-readline-0.5.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-readline/rb-readline-0.5.1.ebuild,v 1.2 2014/07/25 10:49:22 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-readline/rb-readline-0.5.1.ebuild,v 1.3 2015/05/04 01:59:02 zerochaos Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
@@ -16,4 +16,10 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
-ruby_add_rdepend "dev-ruby/rake"
+ruby_add_bdepend "dev-ruby/rake
+ >=dev-ruby/minitest-5.2"
+
+all_ruby_prepare() {
+ # Skip a test that fails when run in the ebuild environment.
+ sed -i -e '/test_readline_with_default_parameters_does_not_error/,/end/ s:^:#:' test/test_readline.rb || die
+}
diff --git a/dev-ruby/rb-readline/rb-readline-0.5.2.ebuild b/dev-ruby/rb-readline/rb-readline-0.5.2.ebuild
index 5550f2930264..764d1f265079 100644
--- a/dev-ruby/rb-readline/rb-readline-0.5.2.ebuild
+++ b/dev-ruby/rb-readline/rb-readline-0.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-readline/rb-readline-0.5.2.ebuild,v 1.1 2015/01/01 07:53:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-readline/rb-readline-0.5.2.ebuild,v 1.2 2015/05/04 01:59:02 zerochaos Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
@@ -16,6 +16,9 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
+ruby_add_bdepend "dev-ruby/rake
+ >=dev-ruby/minitest-5.2"
+
all_ruby_prepare() {
# Skip a test that fails when run in the ebuild environment.
sed -i -e '/test_readline_with_default_parameters_does_not_error/,/end/ s:^:#:' test/test_readline.rb || die