Сравнение tzinfo-1.2.11 с tzinfo-2.0.6
/usr/portage/dev-ruby/tzinfo/tzinfo-2.0.6.ebuild 2023-10-09 14:52:30.472368375 +0300 | ||
---|---|---|
9 | 9 |
RUBY_FAKEGEM_DOCDIR="doc" |
10 | 10 |
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" |
11 | 11 | |
12 |
RUBY_FAKEGEM_GEMSPEC="tzinfo.gemspec" |
|
13 | ||
12 | 14 |
inherit ruby-fakegem |
13 | 15 | |
14 | 16 |
DESCRIPTION="Daylight-savings aware timezone library" |
15 | 17 |
HOMEPAGE="https://tzinfo.github.io/" |
18 |
SRC_URI="https://github.com/tzinfo/tzinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
16 | 19 | |
17 | 20 |
LICENSE="MIT" |
18 |
SLOT="1" |
|
19 |
KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" |
|
21 |
SLOT="2" |
|
22 |
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" |
|
20 | 23 |
IUSE="" |
21 | 24 | |
22 | 25 |
RDEPEND="sys-libs/timezone-data" |
23 | 26 |
DEPEND="test? ( sys-libs/timezone-data )" |
24 | 27 | |
25 |
ruby_add_rdepend ">=dev-ruby/thread_safe-0.1:0" |
|
26 |
ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" |
|
28 |
ruby_add_rdepend "dev-ruby/concurrent-ruby:1" |
|
29 |
ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )" |
|
27 | 30 | |
28 | 31 |
all_ruby_prepare() { |
29 | 32 |
# Set the secure permissions that tests expect. |
30 | 33 |
chmod 0755 "${HOME}" || die "Failed to fix permissions on home" |
31 | 34 | |
32 |
# Avoid taint tests that throw SecurityErrors on newer ruby versions. |
|
33 |
sed -i -e '/_info_tainted/askip"SecurityError"' test/tc_ruby_data_source.rb || die |
|
35 |
# Skip safe tests since we cannot guarantee the correct permissions |
|
36 |
# on directories for it to pass. |
|
37 |
sed -e '/safe_test/askip "does not pass in gentoo test environment"' -i test/test_utils.rb || die |
|
38 | ||
39 |
# Loosen test dependencies |
|
40 |
sed -e '/rake/ s/12.2.1/12.2/' \ |
|
41 |
-e '/simplecov/d' \ |
|
42 |
-i Gemfile || die |
|
43 |
sed -e '/TEST_COVERAGE/d' -i Rakefile || die |
|
44 |
} |
|
45 | ||
46 |
each_ruby_test() { |
|
47 |
${RUBY} -S bundle exec rake test || die |
|
34 | 48 |
} |