summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-05-02 09:37:57 +0200
committerHans de Graaff <graaff@gentoo.org>2020-05-02 09:42:35 +0200
commit37406152b94e01ab4d9411f5b7f25e73f42fedda (patch)
tree1da47b2b41ff162cd089cc156a137b7d09c1c86d /dev-ruby
parentsys-fs/multipath-tools: add json-c-0.14 support (diff)
downloadgentoo-37406152b94e01ab4d9411f5b7f25e73f42fedda.tar.gz
gentoo-37406152b94e01ab4d9411f5b7f25e73f42fedda.tar.bz2
gentoo-37406152b94e01ab4d9411f5b7f25e73f42fedda.zip
dev-ruby/tzinfo: add 1.2.7
Fix dependencies compared to 1.2.6. thread_safe is still required for this version. This drops the ~sparc keyword. Closes: https://bugs.gentoo.org/720290 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/tzinfo/Manifest1
-rw-r--r--dev-ruby/tzinfo/tzinfo-1.2.7.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest
index 0e250cf783a7..f7ade994b21b 100644
--- a/dev-ruby/tzinfo/Manifest
+++ b/dev-ruby/tzinfo/Manifest
@@ -1,5 +1,6 @@
DIST tzinfo-1.2.5.gem 153600 BLAKE2B 3df5625c61eabf94bb457381ac7d0cdebd5b55da3bb043fe58063cccccb623b502e026a71faef4f7d7efe75eae2fdfd0bf3e0b97a3763fec9a1018f0c6c2ae0f SHA512 87f7cd66d6e80d51d216cb993cc76fe7758db03ffd39dde96eb24a9d208699766a8dbff048485fb732ce125ee9f971e38ed9ee1197f3ee3fc3ee8a8da840dd45
DIST tzinfo-1.2.6.gem 156160 BLAKE2B 5e1459dc1a22e22e585f29f2ee71e5306017a04a75233f7cfdf0e54a3086b69e6d216c73f81b358e2b8aaa6898d3826f25c860f88439ed9181811254e7823943 SHA512 2ab5bdcb0c2d3b0dac801533235add47a9aea3f5c550874b5b66498c4ea065a2af826cd02334ce0841ebab4a543f9259433a712f64b2b7d858751854b8003b2b
+DIST tzinfo-1.2.7.gem 156672 BLAKE2B c1b52d2ac03fa9d11b68579931991887f566e3cb269bb5eb8b66c3a636decedc99b1729504c6941b260af9415815f5098fb3bba29ac7585da1497eb0fa7efba7 SHA512 dc8d45b09e4f77e5b6f17c9f707932554fc8be8029a9641d82cb8229d764c35522b2d20cc34d50a52835d148135e39a0dc91a7c2bac3eb5077057ac06d67f3bd
DIST tzinfo-2.0.0.tar.gz 210379 BLAKE2B e3b8b7763dbe26ce58b1a1672d11c412f362910d695c321e51a9c28f1e742db34aa7c066827d7a4634e4a1f7824205007b66191cbeba7776dbc6cac1c9f144ca SHA512 cdc3393af8402dbde491f4547a1b169d90bcf7228c89b64f104538223fcb8f5cf8f7861ae1e11a723b213de7ab09fe31fc04ed9f275f80fe2929f0279d830679
DIST tzinfo-2.0.1.tar.gz 212477 BLAKE2B 95a7ed460054d258485e24e63140853218ba00a7e3afc0c0ee2be5c91ee66588aec663a17d50dab7237b0091d0f423a845c474b18873a2a8153db2745f8fc1a7 SHA512 9cfd0a076aba5e7ae2f519374a6154a62e3ec71eaeb2d5a31bb07e3e26b44c4e01fce8cb385e0da9c565e0e408a0a7f204ac666baa7a9d6f3a592f2218ef99b6
DIST tzinfo-2.0.2.tar.gz 213501 BLAKE2B 7886ba84257b85104073445d0948fd5f58985fa0f5f85c1ec15978c6f497fffb9bd997a0bae1313d697115c487c069dda1b7e5dd4ec2c7580951d0a8ddf8d623 SHA512 a0c71dd9299e84bd71a91858ba8c12a0ba00c625219da1172d5cd1dfd35318ce8a83e59f45489c2ed5161761e1c39834ba63dbfa189acb100ba37ceae842668d
diff --git a/dev-ruby/tzinfo/tzinfo-1.2.7.ebuild b/dev-ruby/tzinfo/tzinfo-1.2.7.ebuild
new file mode 100644
index 000000000000..e9f6fb1018ac
--- /dev/null
+++ b/dev-ruby/tzinfo/tzinfo-1.2.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="test_zoneinfo"
+
+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/"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~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/thread_safe-0.1:0"
+ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
+
+all_ruby_prepare() {
+ # Set the secure permissions that tests expect.
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+
+ # Avoid taint tests that throw SecurityErrors on newer ruby versions.
+ sed -i -e '/_info_tainted/askip"SecurityError"' test/tc_ruby_data_source.rb || die
+}