summaryrefslogtreecommitdiff
path: root/dev-ruby/fakefs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-08 20:11:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-08 20:11:47 +0100
commitf625b9919a60a30f1bd860f7d1b2eac183ced593 (patch)
tree7543f00925ff7277e31881de0a87801681f6f92f /dev-ruby/fakefs
parente3872864be25f7421015bef2732fa57c0c9fb726 (diff)
gentoo resync : 08.08.2018
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r--dev-ruby/fakefs/Manifest2
-rw-r--r--dev-ruby/fakefs/fakefs-0.18.0.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index 79cf18d2c417..3196830e456a 100644
--- a/dev-ruby/fakefs/Manifest
+++ b/dev-ruby/fakefs/Manifest
@@ -2,8 +2,10 @@ DIST fakefs-0.11.3.tar.gz 44888 BLAKE2B 498dbcbe12389f27b6c6776425910f91ccc45ff8
DIST fakefs-0.14.2.tar.gz 44978 BLAKE2B 6cf17d70c1c65ff5dd17c00d2a2f61860aa2d499365906e8a056d182a2402af08c33b1d4608ed2ea2749a49966eb3142195b5d29b014e41a176e793bd8223e97 SHA512 bfe33f0849a8e72bae6c3b4cdd05485c6ea807f2048decfcda84055fa601c85fcb6ebe0db9de81d9ec77c5040e58335be7109779bd765da73a405541903049e1
DIST fakefs-0.15.0.tar.gz 46331 BLAKE2B 5994921c2696a48ea0541a2a49fc9e372a52ef585a7a48ad4c15303d8f817dbb95411d0efcfb93334ffaac876e349a41cb7330d073f019bb09d60e22f6bf5f1a SHA512 49602cb3dce3b0bd2950e77aed515bcb71dd453bf658c8f15f218abec7fe595aa62969495d46974d983bd52a19d6d19bd2986ad8a6e9b45e370c37259c9f32fb
DIST fakefs-0.17.0.tar.gz 48156 BLAKE2B 0d05def00b527fb0d510ea73d6c39ac9025f5d2e79b04055ef4e7c9250152f9c7a339f2566765da5a406c3c0c561252a70d44da13fdf3b042e58e60275e7465f SHA512 3e63a439a2d9e3898c50453e062808110128d5bcae148d90751e72a2a1ba528e00e4cf1511b4cef3c3fb37b8dcfca038289bef35eaeccc1f766aeb2984530203
+DIST fakefs-0.18.0.tar.gz 49625 BLAKE2B 2b6a93c307df8e8ca50b8f669daf6d662f5798f456ef69c3841249dd7874fb026b1b78ab47db2b3648396b93915e569c529c5339ed73bcacf7f563210a8c1458 SHA512 3a693a0e6338dad0e91fc5176c390d2f1153d093ead1750d084434392d79a8d9ca22c94ba90adadf5ab3931f5b760c32144668f7791f959d442452116165936f
EBUILD fakefs-0.11.3.ebuild 1098 BLAKE2B d31a81a83d641186b7780447a291fab0812191766b5a6600ded1e365d3ffe1807df11ab4bb557d60782532a67cf13b05c5b892fcc8fadbe536eaf3cb9c3a6047 SHA512 52832e5b6530397c423f3ebfa64c7fb9b60e52acc9e5d84aec735a784130ecc75a604ded3cba48979c4e511624e90bbff8d9e3dea9df9dbde84a0bbb8c40f53b
EBUILD fakefs-0.14.2.ebuild 1104 BLAKE2B 5c672ea370bd900215722582fcde3fe53a9318a2a59e6ee555ff887d89ae8bb8f46b99e7ee0d2d960b3171f6113c57d8ceecc2adef89d32a65f75af8880a8de7 SHA512 486e8c96c9ba5099b280990c5d0860e7513fbf40dd1dae361eb760443bb82220a432096077da3eba7baac9d98b5d8f5db8252956a25119d3b47df9b2b0c97f08
EBUILD fakefs-0.15.0.ebuild 1104 BLAKE2B 5c672ea370bd900215722582fcde3fe53a9318a2a59e6ee555ff887d89ae8bb8f46b99e7ee0d2d960b3171f6113c57d8ceecc2adef89d32a65f75af8880a8de7 SHA512 486e8c96c9ba5099b280990c5d0860e7513fbf40dd1dae361eb760443bb82220a432096077da3eba7baac9d98b5d8f5db8252956a25119d3b47df9b2b0c97f08
EBUILD fakefs-0.17.0.ebuild 1104 BLAKE2B 5c672ea370bd900215722582fcde3fe53a9318a2a59e6ee555ff887d89ae8bb8f46b99e7ee0d2d960b3171f6113c57d8ceecc2adef89d32a65f75af8880a8de7 SHA512 486e8c96c9ba5099b280990c5d0860e7513fbf40dd1dae361eb760443bb82220a432096077da3eba7baac9d98b5d8f5db8252956a25119d3b47df9b2b0c97f08
+EBUILD fakefs-0.18.0.ebuild 1104 BLAKE2B 5c672ea370bd900215722582fcde3fe53a9318a2a59e6ee555ff887d89ae8bb8f46b99e7ee0d2d960b3171f6113c57d8ceecc2adef89d32a65f75af8880a8de7 SHA512 486e8c96c9ba5099b280990c5d0860e7513fbf40dd1dae361eb760443bb82220a432096077da3eba7baac9d98b5d8f5db8252956a25119d3b47df9b2b0c97f08
MISC metadata.xml 340 BLAKE2B a31a62212f53154af4d3dce332d30eab8433785cdcb07531f743a5d48f3e7d9dc55580651cdcc765d4dcea5d27e78902624d475f8ae052efc6d9c2eea8b57d0e SHA512 1369c8941ac7aad5dd54222a870a5d173194c4f241093864b25abc1ca97e9f55d8fe928157c11ed63d2281352bbdbf6779cbc00abaac206fd024385ed5eb8478
diff --git a/dev-ruby/fakefs/fakefs-0.18.0.ebuild b/dev-ruby/fakefs/fakefs-0.18.0.ebuild
new file mode 100644
index 000000000000..0190df166417
--- /dev/null
+++ b/dev-ruby/fakefs/fakefs-0.18.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 ~ia64 ~ppc ~ppc64 ~sparc ~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 '/bundler/ s:^:#:' \
+ -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
+}