summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-02-24 07:47:36 +0100
committerHans de Graaff <graaff@gentoo.org>2017-02-24 08:12:41 +0100
commit168954630ed95340fab1540670bb641e246b6fb1 (patch)
treea259b8eca778505799273f6d7a1525b9e48ea3c9 /dev-ruby/flexmock
parentnet-misc/dhcpcd: mark 6.11.3 arm64/s390/sh stable (diff)
downloadgentoo-168954630ed95340fab1540670bb641e246b6fb1.tar.gz
gentoo-168954630ed95340fab1540670bb641e246b6fb1.tar.bz2
gentoo-168954630ed95340fab1540670bb641e246b6fb1.zip
dev-ruby/flexmock: add 2.3.5
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/flexmock')
-rw-r--r--dev-ruby/flexmock/Manifest1
-rw-r--r--dev-ruby/flexmock/flexmock-2.3.5.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/flexmock/Manifest b/dev-ruby/flexmock/Manifest
index 3b2976d754ac..a55237ea131b 100644
--- a/dev-ruby/flexmock/Manifest
+++ b/dev-ruby/flexmock/Manifest
@@ -1,3 +1,4 @@
DIST flexmock-1.3.3.gem 81920 SHA256 1d9cc7dd01b43a25447d85477b8ab096481be0a6536aa6587286082c40f35f9d SHA512 2d440ec5bdbaea0a314f9e40645b194d9e5d29e9dc93c9b38d7fdb256bd4ffb3dba312d7a5630e6d849e360b7f337f6e5e0995a5da6210db2577516a62a66f54 WHIRLPOOL 568005d1238f3927e188cc74756e54512855f146ec729309946837fa2235c0bcf18e05a0bcfd78b938b76fddb239c857bff12a37495fc47d68cf31c25db64c52
DIST flexmock-2.3.2.tar.gz 90471 SHA256 89263d4c1bfc3806bc1f8f03014abf5a2870ff432dd98c7c6c776c7e2b945cce SHA512 ee71524e1ac283a31e66a0e2e6054ee962d861781d8850e396065862c95138ed90a35e7751c54f133f87c616930be61dd24eca5d8d244f96277f25b8f3ccb6e0 WHIRLPOOL a23bff81c5f0642d9bab054417dcaceb5aaa9b0bd3abf710845e854d0243c2828adece27af5792ce51b83dcfd04affa6e999c4326be69f03e65eb32a1325cbb2
DIST flexmock-2.3.4.tar.gz 90844 SHA256 d9a8fb0cc4479f1b0519550cbe6f6a80d3412f2608141bb03db693d03af4ee9f SHA512 caec33f16c5abe51355745813bb54f714984bccd65b78b8f21d32090552c037e2c6d3b6dbb9b5129ac6b5e7b16912f4d7bef15c629fab9b8be30e8c0a958f6ae WHIRLPOOL 3d782afa286d6add2db3dace25efb4bf0209559e7957f3546bf57fb2f57395a11743b2c5ee3ea450a7f2fa1c68be20391e7f3964a09afe9aa85dcbac4ce78573
+DIST flexmock-2.3.5.tar.gz 91482 SHA256 97404104df369f1dc0c88f1845bae2c872cd721f577f49615a820b6c6a712d70 SHA512 5012228b5fdf5f7501655a6d0d6073b2a2ff6e5b975fd71dd59db16ff9996e0742e0f8ed9ca9a20d4c4da773835b40453de26ff6e43b93f96b5ba6760f01a130 WHIRLPOOL 0c50c954854d1fe1741536e9561a322f0f54eccdc802a5732e05813589eaa7af2c1e0c33959064f310c42c14f651b0a4e09012f7fd812d4f19789e92ee024f82
diff --git a/dev-ruby/flexmock/flexmock-2.3.5.ebuild b/dev-ruby/flexmock/flexmock-2.3.5.ebuild
new file mode 100644
index 000000000000..cf54c66c78e6
--- /dev/null
+++ b/dev-ruby/flexmock/flexmock-2.3.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple mock object library for Ruby unit testing"
+HOMEPAGE="https://github.com/doudou/flexmock"
+SRC_URI="https://github.com/doudou/flexmock/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="flexmock"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/minitest:5
+ dev-ruby/rspec:3
+ )"
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec test/rspec_integration
+ ${RUBY} -Ilib:.:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}
+
+all_ruby_prepare() {
+ sed -i -e '1igem "minitest", "~>5.0"' test/test_helper.rb || die
+}