summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-12-13 07:46:34 +0100
committerHans de Graaff <graaff@gentoo.org>2016-12-13 07:46:34 +0100
commit5d9c6abada4ea38d40b9c1cd0c2e8ffa4dd5995c (patch)
treef6dc38ea8d092bee27851d886c1a7d1cdb8baeac /dev-ruby/fakefs
parentdev-ruby/httpclient: add 2.8.3 (diff)
downloadgentoo-5d9c6abada4ea38d40b9c1cd0c2e8ffa4dd5995c.tar.gz
gentoo-5d9c6abada4ea38d40b9c1cd0c2e8ffa4dd5995c.tar.bz2
gentoo-5d9c6abada4ea38d40b9c1cd0c2e8ffa4dd5995c.zip
dev-ruby/fakefs: add 0.10.1
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.10.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index 186d7caae950..6596708bfb38 100644
--- a/dev-ruby/fakefs/Manifest
+++ b/dev-ruby/fakefs/Manifest
@@ -1,4 +1,5 @@
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.6.0.gem 41984 SHA256 43a668e9a436654d66eff7e896793800b4b8d87c3ecd5a6a84e23fb52580150e SHA512 8c0eac75103e1917551e2f5e74a5324d5a606e7692a8e4c49c9b97e2b5005bd381073a5780a8e6d1fb661a1bb4a67e56c29ce98cd2e2e62cce22602c30e4225f WHIRLPOOL c1a520c9cf3913e727ef570367d238e2ec88eb8d41789d1d33e9227a5a5dd9c62f4a462374066e1e5b5c5ac8bb0f738e6513b4d4182c20969178a82f90aa2739
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
diff --git a/dev-ruby/fakefs/fakefs-0.10.1.ebuild b/dev-ruby/fakefs/fakefs-0.10.1.ebuild
new file mode 100644
index 000000000000..690298824709
--- /dev/null
+++ b/dev-ruby/fakefs/fakefs-0.10.1.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 ~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
+}