From b978efa000250668b2befa4e2cc96e0afa137611 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 17 Jun 2023 07:43:56 +0100 Subject: gentoo auto-resync : 17:06:2023 - 07:43:56 --- dev-ruby/fakefs/Manifest | 6 ++--- dev-ruby/fakefs/fakefs-1.3.2.ebuild | 46 ---------------------------------- dev-ruby/fakefs/fakefs-2.5.0.ebuild | 49 +++++++++++++++++++++++++++++++++++++ dev-ruby/fakefs/metadata.xml | 3 ++- 4 files changed, 54 insertions(+), 50 deletions(-) delete mode 100644 dev-ruby/fakefs/fakefs-1.3.2.ebuild create mode 100644 dev-ruby/fakefs/fakefs-2.5.0.ebuild (limited to 'dev-ruby/fakefs') diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest index b25826f66065..2d92de0b8b6f 100644 --- a/dev-ruby/fakefs/Manifest +++ b/dev-ruby/fakefs/Manifest @@ -1,5 +1,5 @@ -DIST fakefs-1.3.2.tar.gz 54762 BLAKE2B b5b8c00ffbd8974b2eb024deca4a2e48791fb542e2ad47d06d1c56ad1caab1433b240ea6af4a6836638c84bb79869dcd9d74194768d380173efe54f6765b7f7e SHA512 939dc7f28b266d8ef0cd5b4d33c6abc4a766143895d226b6a32af05f2f6e9eded63d86cf39d607094435a1b428297ad11366f645f4bf6789048b7e03357bacc6 DIST fakefs-1.9.0.tar.gz 56514 BLAKE2B 07e84f54413052b3bf37934b395c6115455ca241d42700dc054729be2ce82eb91944b83e01933fd001b46c9db593f2fd7a9b69f5f49529fde3e1ce967498db5b SHA512 e6be021fec79517127c6f514cc3379fa9c64d75c16d0ac80ed5b677f55625f1ee464eafa0768523a4b364323cfb1aae79814057ee9be3a0d947aac22d39a88f5 -EBUILD fakefs-1.3.2.ebuild 1120 BLAKE2B 4c92c643f3e97de75a8e8ad13d90b8e16d1c27138617112dacbd38698a0996b78197bfd9a5755999dc6a13205d0f054816bbdd82fb520559b2345cb8805e17ad SHA512 831f64f2090ab580a56e3a3811e9b8a565c2acd593cff5e8be565a0841a085ed3b70df0793a203bfcca64384f9891ef134dc9f0260904c05aa68b50a97ca46eb +DIST fakefs-2.5.0.tar.gz 57850 BLAKE2B fc53d8f3dd40bfbbef81e9c092439a099a9964b4eff8e5fa6d59c2215aca735d02ab24f2a44c2f51fe874c2a3b088190455cff17a3bf9099e9f56effbceed61c SHA512 acc2fd6891964ce6ab3dd307d8bc90dcaa92c9c01328865bfcee5de5959089e7d7dcbb4d52576b5fb81321ad12719c7d3999d6b0102e5e2d9ef88522ca032bdc EBUILD fakefs-1.9.0.ebuild 1120 BLAKE2B 7df4041b6aea1999135f4487365a5f9bbbb00e7cab4b618d303a712ed7609a81f627dce41bafcc97548230f1681f74ab38e2f5ce34a4bc0c2616b6dfeee3625d SHA512 b5fddd44abe6b0464648f494f021b1b1374f044767ccba074b7590f8111728945eded741364854b15854ab6e2d6c1dab644512c2e771c8a7c6edbc797d750aad -MISC metadata.xml 341 BLAKE2B e6dfc98fa1e5de6bb68479d5d65373885b346fead7ea66fc0cb5d6560bf1d2eaf31417c04a2fd3c203e8ed8a679a64413e9b866cacbca2fb17b081f507f6dc95 SHA512 761ace4ce03d41e9fc3e0b0c62274f2aac01c4a3bb17c8f1009292773c5e5d9aa10b8c92d8aea0d03e7c91f4fb88dde607cbf856ab70286e6cfde4e265fd36ba +EBUILD fakefs-2.5.0.ebuild 1242 BLAKE2B fb869517e53acab3f1a414d7f3cfbc316ebd2202123ab02b2316a9503d0f930cdf0f603e119bdfa8ae526d11a1feb3c8f08dccd9967def10aa782671b939d390 SHA512 b7dbdddb0c109cd27006190743cb5ae65a971c28356f9436c7c4897785634f3043627bd6b7db8213267acceaa290c0e5560e2e5a193a130fc36dcbd3e26dcb3d +MISC metadata.xml 390 BLAKE2B 0bb4b174c4e97c50f3abdc00222b9b761e71b26bc9da391413ab9fa8d69d1f510d3ff57c44caf2a244e5a63c4e1d71ef1aec0b1448d442be28acca14bb4f129e SHA512 8898c4094b8e0d7f161be59595430ad65fb856f72fce0a6cc5fccc3e494d6c63a370fe4733db20256ab56907918559dcef053d60190039d57b1817e8e24d6edc diff --git a/dev-ruby/fakefs/fakefs-1.3.2.ebuild b/dev-ruby/fakefs/fakefs-1.3.2.ebuild deleted file mode 100644 index ebe15a72b00a..000000000000 --- a/dev-ruby/fakefs/fakefs-1.3.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2022 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" -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 -} diff --git a/dev-ruby/fakefs/fakefs-2.5.0.ebuild b/dev-ruby/fakefs/fakefs-2.5.0.ebuild new file mode 100644 index 000000000000..1d2569ad0fa1 --- /dev/null +++ b/dev-ruby/fakefs/fakefs-2.5.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +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/fakefs/fakefs" +SRC_URI="https://github.com/fakefs/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-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 "maxitest"; gem "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 + + # Avoid test that uses the console and hangs on user input + rm -f test/pry_test.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/fakefs/metadata.xml b/dev-ruby/fakefs/metadata.xml index 292c4bc1e6c6..eb9aa0596360 100644 --- a/dev-ruby/fakefs/metadata.xml +++ b/dev-ruby/fakefs/metadata.xml @@ -6,6 +6,7 @@ Gentoo Ruby Project - defunkt/fakefs + fakefs/fakefs + fakefs -- cgit v1.2.3