diff options
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r-- | dev-ruby/fakefs/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/fakefs/fakefs-1.3.2.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest index bee5288a2344..de1e95d85361 100644 --- a/dev-ruby/fakefs/Manifest +++ b/dev-ruby/fakefs/Manifest @@ -1,5 +1,7 @@ DIST fakefs-0.19.2.tar.gz 53405 BLAKE2B c9841f7f2aee5135d149187d03f7f3034d3c6cbce6d33d3710fcdbd936b4599561c857dfac81f13262da6f067a843d0c3159abca0e8be7f77c95ff20e8bd123a SHA512 e27eedff44c3ff556b0e7a22e434205e54847a6f6b03a8ab7604c2f2e9abf8be7d5b8d29bd51e24cc032dfb3aaf7940060c3dae5532b0921e363d2213b12ed90 DIST fakefs-1.2.3.tar.gz 54054 BLAKE2B ae8202b7f28d4d1b326e016d96382b7cfaf012fb842d63150bb09b6ddb5de96bb6d548635877d2d057137bbc23c46c30340ebae3641d70d7955f609bb4cc4af2 SHA512 5051a3b81ba5919cdb6cd4a92f4e6af6ed5140afb35247b1775f4602083e23f903c582e038596a3bb27ab3f69128ef3d9fc2635d015fdb23babf21ff200c4692 +DIST fakefs-1.3.2.tar.gz 54762 BLAKE2B b5b8c00ffbd8974b2eb024deca4a2e48791fb542e2ad47d06d1c56ad1caab1433b240ea6af4a6836638c84bb79869dcd9d74194768d380173efe54f6765b7f7e SHA512 939dc7f28b266d8ef0cd5b4d33c6abc4a766143895d226b6a32af05f2f6e9eded63d86cf39d607094435a1b428297ad11366f645f4bf6789048b7e03357bacc6 EBUILD fakefs-0.19.2.ebuild 1062 BLAKE2B 92c1f1feb018629ab6bb310d1fe11387a9f5a5eb549b0d6c00d5edde95db4ec4f01653c316292246710e713746ba1ff35be062af3a3a01d28224a907881f78fa SHA512 0b86d994e4451ed4d8ea85d05c475dd9e3c40441a251c30c8beb8a638847965b6889c4c126921a44a7c347fc90ba2e19e20a4865a25d7ca211eeed1c62227fb8 EBUILD fakefs-1.2.3.ebuild 1136 BLAKE2B 46769de8301a23b4237ad9f9657d9d07cc75f6eee1c82f43241e6d021da34ddee8004e849e47692169a2d7c532ea15534a93bfda0d4269c72f320c9f35298511 SHA512 45f34cf31d76e80e80bd9357be59773c47fa91a4d38bb01c230eb160614978efa2a920a49d1e24a0904c1f3affe1fc2ba8bebb9614e823bc3fbd25851e3fde92 +EBUILD fakefs-1.3.2.ebuild 1138 BLAKE2B db470d34bb8415b49848818ebb7658eceef1d13a42ce2ebaf51fb97e51724e7eb7d1728817e92cd09017294bda1030ad5688b78198d095c1a33d895c9c30f18c SHA512 7546676030661db5fcab1b86cbcdf07cf6c16b41a93518f10fc668e6336fbe25893f9f71145bff82981bbddf421161e5b9ed7630892c7c411f5690abbc9a257a MISC metadata.xml 341 BLAKE2B e6dfc98fa1e5de6bb68479d5d65373885b346fead7ea66fc0cb5d6560bf1d2eaf31417c04a2fd3c203e8ed8a679a64413e9b866cacbca2fb17b081f507f6dc95 SHA512 761ace4ce03d41e9fc3e0b0c62274f2aac01c4a3bb17c8f1009292773c5e5d9aa10b8c92d8aea0d03e7c91f4fb88dde607cbf856ab70286e6cfde4e265fd36ba diff --git a/dev-ruby/fakefs/fakefs-1.3.2.ebuild b/dev-ruby/fakefs/fakefs-1.3.2.ebuild new file mode 100644 index 000000000000..2cdfdb532bc8 --- /dev/null +++ b/dev-ruby/fakefs/fakefs-1.3.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +RUBY_FAKEGEM_GEMSPEC="fakefs.gemspec" + +inherit ruby-fakegem + +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 ~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 +} |