summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-03-06 21:28:56 +0100
committerHans de Graaff <graaff@gentoo.org>2016-03-06 22:08:55 +0100
commit18d88974acc4d1e73052d9cd536e0b24658c3251 (patch)
treeed2fbabf3310e215666b2b9508c47c3e7252be0a /dev-ruby/zentest
parentdev-util/trinity: version bump to 1.6 (diff)
downloadgentoo-18d88974acc4d1e73052d9cd536e0b24658c3251.tar.gz
gentoo-18d88974acc4d1e73052d9cd536e0b24658c3251.tar.bz2
gentoo-18d88974acc4d1e73052d9cd536e0b24658c3251.zip
dev-ruby/zentest: add ruby23
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/zentest')
-rw-r--r--dev-ruby/zentest/zentest-4.11.0.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-ruby/zentest/zentest-4.11.0.ebuild b/dev-ruby/zentest/zentest-4.11.0.ebuild
index f447bf1d8c6f..919bcafb80a6 100644
--- a/dev-ruby/zentest/zentest-4.11.0.ebuild
+++ b/dev-ruby/zentest/zentest-4.11.0.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
RUBY_FAKEGEM_NAME=ZenTest
@@ -27,3 +27,13 @@ ruby_add_bdepend "
dev-ruby/hoe-seattlerb
dev-ruby/minitest:5
)"
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *ruby23)
+ sed -i -e '/test_testcase9/a skip "ruby 2.3 defines more methods"' test/test_zentest.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}