diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-01-30 08:28:00 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-01-30 08:29:59 +0100 |
commit | 31dd3525f4cc11ec2a5a1e0e690779a8233548f7 (patch) | |
tree | 93c6ca920224f2678b0387f19e7b96e0cdfd9750 /dev-ruby | |
parent | dev-ruby/tzinfo: add 2.0.6 (diff) | |
download | gentoo-31dd3525f4cc11ec2a5a1e0e690779a8233548f7.tar.gz gentoo-31dd3525f4cc11ec2a5a1e0e690779a8233548f7.tar.bz2 gentoo-31dd3525f4cc11ec2a5a1e0e690779a8233548f7.zip |
dev-ruby/tzinfo: add 1.2.11
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/tzinfo/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/tzinfo/tzinfo-1.2.11.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest index 0525dcf4ad81..200ebd0ff751 100644 --- a/dev-ruby/tzinfo/Manifest +++ b/dev-ruby/tzinfo/Manifest @@ -1,4 +1,5 @@ DIST tzinfo-1.2.10.gem 167936 BLAKE2B 558721a357bf6875b02850dca2f0b6eabcafdacb48b900df3f4dbd72b950832f847bb89264c107b7d7c11a8179ef13125d8b9d2b65855f80ac4c37ca7356231b SHA512 124d43d92bdf9b234523ff79bb574d4be098cc721768eb1fd8ac85bff11ccfdf21effb1e4300e80c50b0202beed67a9a0d1146a23e33a4bced6e985fc6be78a2 +DIST tzinfo-1.2.11.gem 166912 BLAKE2B 3fcd2917848a400ca8938914219ce3263638ab605df82a62bf42fc021e7930df9cc399e94668d03df529bff1396f0261fa6c5624c4084660ed12e7a756aea182 SHA512 21a00c464013c3122c8d647a59f7c6b6c6af6b303d3ee24226067482bcd27fd5f02a4cf51fa0b8d70d3e08831c084f54d5ffb8f6784cd1112d62dd0dff6e8aeb DIST tzinfo-1.2.9.gem 166912 BLAKE2B 6d54a5118fbdb3556d0cdc9079462cf26afa9deddd1dc21ef670240e2aa47a66d0b4fc9c9c7ed74bd14bde96dc95f6b716aef5d32ca521221618a76c8c05cda1 SHA512 ddf28ad213f681a4e551cbd803873b279acef03fae894a3e6475030d4da5a59732b31af5d5944e8c62d15b7ec922816fede24f180fb20c55c1bd3d379c879cfe DIST tzinfo-2.0.4.tar.gz 224673 BLAKE2B 0c7ef231767b6fc00cf95b3e1c2037894b14dfe832eaedb3f4b7c60a884ab6f7121243af5b62acf47d02da28395e7390f968421a3a3a2d731deb079e9fc51bfa SHA512 5b2ec73f737009ba21dac7dbb9504235fdef14dc45a6450e1218ba9e53dd29735ab4fa6c2854271916cc5c0244e09ae7ab19467408b72b9b82ca238e14d3fa4f DIST tzinfo-2.0.5.tar.gz 226225 BLAKE2B 44e6d65dadc4828e4b8803c0badf381e18afe7412e090c4d91147b144f300a8c0e3189bc8e8325625678a57ea6a1179a1ed277f5fb54230ce77c46ba6b0100c7 SHA512 a3c59b1f390b186356b9219b0fb18bb762d2123936553738e1068ba46bf0206c5a0394b1d46b5c7b891aa55b8afa839858837511f53e3ef0eb0e85fe3f23b57a diff --git a/dev-ruby/tzinfo/tzinfo-1.2.11.ebuild b/dev-ruby/tzinfo/tzinfo-1.2.11.ebuild new file mode 100644 index 000000000000..e1825e3ec024 --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-1.2.11.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-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 +} |