diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-04-09 06:54:39 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-04-09 06:54:39 +0200 |
commit | da2b34ad7b5418aa953da7758685ae21a899701c (patch) | |
tree | 0f7eacb60ae5bb546d560c12fcd2860fa689d5d5 /dev-ruby/fakefs | |
parent | dev-ruby/fakefs: cleanup (diff) | |
download | gentoo-da2b34ad7b5418aa953da7758685ae21a899701c.tar.gz gentoo-da2b34ad7b5418aa953da7758685ae21a899701c.tar.bz2 gentoo-da2b34ad7b5418aa953da7758685ae21a899701c.zip |
dev-ruby/fakefs: add 0.11.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r-- | dev-ruby/fakefs/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/fakefs/fakefs-0.11.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest index af42bc039ac7..c11e767dde33 100644 --- a/dev-ruby/fakefs/Manifest +++ b/dev-ruby/fakefs/Manifest @@ -1,4 +1,5 @@ DIST fakefs-0.10.2.tar.gz 44086 SHA256 1cfe46b784f1bdba1ca7ec33ea5b2a64ad7f0e1fc23a9cb07e5a230de0c48ee6 SHA512 6c74692bfeebe90be663b3f3293a31bc5a5a1b65102cc7f3eba55f695a23380dcda9792d1bcfdde018c8f749f56a024dc581c99b0992a6e6271b9ea19596c478 WHIRLPOOL 5da139155286a7c2f8d6a56251081108aa9f0cb8cdcfab46cb29499ae51a25e7b0c4b42c777b926864babb54482067f86d107fc48d5c7b836da42ee1296c0606 +DIST fakefs-0.11.0.tar.gz 44675 SHA256 43053f3997afe9ed909e1e24e044bd6ce8db153d830847042bf8fd1cf6ce0eb3 SHA512 8d3347e7d2f088eba75a67c61b029a8eb40a14a553824c74d0af1f22211daed3502d7e31676cad90c436cbece17f5d3ee7522bc4ede9578d3ee5ab24ca02b4c5 WHIRLPOOL 11d084e4308ecefa446fe640a8e6ec5a4a5787d33fbe84ced312773ef9e25ab145a3ea25657a2c45622beb85f28dbf370970152be09cc02d6ee70e7ddc36ad01 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.11.0.ebuild b/dev-ruby/fakefs/fakefs-0.11.0.ebuild new file mode 100644 index 000000000000..2e74e364545a --- /dev/null +++ b/dev-ruby/fakefs/fakefs-0.11.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |