Diff timecop-0.9.6 with a timecop-0.9.7
/usr/portage/dev-ruby/timecop/timecop-0.9.7.ebuild 2023-10-09 14:52:30.472368375 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 |
USE_RUBY="ruby30 ruby31 ruby32" |
|
7 | 7 | |
8 |
RUBY_FAKEGEM_BINWRAP="" |
|
8 | 9 |
RUBY_FAKEGEM_TASK_TEST="test" |
9 | 10 | |
10 | 11 |
RUBY_FAKEGEM_TASK_DOC="rdoc" |
11 | 12 |
RUBY_FAKEGEM_DOCDIR="rdoc" |
12 | 13 |
RUBY_FAKEGEM_EXTRADOC="README.markdown" |
14 |
RUBY_FAKEGEM_GEMSPEC="timecop.gemspec" |
|
13 | 15 | |
14 | 16 |
inherit ruby-fakegem |
15 | 17 | |
16 | 18 |
DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities" |
17 | 19 |
HOMEPAGE="https://github.com/travisjeffery/timecop" |
20 |
SRC_URI="https://github.com/travisjeffery/timecop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
|
18 | 21 | |
19 | 22 |
LICENSE="MIT" |
20 | 23 |
SLOT="0" |
21 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" |
|
24 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
22 | 25 |
IUSE="" |
23 | 26 | |
24 |
# Missing testdep activesupport |
|
25 |
ruby_add_bdepend "test? ( dev-ruby/mocha )" |
|
27 |
ruby_add_bdepend "test? ( dev-ruby/activesupport dev-ruby/mocha )" |
|
26 | 28 | |
27 | 29 |
all_ruby_prepare() { |
28 |
sed -i -e '/bundler/ s:^:#:' -e '/History.rdoc/d' Rakefile test/test_helper.rb || die |
|
30 |
sed -e '/bundler/ s:^:#:' -e '/History.rdoc/d' \ |
|
31 |
-i Rakefile test/test_helper.rb test/timecop_with_active_support_test.rb || die |
|
29 | 32 |
sed -i -e '/rubygems/ a\gem "test-unit"' \ |
30 | 33 |
-e '/minitest\/rg/ s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb || die |
31 |
# FIXME after activesupport gained ruby22 support |
|
32 |
rm test/time_stack_item_test.rb || die |
|
33 | 34 |
} |
34 | 35 | |
35 | 36 |
each_ruby_test() { |