summaryrefslogtreecommitdiff
path: root/dev-ruby/tzinfo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-20 15:11:50 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-20 15:11:50 +0000
commit16449a80e28af2209916cc66d19c9a44ca2b90d9 (patch)
treeb4cfe2332c7a6c5da27b6985bf05db4508df1a92 /dev-ruby/tzinfo
parent79599515788b85b18aa655e7b7f8cc05c1bbddd8 (diff)
gentoo resync : 20.02.2019
Diffstat (limited to 'dev-ruby/tzinfo')
-rw-r--r--dev-ruby/tzinfo/Manifest2
-rw-r--r--dev-ruby/tzinfo/tzinfo-2.0.0.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest
index 546d9c8902f1..fcf0e4c3c109 100644
--- a/dev-ruby/tzinfo/Manifest
+++ b/dev-ruby/tzinfo/Manifest
@@ -1,5 +1,7 @@
DIST tzinfo-1.2.4.gem 152576 BLAKE2B c6815fc7277153c5e00ea2359845df25affab5a08f9274729254662e056de702613f4b8ca5b4f2ddcd756d86ae12e534a4e2a5a4661f361ef1d59cb3d7f07bfa SHA512 0b983aa6b4fdbb3c49329bb51394f1edbeb6f4d216d108448aa9dce751dbc2e348d58032cb41df78a3d249611770e9e345a4d0041597ceadf052b863c3e6d1ab
DIST tzinfo-1.2.5.gem 153600 BLAKE2B 3df5625c61eabf94bb457381ac7d0cdebd5b55da3bb043fe58063cccccb623b502e026a71faef4f7d7efe75eae2fdfd0bf3e0b97a3763fec9a1018f0c6c2ae0f SHA512 87f7cd66d6e80d51d216cb993cc76fe7758db03ffd39dde96eb24a9d208699766a8dbff048485fb732ce125ee9f971e38ed9ee1197f3ee3fc3ee8a8da840dd45
+DIST tzinfo-2.0.0.tar.gz 210379 BLAKE2B e3b8b7763dbe26ce58b1a1672d11c412f362910d695c321e51a9c28f1e742db34aa7c066827d7a4634e4a1f7824205007b66191cbeba7776dbc6cac1c9f144ca SHA512 cdc3393af8402dbde491f4547a1b169d90bcf7228c89b64f104538223fcb8f5cf8f7861ae1e11a723b213de7ab09fe31fc04ed9f275f80fe2929f0279d830679
EBUILD tzinfo-1.2.4.ebuild 908 BLAKE2B 0486b70c633ef9b0f28b7040f7aa67d4b4cfd6ce127a57aaa0ff7ef2300680781fe6d46c6c2dc8c9b6f335a195731b4d630617fc422adf2291cb6f8956516d20 SHA512 679353489084cb2e4fc00d6a69eaf62763c976d113c9f5b1135040dfa98b57e1ce85208ad2b63d71a09593fda13c1c07aff67b938c2d25b4d2e35fd723bfe3bc
EBUILD tzinfo-1.2.5.ebuild 916 BLAKE2B dc8e045c1decb8a66c64c52a19f5508b36201d0cdfd41208df883b3856c93bce12abc4825bcbc72cdf60e194daebc85472777cc297419c745bd0f875f92f44e3 SHA512 bacfeb0a77e800aca9e0524b73156d26858da630cc50f86c2175ec0114f626d58cde8f71672ca1c997092707ee3c176e34bb042b7fda7a357752752be682eb2a
+EBUILD tzinfo-2.0.0.ebuild 1428 BLAKE2B b91a4e77123428c7c8bb28d4db13b15f54bfc27ef742da8e1f39e5a6289c2fc75ae0aa5c21a60a8dde30b6f5e7329976f3140dfa737de4602bf4de56a2928e23 SHA512 4e35962299a19d682e2eeba27dc8403271e0bc36f7bebec311f163cb1ed624ae0f464fad09f2e6e3ebc6aab69a233833c42eb09424a7a241c121a722177986f9
MISC metadata.xml 251 BLAKE2B e8bf2b70161d425791d65052583fd8be03b19ef3bb2a2cde34605bc93224fea9d8c6a91f0f2d630a00094ef54c0871e210da0e0134f52401bc80cb6b2358c13d SHA512 17d4dbd64468a524311a24ca065537a5b21560388efd282f3fa873e6722f70db6f83e3e5615556450905c29d5df2cf0a0855f9c0b38bf23f0f8112501456d4ea
diff --git a/dev-ruby/tzinfo/tzinfo-2.0.0.ebuild b/dev-ruby/tzinfo/tzinfo-2.0.0.ebuild
new file mode 100644
index 000000000000..bc31b7ea1596
--- /dev/null
+++ b/dev-ruby/tzinfo/tzinfo-2.0.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test_zoneinfo"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Daylight-savings aware timezone library"
+HOMEPAGE="https://tzinfo.github.io/"
+SRC_URI="https://github.com/tzinfo/tzinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/timezone-data"
+DEPEND="test? ( sys-libs/timezone-data )"
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
+ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )"
+
+all_ruby_prepare() {
+ # Set the secure permissions that tests expect.
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+
+ # Skip safe tests since we cannot guarantee the correct permissions
+ # on directories for it to pass.
+ sed -e '/safe_test/askip "does not pass in gentoo test environment"' -i test/test_utils.rb || die
+
+ # Loosen test dependencies
+ sed -e '/rake/ s/12.2.1/12.2/' \
+ -e '/simplecov/d' \
+ -i Gemfile || die
+ sed -e '/TEST_COVERAGE/d' -i Rakefile || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rake test || die
+}