summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-26 06:56:56 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-26 06:56:56 +0100
commita4b9b3b2bee22c418617fb4a2eefe60f487492ae (patch)
treeb5d9b129d6b73e588e14360daf3e5a9d779ce974 /dev-ruby/fakefs
parentdev-ruby/fakefs: add back ~alpha keyword (diff)
downloadgentoo-a4b9b3b2bee22c418617fb4a2eefe60f487492ae.tar.gz
gentoo-a4b9b3b2bee22c418617fb4a2eefe60f487492ae.tar.bz2
gentoo-a4b9b3b2bee22c418617fb4a2eefe60f487492ae.zip
dev-ruby/fakefs: add 0.10.2
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r--dev-ruby/fakefs/Manifest1
-rw-r--r--dev-ruby/fakefs/fakefs-0.10.2.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index 276a4ab355a1..393f1107cf36 100644
--- a/dev-ruby/fakefs/Manifest
+++ b/dev-ruby/fakefs/Manifest
@@ -1,5 +1,6 @@
DIST fakefs-0.10.0.tar.gz 44042 SHA256 fe7344afd8f329eb4155fdbe6110393ccb698fc3ec4b1294d3c2f93c1139a707 SHA512 f195320947e612ff148eeca2ca918201c6de7046caa3db90a5b011a9605347fe1e17563195ede19ba64fa96958de6204d55f45aa76cd8858d4926a4da0e3aea8 WHIRLPOOL 3b5c0b6fdd469875bf9f7166e4f854b5131c48417469f59fd49533477a22635e6b9c23b32ffe39c0b91aadf437a43c5350ff70abc52c6aa4f93900aa83b688e9
DIST fakefs-0.10.1.tar.gz 44083 SHA256 5b0b1746f7ee8eafa4a8b045a37fa120ffe1f0adc10d0f94fe95b01f085ae9db SHA512 e15fc500839a9040715d7af8c16caab7102cb16563451b70232cc22049c0fd3c77703688cbf7a051c96d412607032c6d8f6664c8dd94a68821e15c57276d228d WHIRLPOOL b8c006570e0d2535bb14b52a66fc2bda05561234d7241d2d86bdecc9b8c19243525e9aa15968890f70cfa1d30446ee7e97d6e8e7225c88db3265717a095d0953
+DIST fakefs-0.10.2.tar.gz 44086 SHA256 1cfe46b784f1bdba1ca7ec33ea5b2a64ad7f0e1fc23a9cb07e5a230de0c48ee6 SHA512 6c74692bfeebe90be663b3f3293a31bc5a5a1b65102cc7f3eba55f695a23380dcda9792d1bcfdde018c8f749f56a024dc581c99b0992a6e6271b9ea19596c478 WHIRLPOOL 5da139155286a7c2f8d6a56251081108aa9f0cb8cdcfab46cb29499ae51a25e7b0c4b42c777b926864babb54482067f86d107fc48d5c7b836da42ee1296c0606
DIST fakefs-0.6.0.gem 41984 SHA256 43a668e9a436654d66eff7e896793800b4b8d87c3ecd5a6a84e23fb52580150e SHA512 8c0eac75103e1917551e2f5e74a5324d5a606e7692a8e4c49c9b97e2b5005bd381073a5780a8e6d1fb661a1bb4a67e56c29ce98cd2e2e62cce22602c30e4225f WHIRLPOOL c1a520c9cf3913e727ef570367d238e2ec88eb8d41789d1d33e9227a5a5dd9c62f4a462374066e1e5b5c5ac8bb0f738e6513b4d4182c20969178a82f90aa2739
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.10.2.ebuild b/dev-ruby/fakefs/fakefs-0.10.2.ebuild
new file mode 100644
index 000000000000..39ec1bbece3e
--- /dev/null
+++ b/dev-ruby/fakefs/fakefs-0.10.2.ebuild
@@ -0,0 +1,43 @@
+# 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_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="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~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
+}