summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-10-30 21:09:03 +0100
committerHans de Graaff <graaff@gentoo.org>2016-10-30 21:09:22 +0100
commitdbcba4e3217ca1313a44e6b820f0a1596ccb8c02 (patch)
treefa25dad05109b9b07d5901d60e761ba9cb29de40 /dev-ruby/tzinfo
parentx11-misc/pcmanfm: Update SourceForge GIT URLs (diff)
downloadgentoo-dbcba4e3217ca1313a44e6b820f0a1596ccb8c02.tar.gz
gentoo-dbcba4e3217ca1313a44e6b820f0a1596ccb8c02.tar.bz2
gentoo-dbcba4e3217ca1313a44e6b820f0a1596ccb8c02.zip
dev-ruby/tzinfo: add 0.3.52
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/tzinfo')
-rw-r--r--dev-ruby/tzinfo/Manifest1
-rw-r--r--dev-ruby/tzinfo/tzinfo-0.3.52.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest
index e5f252b0f364..45c6038a0922 100644
--- a/dev-ruby/tzinfo/Manifest
+++ b/dev-ruby/tzinfo/Manifest
@@ -1,3 +1,4 @@
DIST tzinfo-0.3.44.gem 297472 SHA256 a717f358872144fabf762da0f8a6ba23ce764550230ff0b831957247c8484ca8 SHA512 8291ed53b8188111e7dc907cb4e6ae0bc3b4dc55c0275067c52081dca3771a67072dd1671edb58071a8fad5eb651cbc1cbeed5429c76b34bc2acbbc3cf1bb608 WHIRLPOOL eb4a217368ed6f08167039bd50065dbbbba9bb3931920820eac5dce924cb98dff32111f0bbdf74e823cd435d392d7eddf9fd519125caa9e13e37f3b5a6827344
DIST tzinfo-0.3.48.gem 299520 SHA256 f57acf2e8c433ba5d853d4505a7ef7e5e705ddb5908db5c076e649e4e3f7a537 SHA512 5427ba48c1a7f3fc5d10c93265225b9171ab7940f7b8f3dc167b84b8302fe9e7882eb225487352884c71bedb80c9882e717b484e7c98934b83ea5e788b7d7f9a WHIRLPOOL 637d30bf27cdd3e80401ada9a0dcff685d915fa2b248cf8de019271438a7c50cb1186f7e0505fcbef926eb9bf28f884faa12dd6440b85f73f692b2fe16ca9bfd
+DIST tzinfo-0.3.52.gem 299520 SHA256 8354497af5f03549fbca9880074b6fa3f33c842accec0d8e5d5f19c3bae43c17 SHA512 12923bdf4743787be17416b60ee6bf10e851e9fb74c4d4ed9039ee94fa782ff38e5c2468f5bfcdff87d79bd4c73424b972e2f8a698c28c79c90d8df73e6da0b8 WHIRLPOOL 274a10a88ee4b96c0a6ec40cc49de89ff5ea697221f43aa462f6e6d1b322d6e848463607c376d0112cc6d52106952fc38bd7579308caa2c3ac76c55beda8adc4
DIST tzinfo-1.2.2.gem 147456 SHA256 fdb1d3fdf2776d490c82a0e589a08e7cbde70ac1ae7d2b1f0b7e77f3e6b801b0 SHA512 717f5bda5a40e8225446c4ff413746a526682e5bb58e5047a2d1c8d0769cadaaca612d1f01c758fab5751f81f285156d77abbab08131de627a62def1a4e2eeb1 WHIRLPOOL f49a1b91f6765671043c4a7435df0cd6dfb4b5d55b9305b6fec0cde790708e90adf0d30c966000bf88908e4b2cf39c508d9a1f2dd1b352b689f2c0f4a2d2b6f7
diff --git a/dev-ruby/tzinfo/tzinfo-0.3.52.ebuild b/dev-ruby/tzinfo/tzinfo-0.3.52.ebuild
new file mode 100644
index 000000000000..773c9ea68d86
--- /dev/null
+++ b/dev-ruby/tzinfo/tzinfo-0.3.52.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ruby23 -> fails tests
+USE_RUBY="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
+}