summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-08-10 07:44:51 +0200
committerHans de Graaff <graaff@gentoo.org>2018-08-10 07:44:51 +0200
commit2bca3d3d1ca9eaa6287d690776355ab5cea12822 (patch)
treeb7dfcc9500d15638b103fa95c665a92b1d6bfbf7
parentgames-roguelike/stone-soup: bump to 0.22.0 (diff)
downloadgentoo-2bca3d3d1ca9eaa6287d690776355ab5cea12822.tar.gz
gentoo-2bca3d3d1ca9eaa6287d690776355ab5cea12822.tar.bz2
gentoo-2bca3d3d1ca9eaa6287d690776355ab5cea12822.zip
dev-ruby/mocha: add 1.7.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-ruby/mocha/Manifest1
-rw-r--r--dev-ruby/mocha/mocha-1.7.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest
index 96eb0409590..23231a7bc49 100644
--- a/dev-ruby/mocha/Manifest
+++ b/dev-ruby/mocha/Manifest
@@ -4,3 +4,4 @@ DIST mocha-1.1.0.gem 87552 BLAKE2B b09721474520b57472bc54eece8ea27f0172e49ffbf43
DIST mocha-1.4.0.gem 92672 BLAKE2B 8b8640038da40f2577431630ffbc773f5a9474a3a872a5f6c26d53b41d2827da59f32f6c7abab78cbf491bb6d58cabe0834e4b1706869cedd1e72f116817537a SHA512 54953d815cddf52deccdddcebc9a9880fa2f14cab9f4ee1e164bfa3afe095d56b409312149341d1bf84fb336ed23512e7acce371135f8a2a1bb16f1de7acff1d
DIST mocha-1.5.0.gem 93184 BLAKE2B fe29eab462db2283449587324fa7c607c84bdc6cf8106c8714de29ac2ec8aa9352ed0ebe60a5f8ad05e8ed9a1256f534c352b17f9519de79490a548468afeb57 SHA512 dd4e37f2d3e65fbaafb9bad345419a042682c5db33ee1787b65db1d0889418463d32c87deeddd2b953e0024ea55a5a36b816712e94b4ca740a6163c6ee51dc85
DIST mocha-1.6.0.gem 94720 BLAKE2B 57836aed4a5c0dc4c2c9e9c32d5c0dcceb4e65d6987e79c2085de295bb742b8f709ca828cbc9558e261317a637af7f14f8160058bb067c2102bc7d708bdc4d90 SHA512 7269df7796aa124c79256914fc2dd2cadaa6f2f0fbb9f5bbf48b71fabaa1d87c3f9c6a086f8f8c5fd43ba31e482d164cee1ec344a289e5824b124ac5d27de50c
+DIST mocha-1.7.0.gem 96768 BLAKE2B d6b2f14bb1277473c3393b06e2f4830331bcf4f2d02fa918a006eeb65a340e1f8bf25e354910bff1cdc3abae9b98bd53de272c628cec7bb59e30c5b02dc8ffc6 SHA512 b3fd656523e6ec1eb81e941cd43fe402254b6b15a00cdb459a900c94df02bd20f7ca8aafc796e418c6ba3e3b71c5bdc74a97e380f1c106e2831e78d9aaa7887e
diff --git a/dev-ruby/mocha/mocha-1.7.0.ebuild b/dev-ruby/mocha/mocha-1.7.0.ebuild
new file mode 100644
index 00000000000..7522eb9038e
--- /dev/null
+++ b/dev-ruby/mocha/mocha-1.7.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_TASK_TEST="test:units"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock"
+HOMEPAGE="http://gofreerange.com/mocha/docs/"
+
+LICENSE="MIT"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "
+ test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )"
+
+ruby_add_rdepend "=dev-ruby/metaclass-0.0*"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
+}
+
+each_ruby_test() {
+ export MOCHA_NO_DOCS=true
+ each_fakegem_test
+}