summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-10-17 07:23:03 +0200
committerHans de Graaff <graaff@gentoo.org>2016-10-17 07:23:03 +0200
commit734690baa9b14e217c6c06a6124e98cc6ad6cc84 (patch)
tree1474b48f3be0b8e5805e3ff7dd51d040b8e769d0 /dev-ruby/fakefs
parentdev-ruby/msgpack: add 1.0.1 (diff)
downloadgentoo-734690baa9b14e217c6c06a6124e98cc6ad6cc84.tar.gz
gentoo-734690baa9b14e217c6c06a6124e98cc6ad6cc84.tar.bz2
gentoo-734690baa9b14e217c6c06a6124e98cc6ad6cc84.zip
dev-ruby/fakefs: add 0.9.3
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r--dev-ruby/fakefs/Manifest1
-rw-r--r--dev-ruby/fakefs/fakefs-0.9.3.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index 70ed97c28f8c..a80fdd4654fc 100644
--- a/dev-ruby/fakefs/Manifest
+++ b/dev-ruby/fakefs/Manifest
@@ -2,3 +2,4 @@ DIST fakefs-0.6.0.gem 41984 SHA256 43a668e9a436654d66eff7e896793800b4b8d87c3ecd5
DIST fakefs-0.8.1.tar.gz 42214 SHA256 b0b997e740045c47aece10fc24fdf5549886e8167acac19e65b65496bfa58d5e SHA512 1b729ece33b56eb8ae5e9cd2632f9e75adc318fbd34c9180bbe71853b96303563fd0cf8cc420ef8a8a5dd591bad4350be1efcb9847d9449531b4a4b3776017c5 WHIRLPOOL 279e6fc2a83d2214fe5710e289e75a772549f3d3e28a6405b22734430e1218e0117104acbce74699646a834300dd1685b2a5395626ff66dae96db010faee798e
DIST fakefs-0.9.0.tar.gz 42557 SHA256 ad04fdd2700564a5c3483274b3ae7d56c286f69ffc73bdeae4f28fecf0c1c592 SHA512 a54a11692017dba1a07609f59be29095a2175838c4946602c25fcb030d511ccec9ac33118c8a96f86cc8793d13d0ae4566fb0a9d3531b67df86b91b07077d03b WHIRLPOOL f5be70a34a41bda398e89cbf3b009d2c30bd0318b740c29cd3d7a803efe3772bcc975ad8b7ce2614d8213e40eb2e3f6aaebedf66026a1792a4b860c743898109
DIST fakefs-0.9.2.tar.gz 42792 SHA256 ee101189b93b96ef6980d10e6320294641488691e4ab9b6057169f3fd1fc43fa SHA512 ba68f9d240d54379ba8b16dcb3e375b586c50f78a081a916151d21af2d6d8b61471fdc842ad91d1390e8dcf54b0744e95ba4794a5ebc915858886ec47f9dbb8a WHIRLPOOL 60362f90e57abee6bfa6b8ecc833b6ff62558b7b14efe8f0c084b244e961511c839446f1f16bc7b1c1361c8cdc5031993083cac4a9aab6ed081f8fea5e6275be
+DIST fakefs-0.9.3.tar.gz 43920 SHA256 e08987f90f800a686a911ea1c93eb56054b1722fb2a9d21e9a5351134c881743 SHA512 d1973f599d8721aeabc65c45e9de0342cba94fb095379234fc7fc80be8459a98aa7c491e9bd112b036df77fdbdf3069d0ac2d1132a9592a9a776cac7881ef4c0 WHIRLPOOL 50aceb78ba99136e7b2a5524910b034d3a8daada1353ae9309ed47d9e29ac6700b71e4a4800697fbc89c140e1303580474c3f2bebac24f472895006789a0d1e3
diff --git a/dev-ruby/fakefs/fakefs-0.9.3.ebuild b/dev-ruby/fakefs/fakefs-0.9.3.ebuild
new file mode 100644
index 000000000000..290c1fc90e58
--- /dev/null
+++ b/dev-ruby/fakefs/fakefs-0.9.3.ebuild
@@ -0,0 +1,43 @@
+# 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_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="A fake filesystem. Use it in your tests"
+HOMEPAGE="https://github.com/defunkt/fakefs"
+SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/rspec-3.1:3
+ >=dev-ruby/minitest-5.5
+ )"
+
+all_ruby_prepare() {
+ # Remove bundler
+ rm Gemfile || die
+
+ # Avoid unneeded minitest-rg dependency.
+ sed -i -e '1igem "minitest", "~>5.5"' \
+ -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
+}