commit:     2b3768195a6166a2d27e8cc0c9200c36ed0c0bfc
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 05:05:21 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 05:05:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b376819

dev-ruby/zentest: add 4.11.1

Package-Manager: portage-2.2.28

 dev-ruby/zentest/Manifest              |  1 +
 dev-ruby/zentest/zentest-4.11.1.ebuild | 39 ++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-ruby/zentest/Manifest b/dev-ruby/zentest/Manifest
index 033811b..c90fff2 100644
--- a/dev-ruby/zentest/Manifest
+++ b/dev-ruby/zentest/Manifest
@@ -1,2 +1,3 @@
 DIST ZenTest-4.11.0.gem 71680 SHA256 
c81b515c0a620379877edad823aad8e155700166e6a7f6e441e7b1c5729fa05e SHA512 
cb835ea2e937b7ea56084c138948acb1c2a96500e5b8bd54dd9d195e4005ebdce67b189cdf31a010135f55adb02f3bcf21ff663a26022eb759dd2126558c5c21
 WHIRLPOOL 
f6d827937a33a448d9cfc530b3da235e3694256c55bf57242f440f3aab427ad249ef2fc1e58b4dd5a80a29ccb7b8e359b5a2e1989a631da090461e745e67e52e
+DIST ZenTest-4.11.1.gem 71680 SHA256 
a5b5c2e457d05cee95f4fc50d5c133421c3a2697683cba33882e604242632077 SHA512 
6f3b5dfb8cc8154856e94f20134e9a6bd2d54e052d05d3e7a250f831ee0a3d3196b497cf118322c51201fb8dd30a05b8a0a0462c58a8852354c4dee2a10d867b
 WHIRLPOOL 
c677e0cf0ecfa0d28a1cacce5a84b65016f06662f7256337ab1d9e0f6880f17db5d8018f4567021b53bc7d356d7a2a7d32579bfe63ba0ba6653c29d22fb7fedb
 DIST ZenTest-4.9.5.gem 71168 SHA256 
8d93c6fd25e3040661f24829bb97f37973c8b99ee0b52c91dfdc2a1d5a120b5f SHA512 
00663bb5d78782c48db14e8dc29b2b2d1ec49beab0b1f907a0fae95b04f3d8124de09fa477111cfebfaa68847361aeda5215cae0e1c5b591ba9fd978663aec91
 WHIRLPOOL 
3f647cc3ab3f88b6b3253503d0c7bf6baeb423c712eacbdafc88969b7e2314a37408555e7cd8842d252472d451a7658e8e08961e6143c95ce97c38a6994a220a

diff --git a/dev-ruby/zentest/zentest-4.11.1.ebuild 
b/dev-ruby/zentest/zentest-4.11.1.ebuild
new file mode 100644
index 0000000..2216aa3
--- /dev/null
+++ b/dev-ruby/zentest/zentest-4.11.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_NAME=ZenTest
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.txt History.txt example.txt example1.rb 
example2.rb example_dot_autotest.rb"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Testing tools: zentest, unit_diff, autotest, multiruby, and 
Test::Rails"
+HOMEPAGE="https://github.com/seattlerb/zentest";
+LICENSE="Ruby"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "
+       test? (
+               >=dev-ruby/hoe-2.10
+               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
+}

Reply via email to