diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-08-23 07:42:03 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-08-23 08:10:07 +0200 |
commit | 656680d7a4c5ffd9c55b2c445dba1c218a1a7e8a (patch) | |
tree | b370e38e641d320a612fc3ebbf61c6fdedb878da /dev-ruby | |
parent | dev-ruby/textpow: ruby24 (diff) | |
download | gentoo-656680d7a4c5ffd9c55b2c445dba1c218a1a7e8a.tar.gz gentoo-656680d7a4c5ffd9c55b2c445dba1c218a1a7e8a.tar.bz2 gentoo-656680d7a4c5ffd9c55b2c445dba1c218a1a7e8a.zip |
dev-ruby/tzinfo: add 0.3.53
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/tzinfo/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/tzinfo/tzinfo-0.3.53.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest index d53383d55333..ea91f3fc98f7 100644 --- a/dev-ruby/tzinfo/Manifest +++ b/dev-ruby/tzinfo/Manifest @@ -1,3 +1,4 @@ DIST tzinfo-0.3.52.gem 299520 SHA256 8354497af5f03549fbca9880074b6fa3f33c842accec0d8e5d5f19c3bae43c17 SHA512 12923bdf4743787be17416b60ee6bf10e851e9fb74c4d4ed9039ee94fa782ff38e5c2468f5bfcdff87d79bd4c73424b972e2f8a698c28c79c90d8df73e6da0b8 WHIRLPOOL 274a10a88ee4b96c0a6ec40cc49de89ff5ea697221f43aa462f6e6d1b322d6e848463607c376d0112cc6d52106952fc38bd7579308caa2c3ac76c55beda8adc4 +DIST tzinfo-0.3.53.gem 301056 SHA256 7e16e6ed8c0c44c0d1e581f3b21bbaae9c8ae206c243dc1cba4368270d8fb83e SHA512 f5a0119c04852845f1e4c8db36a2a374f2886ee5a14eee74ecacf19bc60bdf3e65197ee2ad1fe4fee56ac882b2e7cf17dcb4fef593767675e1fdb3da33b31b24 WHIRLPOOL ff3cb38a531a4f3fdcc8bfcd0a5ded8f18f2e14fdc27f51c0c57b7b758ec9b4096d10d1c90641f031d01b18c60fc791a2b48c4750b3d9b5e26889c8ad8972518 DIST tzinfo-1.2.2.gem 147456 SHA256 fdb1d3fdf2776d490c82a0e589a08e7cbde70ac1ae7d2b1f0b7e77f3e6b801b0 SHA512 717f5bda5a40e8225446c4ff413746a526682e5bb58e5047a2d1c8d0769cadaaca612d1f01c758fab5751f81f285156d77abbab08131de627a62def1a4e2eeb1 WHIRLPOOL f49a1b91f6765671043c4a7435df0cd6dfb4b5d55b9305b6fec0cde790708e90adf0d30c966000bf88908e4b2cf39c508d9a1f2dd1b352b689f2c0f4a2d2b6f7 DIST tzinfo-1.2.3.gem 151552 SHA256 9469862963cf5e8f12bb7d1cf89e681ebfee417537f6835b2e471c7c260d2817 SHA512 79a0c364d02ae1964e032586546073ebda3af822cbc064c06927cf48b7c9d0577ad38a738dc4e7065fd8a56e5a7939290e74031d850172635906744c841a6d2c WHIRLPOOL ed678c620c95a565da1f3115c78545602cb5cd66018fd33d2f3f2da82a8bf4fb015b3a94614d3823cd3eb52a8e71b7b21b00f1e5cdad17e315ba4a4d75f6ec62 diff --git a/dev-ruby/tzinfo/tzinfo-0.3.53.ebuild b/dev-ruby/tzinfo/tzinfo-0.3.53.ebuild new file mode 100644 index 000000000000..0ffcecaaaf6c --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-0.3.53.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ruby23 -> fails tests +USE_RUBY="ruby22" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES README" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="http://tzinfo.github.io/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="" +DEPEND="" + +all_ruby_prepare() { + # With rubygems 1.3.1 we get the following warning + # warning: Insecure world writable dir /var/tmp in LOAD_PATH, mode 041777 + # when running the test_get_tainted_not_loaded test. + sed -i \ + -e '/^ def test_get_tainted_not_loaded/, /^ end/ s:^:#:' \ + "${S}"/test/tc_timezone.rb || die "unable to sed out the test" +} + +each_ruby_test() { + TZ='America/Los_Angeles' ${RUBY} -I. -S testrb-2 test/tc_*.rb || die +} |