diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-10-06 08:01:11 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-10-06 08:02:28 +0200 |
commit | efb9b43b6371bb6b4ba8bde40321239bf0dd3ebe (patch) | |
tree | b0d7397f46065f01f6f1be572711befefe288853 /dev-ruby/fakefs | |
parent | dev-ruby/asciidoctor: add 1.5.5 (diff) | |
download | gentoo-efb9b43b6371bb6b4ba8bde40321239bf0dd3ebe.tar.gz gentoo-efb9b43b6371bb6b4ba8bde40321239bf0dd3ebe.tar.bz2 gentoo-efb9b43b6371bb6b4ba8bde40321239bf0dd3ebe.zip |
dev-ruby/fakefs: add 0.9.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r-- | dev-ruby/fakefs/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/fakefs/fakefs-0.9.2.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest index 41cc8b54492f..70ed97c28f8c 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.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 diff --git a/dev-ruby/fakefs/fakefs-0.9.2.ebuild b/dev-ruby/fakefs/fakefs-0.9.2.ebuild new file mode 100644 index 000000000000..3a885fbf83fd --- /dev/null +++ b/dev-ruby/fakefs/fakefs-0.9.2.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" + +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 ~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 +} |