diff options
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r-- | dev-ruby/fakefs/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/fakefs/fakefs-1.2.3.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest index 16949eccb750..a894e4a51906 100644 --- a/dev-ruby/fakefs/Manifest +++ b/dev-ruby/fakefs/Manifest @@ -2,8 +2,10 @@ DIST fakefs-0.19.2.tar.gz 53405 BLAKE2B c9841f7f2aee5135d149187d03f7f3034d3c6cbc DIST fakefs-0.20.1.tar.gz 53626 BLAKE2B 013f49b57355943eb6624540be93bc069c95409f9e1d49c8cced034656f596ee98fc3ee4dd40cb80383d447164f11242e16a5ffb9b35ba2e28fb136e0f72a09e SHA512 61d83868a0cf4d0abf071fadc9ca21176e3ef8f2ccc781760a8b0b3e55713750d3e952482e90a87e8665163a262e8bdef8e6b2f3c423fabe696d64f356862aa4 DIST fakefs-1.2.1.tar.gz 54106 BLAKE2B bd1128871a36dcf8f0137c9ee13c581cddf2ace5a2959e863c66e52dc5b682c75e0f4507c7d939f6725bc1b5a8446e1747d188b98b1cf557c0d1fccd1d3c7040 SHA512 e18d9c1c5ac444f2a9db362dac3c4563f27c4f9b6e6870960e85882ab28dadee53bd56f6933f6317d3128a5ad3862980fa9e2a72cbf7352c58c18a6cee68163f DIST fakefs-1.2.2.tar.gz 54072 BLAKE2B 6e1865377c6586fb409f6392b0313e750c1810b9479c120622757f711da55644e8224c8245ce0ac187c6d531a80ae54081add5572b5170f367fdf1d58b4df924 SHA512 4bd0995a1dca27a15da49962b0fddc1daf1e11f88767bcc36e57883ec62e4270d5d6873f52d64859301a5f186e467d368fbfbc0dcabfbfe24bfdff6b6a14389d +DIST fakefs-1.2.3.tar.gz 54054 BLAKE2B ae8202b7f28d4d1b326e016d96382b7cfaf012fb842d63150bb09b6ddb5de96bb6d548635877d2d057137bbc23c46c30340ebae3641d70d7955f609bb4cc4af2 SHA512 5051a3b81ba5919cdb6cd4a92f4e6af6ed5140afb35247b1775f4602083e23f903c582e038596a3bb27ab3f69128ef3d9fc2635d015fdb23babf21ff200c4692 EBUILD fakefs-0.19.2.ebuild 1080 BLAKE2B dcb69fe5ff3248f59f3559320e6f6762bc1967d770884ddadf9073f01bd30e383d4f372e4037628717d29f346ae39a78775aff09744683337074170a1d782267 SHA512 ad993b3f98acd2b23f22d29591f3f0c4bc82037e41183cf2990f970e946bc62785349557309a7ef9bd6e63f2c7917d740f335bd1f5da0fff582f7039c8d84d47 EBUILD fakefs-0.20.1.ebuild 1085 BLAKE2B e0b78ba840658f360c172891347b2609b1ba90e86ef7c711b18c10e8457134e06f87fc5dc22eea79f2c102019ac983651e7ff6d9fe5d74bf3d6d1847eb5d480a SHA512 4dfd3003578b726f089453bf5f08ce514527b587668839f63ae7064e0e8c066a9d7bebcb220c1ab6d20324699c365d93d1dfdd5c11b069158c1d4e005915a1a8 EBUILD fakefs-1.2.1.ebuild 1159 BLAKE2B b91494fc073529e5ac38d849163d6402cae6e04abb24b7036cd99e00a62def4aec8448e6ec7e1fe4d34133341a003c43e4b82e59f2d40ebe2331bab4116e44c9 SHA512 3e54ee363c15f2bad5f0af29d2f4cb234306613cf0704cbf16922a914ebfea4a0cf57bb45d577071f2973b416486a4e5d2a5bb2fbb569b10d536bc4c97699361 EBUILD fakefs-1.2.2.ebuild 1161 BLAKE2B f8d0c357c77e4c3b7a9ac72393ad3018cc88de012364716312c4b681d8af009a4699ea75726491572003ea6ce89e4b241a50bf77c9165a446617924c76eaa117 SHA512 f5772ba4a82c9c9093960bad62120ec337632b4cf0eec9d62fea3963b5ba08f04f2e85b10f0b6a8eb8290e8912656a559a32ab6e615b19e54052532b662fa8fe +EBUILD fakefs-1.2.3.ebuild 1154 BLAKE2B 681a9fe6a0465a1360cc463fb8796078ef6a68615782423db7448511d4f8c763043557d1b3cf4187f812ca97848519b0ea2551777900e06ee814f837278c8a22 SHA512 e21b9e2cb83a355a815f30f653926f1abbe6f6749ad95388c01229834e4cab33695c2486b6fee16388204dfa0dd15dcdd0ac8e3c4877c925ea938de3de3ba533 MISC metadata.xml 340 BLAKE2B a31a62212f53154af4d3dce332d30eab8433785cdcb07531f743a5d48f3e7d9dc55580651cdcc765d4dcea5d27e78902624d475f8ae052efc6d9c2eea8b57d0e SHA512 1369c8941ac7aad5dd54222a870a5d173194c4f241093864b25abc1ca97e9f55d8fe928157c11ed63d2281352bbdbf6779cbc00abaac206fd024385ed5eb8478 diff --git a/dev-ruby/fakefs/fakefs-1.2.3.ebuild b/dev-ruby/fakefs/fakefs-1.2.3.ebuild new file mode 100644 index 000000000000..16d45a8ca419 --- /dev/null +++ b/dev-ruby/fakefs/fakefs-1.2.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +RUBY_FAKEGEM_GEMSPEC="fakefs.gemspec" + +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 ~ppc ~ppc64 ~sparc ~x86 ~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/maxitest-3.6:1 + )" + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + + # Avoid unneeded minitest-rg dependency. + sed -i -e '1igem "minitest", "~>5.5"' \ + -e '/bundler/ s:^:#:' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} |