summaryrefslogtreecommitdiff
path: root/dev-ruby/fakefs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-ruby/fakefs
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r--dev-ruby/fakefs/Manifest2
-rw-r--r--dev-ruby/fakefs/fakefs-1.0.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index ea4d8bcfc610..28bc6f4bac4c 100644
--- a/dev-ruby/fakefs/Manifest
+++ b/dev-ruby/fakefs/Manifest
@@ -1,7 +1,9 @@
DIST fakefs-0.19.2.tar.gz 53405 BLAKE2B c9841f7f2aee5135d149187d03f7f3034d3c6cbce6d33d3710fcdbd936b4599561c857dfac81f13262da6f067a843d0c3159abca0e8be7f77c95ff20e8bd123a SHA512 e27eedff44c3ff556b0e7a22e434205e54847a6f6b03a8ab7604c2f2e9abf8be7d5b8d29bd51e24cc032dfb3aaf7940060c3dae5532b0921e363d2213b12ed90
DIST fakefs-0.20.0.tar.gz 53591 BLAKE2B 067fef803bb0efb50f63f0c0fb645bb4d0d1c00d198cdf367e99871c6cb9e28cc1d4f0a52318a61c446577aa58170143c2aea4b0b826136610430abf996d03aa SHA512 9f9b2cef58709f7ab1147602b2f47d6a0302b217cc7210537605491f9db6477183e5fa447974c0572f1a1fbecce1029e451241d44b5f96eec97a7521275c165c
DIST fakefs-0.20.1.tar.gz 53626 BLAKE2B 013f49b57355943eb6624540be93bc069c95409f9e1d49c8cced034656f596ee98fc3ee4dd40cb80383d447164f11242e16a5ffb9b35ba2e28fb136e0f72a09e SHA512 61d83868a0cf4d0abf071fadc9ca21176e3ef8f2ccc781760a8b0b3e55713750d3e952482e90a87e8665163a262e8bdef8e6b2f3c423fabe696d64f356862aa4
+DIST fakefs-1.0.0.tar.gz 53753 BLAKE2B 41ce41ef7551b8fde429b1e4c4f933fe141d131eee40976df3873c0eeaddc1d75cc1ba93e7ff12b322296a4767759376cd118ef54e6c36a02b5b6bef4af54af1 SHA512 7e3ae7fb426413882efe98866257fc734a9baaaa834f70d82ec907f74c2c34109f09e6621e120e20f6813267e2ab6c1270288bc9419d2a0d29c4b1d49f1a345e
EBUILD fakefs-0.19.2.ebuild 1092 BLAKE2B 71d974374fda2854b4d10d24beed63082ad4398789fb41ef4ba515b81baa378872a684515343c30a6621240e8c811790092cd207a3ea09bac466f2ffa5760b0f SHA512 5d0ab5f78a4f2beb349f82a498d34605fb677f89edd7f75c39e321e0aee77e233882aa8a12463602bd6d653d598ff8fe3fbe9c8bb70dbce579847887874166f2
EBUILD fakefs-0.20.0.ebuild 1098 BLAKE2B 82861c596f3cf714aa903a781f77b57683a74effa3c1888714dd3e0581bdd9c53063ccd0ebce528c74bc147e3f4e96c3d3358e4ab1692216d9ba2533f69cd817 SHA512 88aa57351d8dfe6c19160dd521bceb74636df97543d23dff6f9f1e4e40256f2cc52131af13375a7f7cd74344ad989a6aefdd3304662c6fddc29a21a282b1dbc6
EBUILD fakefs-0.20.1.ebuild 1098 BLAKE2B 82861c596f3cf714aa903a781f77b57683a74effa3c1888714dd3e0581bdd9c53063ccd0ebce528c74bc147e3f4e96c3d3358e4ab1692216d9ba2533f69cd817 SHA512 88aa57351d8dfe6c19160dd521bceb74636df97543d23dff6f9f1e4e40256f2cc52131af13375a7f7cd74344ad989a6aefdd3304662c6fddc29a21a282b1dbc6
+EBUILD fakefs-1.0.0.ebuild 1060 BLAKE2B 4fdd0ea7a68b05838b908e16f37a9cc56cd3cc3d058f179ed316ec3a407ea1fe48f87ad1b5275838e4bb07ed0aed22da2cdf074d88379f226828cc904203afbf SHA512 a8c2bd2ed441f33935d66580f2552ad0e551cd63739f9f421718ee09497cfda3842cd8ec10059c4268250430383747092a5010e494cc0651141a51d1c9e62523
MISC metadata.xml 340 BLAKE2B a31a62212f53154af4d3dce332d30eab8433785cdcb07531f743a5d48f3e7d9dc55580651cdcc765d4dcea5d27e78902624d475f8ae052efc6d9c2eea8b57d0e SHA512 1369c8941ac7aad5dd54222a870a5d173194c4f241093864b25abc1ca97e9f55d8fe928157c11ed63d2281352bbdbf6779cbc00abaac206fd024385ed5eb8478
diff --git a/dev-ruby/fakefs/fakefs-1.0.0.ebuild b/dev-ruby/fakefs/fakefs-1.0.0.ebuild
new file mode 100644
index 000000000000..24e11d59a8d2
--- /dev/null
+++ b/dev-ruby/fakefs/fakefs-1.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+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 ~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
+}