summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-02-27 07:58:10 +0100
committerHans de Graaff <graaff@gentoo.org>2016-02-27 07:58:10 +0100
commit673ef54ca5b16c9675b7995502aeacc0bcd97f28 (patch)
tree87b54a261f2c69038ed348525b9f16e1eacac33b /dev-ruby
parentdev-ruby/domain_name: add 0.5.20160216 (diff)
downloadgentoo-673ef54ca5b16c9675b7995502aeacc0bcd97f28.tar.gz
gentoo-673ef54ca5b16c9675b7995502aeacc0bcd97f28.tar.bz2
gentoo-673ef54ca5b16c9675b7995502aeacc0bcd97f28.zip
dev-ruby/fakefs: add 0.8.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/fakefs/Manifest1
-rw-r--r--dev-ruby/fakefs/fakefs-0.8.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index fbfd41c5793..26119abd652 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.6.5.gem 44032 SHA256 4c3c5378c839bd8f8e94dab767b417c74273cefda703bf338358d8e964bbf9ed SHA512 eef1500627eac9d2df312a74783ee43f3bcc8aaa83824cfb2ccf11bb6d21cc0e6d95d72a4aab78eaa15edbe9a856146ec3ef97408569d5eac56fc4bba2a12f56 WHIRLPOOL 09c03ae8500343ac771f019a21b19494d94e3fd1f114d78c9ba037d214e40a2927b083652a24d044190bb9cb81ded0ac2b1e1ea1dab953fbce462c541184b3da
DIST fakefs-0.6.7.gem 44544 SHA256 2fd9f56aecac9de55db0b4111f4f53d6ebbe00e68dd1cc089cc4c2d8589eb9a1 SHA512 1fe50b7692a153dfc2d48cb0fb4eb545a52c04362154d72a8b887f7d8f9fb5973abc13c685eba0f9cd4dbdf5a783ab8de2bd978747050b72b4f248c1a0d271c2 WHIRLPOOL cf7a3a96f1efcd70b233fa129f0c5782b6b19bb3039960d2de981c9dc889c60956d313e8b17a21fab31a23013cce2b3fc2fd8f33f2603323c2e315aa85c18370
DIST fakefs-0.7.0.gem 45568 SHA256 26f222a646ca113c5cb0a7c0adb90a521e5c791a809801270f55c1462769bced SHA512 881342155a153211a0f76b37722e60de08be953a3345fffab9f57f141d3e5443636e5d82a97620487319fb61b9932051ff73e9fc8aa9f12fb7acaf02ea31e4e4 WHIRLPOOL 8ed1060a9ac3fbe8b334f5dc7ab23371d156faa0afcae76eb069b365df7a3e2e8b723931358ab065cd1e5bd9fae384abadc77b385c239847f2a09c9ca00b4440
+DIST fakefs-0.8.0.tar.gz 42199 SHA256 fa0fd9e0c7abdada30c590983d37d6748b3abd9b54a8717d19ff933cec64b5c9 SHA512 f20165375bf28eff8328ed15883591abc5148ad302b42fc36154d807b004ea863ae7fdf95938d7468fe3506bb2dee9c020e1dfef30d70deaa2a4983e3c52ec0f WHIRLPOOL 520e2d74bc4db63e36e46b0edbb75d34c37eb46d42327a7500e3b87d648432f34381b69ba9be4ea14ea791f50556501c700a002066883313358ad6b2063d45aa
diff --git a/dev-ruby/fakefs/fakefs-0.8.0.ebuild b/dev-ruby/fakefs/fakefs-0.8.0.ebuild
new file mode 100644
index 00000000000..09665862ff4
--- /dev/null
+++ b/dev-ruby/fakefs/fakefs-0.8.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+# requires sdoc
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.markdown"
+
+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 ~ia64 ~ppc ~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
+}