diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-01-23 08:41:02 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-01-23 08:47:14 +0100 |
commit | 4aac79c2174839a90aabd42a91a296a6582cee91 (patch) | |
tree | a9182846841b9328fc9d6a7b0bcf50591d44cbd6 /dev-ruby/fakefs | |
parent | dev-ruby/arel-helpers: add 2.2.0 (diff) | |
download | gentoo-4aac79c2174839a90aabd42a91a296a6582cee91.tar.gz gentoo-4aac79c2174839a90aabd42a91a296a6582cee91.tar.bz2 gentoo-4aac79c2174839a90aabd42a91a296a6582cee91.zip |
dev-ruby/fakefs: add 0.7.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r-- | dev-ruby/fakefs/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/fakefs/fakefs-0.7.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest index 9c382f456989..fbfd41c57932 100644 --- a/dev-ruby/fakefs/Manifest +++ b/dev-ruby/fakefs/Manifest @@ -1,3 +1,4 @@ DIST fakefs-0.6.0.gem 41984 SHA256 43a668e9a436654d66eff7e896793800b4b8d87c3ecd5a6a84e23fb52580150e SHA512 8c0eac75103e1917551e2f5e74a5324d5a606e7692a8e4c49c9b97e2b5005bd381073a5780a8e6d1fb661a1bb4a67e56c29ce98cd2e2e62cce22602c30e4225f WHIRLPOOL c1a520c9cf3913e727ef570367d238e2ec88eb8d41789d1d33e9227a5a5dd9c62f4a462374066e1e5b5c5ac8bb0f738e6513b4d4182c20969178a82f90aa2739 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 diff --git a/dev-ruby/fakefs/fakefs-0.7.0.ebuild b/dev-ruby/fakefs/fakefs-0.7.0.ebuild new file mode 100644 index 000000000000..a3072e9941c7 --- /dev/null +++ b/dev-ruby/fakefs/fakefs-0.7.0.ebuild @@ -0,0 +1,44 @@ +# 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" + +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 +} |