summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-08-24 07:32:59 +0200
committerHans de Graaff <graaff@gentoo.org>2015-08-24 07:32:59 +0200
commit704efb814945736c0d1b89af84b2c24b13496b49 (patch)
tree343a575cbb64b37fbbe1a9525d03b6f86304e3a1 /dev-ruby
parentdev-ruby/rack: version bump (diff)
downloadgentoo-704efb814945736c0d1b89af84b2c24b13496b49.tar.gz
gentoo-704efb814945736c0d1b89af84b2c24b13496b49.tar.bz2
gentoo-704efb814945736c0d1b89af84b2c24b13496b49.zip
dev-ruby/tzinfo: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/tzinfo/Manifest1
-rw-r--r--dev-ruby/tzinfo/tzinfo-0.3.44.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest
index 8aafefe24fad..f86543fb3cdc 100644
--- a/dev-ruby/tzinfo/Manifest
+++ b/dev-ruby/tzinfo/Manifest
@@ -1,2 +1,3 @@
DIST tzinfo-0.3.43.gem 298496 SHA256 4df52124b359789ac13aa12f46b9665d562b189fc6e60c44b9aa6d997b100a70 SHA512 9f714708c389fe08c8606de093fba6e760b57d1196b8e4d5474d756048c820925b0ee755fe1700630f3d4f8e006f2898029847788e3c901b9ff3ba5861f9e2a1 WHIRLPOOL adb82b34609eb5fd375f3f2434016eff68b83f473d50a5d0fe42815a754eade5a5f18353d6e611db2040311b1b63a5990ecee762a150a291cf23c17b6d66f775
+DIST tzinfo-0.3.44.gem 297472 SHA256 a717f358872144fabf762da0f8a6ba23ce764550230ff0b831957247c8484ca8 SHA512 8291ed53b8188111e7dc907cb4e6ae0bc3b4dc55c0275067c52081dca3771a67072dd1671edb58071a8fad5eb651cbc1cbeed5429c76b34bc2acbbc3cf1bb608 WHIRLPOOL eb4a217368ed6f08167039bd50065dbbbba9bb3931920820eac5dce924cb98dff32111f0bbdf74e823cd435d392d7eddf9fd519125caa9e13e37f3b5a6827344
DIST tzinfo-1.2.2.gem 147456 SHA256 fdb1d3fdf2776d490c82a0e589a08e7cbde70ac1ae7d2b1f0b7e77f3e6b801b0 SHA512 717f5bda5a40e8225446c4ff413746a526682e5bb58e5047a2d1c8d0769cadaaca612d1f01c758fab5751f81f285156d77abbab08131de627a62def1a4e2eeb1 WHIRLPOOL f49a1b91f6765671043c4a7435df0cd6dfb4b5d55b9305b6fec0cde790708e90adf0d30c966000bf88908e4b2cf39c508d9a1f2dd1b352b689f2c0f4a2d2b6f7
diff --git a/dev-ruby/tzinfo/tzinfo-0.3.44.ebuild b/dev-ruby/tzinfo/tzinfo-0.3.44.ebuild
new file mode 100644
index 000000000000..7760b20ca92b
--- /dev/null
+++ b/dev-ruby/tzinfo/tzinfo-0.3.44.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 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 ~x86-freebsd ~amd64-linux ~ia64-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 test/tc_*.rb || die
+}