summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-09-14 06:56:04 +0200
committerHans de Graaff <graaff@gentoo.org>2017-09-14 06:56:04 +0200
commitdb6bce68bac290df1fc523c5fc7ea38cb995ac6c (patch)
treece3cb92c28cf09908daad396ef97a1e087fad2c4 /dev-ruby/fakefs
parentdev-ruby/curses: add 1.2.4 (diff)
downloadgentoo-db6bce68bac290df1fc523c5fc7ea38cb995ac6c.tar.gz
gentoo-db6bce68bac290df1fc523c5fc7ea38cb995ac6c.tar.bz2
gentoo-db6bce68bac290df1fc523c5fc7ea38cb995ac6c.zip
dev-ruby/fakefs: add 0.11.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r--dev-ruby/fakefs/Manifest1
-rw-r--r--dev-ruby/fakefs/fakefs-0.11.2.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index 9e5fc4ba1351..3fd475a4a86b 100644
--- a/dev-ruby/fakefs/Manifest
+++ b/dev-ruby/fakefs/Manifest
@@ -1,4 +1,5 @@
DIST fakefs-0.11.0.tar.gz 44675 SHA256 43053f3997afe9ed909e1e24e044bd6ce8db153d830847042bf8fd1cf6ce0eb3 SHA512 8d3347e7d2f088eba75a67c61b029a8eb40a14a553824c74d0af1f22211daed3502d7e31676cad90c436cbece17f5d3ee7522bc4ede9578d3ee5ab24ca02b4c5 WHIRLPOOL 11d084e4308ecefa446fe640a8e6ec5a4a5787d33fbe84ced312773ef9e25ab145a3ea25657a2c45622beb85f28dbf370970152be09cc02d6ee70e7ddc36ad01
DIST fakefs-0.11.1.tar.gz 44692 SHA256 9436542d5d5d8ced67a84e459d7efd0ba3557fb2c8e61c50ee099eff9a338e31 SHA512 068137085a400f4a66394910e04434b9ed8bc317dcbe9d0b3d4d3034d11652771fc0fa7f48ff8e791fa2e33b9221b9d6dd8dd73c7c493b884dbe4f4a98f58722 WHIRLPOOL d598cc913a4a532aad8f465e02ae2e895f6a5060b81bcb743c683f0c9d8f3b41745a0e5486a2669794c05b4f43ab604f00cdca94e902a1e4291084a65bf759d0
+DIST fakefs-0.11.2.tar.gz 44830 SHA256 c936930397a3b307b549d86e3adde1ad9ccd50d776f3e88dff70828270dd2084 SHA512 a381f895d1dc38258c4a4d6bd804d0d9b483211534ce9e63929106256c9d93cd26b9b91e77a8bc5b9d185ce8ead89639fae744745bc1100a431d5cacd799c1ee WHIRLPOOL 0b11d2d0ddf510eda6931c670c8c522434a58d26806108d53c216b9b5bc080552675a0c234e66c088f7087f96c3119fb6b13a278ac555304a87863fc5869c1e2
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
diff --git a/dev-ruby/fakefs/fakefs-0.11.2.ebuild b/dev-ruby/fakefs/fakefs-0.11.2.ebuild
new file mode 100644
index 000000000000..e036c20920e6
--- /dev/null
+++ b/dev-ruby/fakefs/fakefs-0.11.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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 ~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
+}