summaryrefslogtreecommitdiff
path: root/dev-ruby/fakefs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /dev-ruby/fakefs
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r--dev-ruby/fakefs/Manifest2
-rw-r--r--dev-ruby/fakefs/fakefs-1.2.2.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index 4a6d98aef4a5..238564b4fde1 100644
--- a/dev-ruby/fakefs/Manifest
+++ b/dev-ruby/fakefs/Manifest
@@ -4,10 +4,12 @@ DIST fakefs-0.20.1.tar.gz 53626 BLAKE2B 013f49b57355943eb6624540be93bc069c95409f
DIST fakefs-1.0.0.tar.gz 53753 BLAKE2B 41ce41ef7551b8fde429b1e4c4f933fe141d131eee40976df3873c0eeaddc1d75cc1ba93e7ff12b322296a4767759376cd118ef54e6c36a02b5b6bef4af54af1 SHA512 7e3ae7fb426413882efe98866257fc734a9baaaa834f70d82ec907f74c2c34109f09e6621e120e20f6813267e2ab6c1270288bc9419d2a0d29c4b1d49f1a345e
DIST fakefs-1.2.0.tar.gz 53920 BLAKE2B e0a2af3d581af36931b6311dbcc6d13abf8f61e0637609a440dcac121a3dca214dd9d921f80cb1863b6bfeecf7ce0d9e4253b468170eb1c320152ac89e8f4b90 SHA512 0cd48757035be35e3e85a2f3f12570b8ccce2659f5d9563dd5a45fa0b541702f1f9c1d03d5660c1c52f9372bb6f9067d701b5ddf17a2f36a4a43d9618d22572e
DIST fakefs-1.2.1.tar.gz 54106 BLAKE2B bd1128871a36dcf8f0137c9ee13c581cddf2ace5a2959e863c66e52dc5b682c75e0f4507c7d939f6725bc1b5a8446e1747d188b98b1cf557c0d1fccd1d3c7040 SHA512 e18d9c1c5ac444f2a9db362dac3c4563f27c4f9b6e6870960e85882ab28dadee53bd56f6933f6317d3128a5ad3862980fa9e2a72cbf7352c58c18a6cee68163f
+DIST fakefs-1.2.2.tar.gz 54072 BLAKE2B 6e1865377c6586fb409f6392b0313e750c1810b9479c120622757f711da55644e8224c8245ce0ac187c6d531a80ae54081add5572b5170f367fdf1d58b4df924 SHA512 4bd0995a1dca27a15da49962b0fddc1daf1e11f88767bcc36e57883ec62e4270d5d6873f52d64859301a5f186e467d368fbfbc0dcabfbfe24bfdff6b6a14389d
EBUILD fakefs-0.19.2.ebuild 1080 BLAKE2B dcb69fe5ff3248f59f3559320e6f6762bc1967d770884ddadf9073f01bd30e383d4f372e4037628717d29f346ae39a78775aff09744683337074170a1d782267 SHA512 ad993b3f98acd2b23f22d29591f3f0c4bc82037e41183cf2990f970e946bc62785349557309a7ef9bd6e63f2c7917d740f335bd1f5da0fff582f7039c8d84d47
EBUILD fakefs-0.20.0.ebuild 1085 BLAKE2B e0b78ba840658f360c172891347b2609b1ba90e86ef7c711b18c10e8457134e06f87fc5dc22eea79f2c102019ac983651e7ff6d9fe5d74bf3d6d1847eb5d480a SHA512 4dfd3003578b726f089453bf5f08ce514527b587668839f63ae7064e0e8c066a9d7bebcb220c1ab6d20324699c365d93d1dfdd5c11b069158c1d4e005915a1a8
EBUILD fakefs-0.20.1.ebuild 1085 BLAKE2B e0b78ba840658f360c172891347b2609b1ba90e86ef7c711b18c10e8457134e06f87fc5dc22eea79f2c102019ac983651e7ff6d9fe5d74bf3d6d1847eb5d480a SHA512 4dfd3003578b726f089453bf5f08ce514527b587668839f63ae7064e0e8c066a9d7bebcb220c1ab6d20324699c365d93d1dfdd5c11b069158c1d4e005915a1a8
EBUILD fakefs-1.0.0.ebuild 1047 BLAKE2B a33d2094a6b4cfbaf28764878ba2485738dfc218de98e57676dc709d19dc9978757e55086a57ca66edfc361554f4e2b96abf9a96debca9edd0aa598539762602 SHA512 14e4c94a77620de5a083c163893a0a6e3763d79cfc44a2f8382f4a1831a89e0a672badc7042eb5bec4ad81d401589600a27e2258eb70abffdb46fa1d2c680afa
EBUILD fakefs-1.2.0.ebuild 1159 BLAKE2B b91494fc073529e5ac38d849163d6402cae6e04abb24b7036cd99e00a62def4aec8448e6ec7e1fe4d34133341a003c43e4b82e59f2d40ebe2331bab4116e44c9 SHA512 3e54ee363c15f2bad5f0af29d2f4cb234306613cf0704cbf16922a914ebfea4a0cf57bb45d577071f2973b416486a4e5d2a5bb2fbb569b10d536bc4c97699361
EBUILD fakefs-1.2.1.ebuild 1159 BLAKE2B b91494fc073529e5ac38d849163d6402cae6e04abb24b7036cd99e00a62def4aec8448e6ec7e1fe4d34133341a003c43e4b82e59f2d40ebe2331bab4116e44c9 SHA512 3e54ee363c15f2bad5f0af29d2f4cb234306613cf0704cbf16922a914ebfea4a0cf57bb45d577071f2973b416486a4e5d2a5bb2fbb569b10d536bc4c97699361
+EBUILD fakefs-1.2.2.ebuild 1161 BLAKE2B f8d0c357c77e4c3b7a9ac72393ad3018cc88de012364716312c4b681d8af009a4699ea75726491572003ea6ce89e4b241a50bf77c9165a446617924c76eaa117 SHA512 f5772ba4a82c9c9093960bad62120ec337632b4cf0eec9d62fea3963b5ba08f04f2e85b10f0b6a8eb8290e8912656a559a32ab6e615b19e54052532b662fa8fe
MISC metadata.xml 340 BLAKE2B a31a62212f53154af4d3dce332d30eab8433785cdcb07531f743a5d48f3e7d9dc55580651cdcc765d4dcea5d27e78902624d475f8ae052efc6d9c2eea8b57d0e SHA512 1369c8941ac7aad5dd54222a870a5d173194c4f241093864b25abc1ca97e9f55d8fe928157c11ed63d2281352bbdbf6779cbc00abaac206fd024385ed5eb8478
diff --git a/dev-ruby/fakefs/fakefs-1.2.2.ebuild b/dev-ruby/fakefs/fakefs-1.2.2.ebuild
new file mode 100644
index 000000000000..15757bac85af
--- /dev/null
+++ b/dev-ruby/fakefs/fakefs-1.2.2.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="ruby24 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
+}