Diff fakefs-1.9.0 with a fakefs-2.5.0
/usr/portage/dev-ruby/fakefs/fakefs-2.5.0.ebuild 2023-10-09 14:52:30.432368374 +0300 | ||
---|---|---|
14 | 14 |
inherit ruby-fakegem |
15 | 15 | |
16 | 16 |
DESCRIPTION="A fake filesystem. Use it in your tests" |
17 |
HOMEPAGE="https://github.com/defunkt/fakefs" |
|
18 |
SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
17 |
HOMEPAGE="https://github.com/fakefs/fakefs" |
|
18 |
SRC_URI="https://github.com/fakefs/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
19 | 19 | |
20 | 20 |
LICENSE="MIT" |
21 |
SLOT="0" |
|
21 |
SLOT="$(ver_cut 1)" |
|
22 | 22 |
KEYWORDS="amd64 arm ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
23 | 23 |
IUSE="" |
24 | 24 | |
... | ... | |
33 | 33 |
rm Gemfile || die |
34 | 34 | |
35 | 35 |
# Avoid unneeded minitest-rg dependency. |
36 |
sed -i -e '1igem "minitest", "~>5.5"' \ |
|
36 |
sed -i -e '1igem "maxitest"; gem "minitest", "~>5.5"' \ |
|
37 | 37 |
-e '/bundler/ s:^:#:' \ |
38 | 38 |
-e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die |
39 | 39 | |
40 | 40 |
sed -i -e 's/git ls-files/find */' ${RUBY_FAKEGEM_GEMSPEC} || die |
41 | ||
42 |
# Avoid test that uses the console and hangs on user input |
|
43 |
rm -f test/pry_test.rb || die |
|
41 | 44 |
} |
42 | 45 | |
43 | 46 |
each_ruby_test() { |