summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-12-08 19:55:18 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-12-08 19:55:18 +0000
commit5735ad731c21978204b86386867bc59f5e454000 (patch)
tree269d3b18ffaac7028f442568f020cb092237746a /dev-ruby/tzinfo
parentVersion bump, remove JRuby support due to the known-broken tests; drop ruby 1... (diff)
downloadgentoo-2-5735ad731c21978204b86386867bc59f5e454000.tar.gz
gentoo-2-5735ad731c21978204b86386867bc59f5e454000.tar.bz2
gentoo-2-5735ad731c21978204b86386867bc59f5e454000.zip
Version bump.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/tzinfo')
-rw-r--r--dev-ruby/tzinfo/ChangeLog7
-rw-r--r--dev-ruby/tzinfo/tzinfo-0.3.31.ebuild34
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-ruby/tzinfo/ChangeLog b/dev-ruby/tzinfo/ChangeLog
index 0729a505f470..4a786356e84f 100644
--- a/dev-ruby/tzinfo/ChangeLog
+++ b/dev-ruby/tzinfo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/tzinfo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.88 2011/09/29 23:28:45 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.89 2011/12/08 19:55:18 flameeyes Exp $
+
+*tzinfo-0.3.31 (08 Dec 2011)
+
+ 08 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> +tzinfo-0.3.31.ebuild:
+ Version bump.
*tzinfo-0.3.30 (29 Sep 2011)
diff --git a/dev-ruby/tzinfo/tzinfo-0.3.31.ebuild b/dev-ruby/tzinfo/tzinfo-0.3.31.ebuild
new file mode 100644
index 000000000000..bf24fac63380
--- /dev/null
+++ b/dev-ruby/tzinfo/tzinfo-0.3.31.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.31.ebuild,v 1.1 2011/12/08 19:55:18 flameeyes Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Daylight-savings aware timezone library"
+HOMEPAGE="http://tzinfo.rubyforge.org/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
+
+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"
+}