public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/tzinfo: tzinfo-0.3.14.ebuild ChangeLog
@ 2009-08-21 17:55 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2009-08-21 17:55 UTC (permalink / raw
  To: gentoo-commits

flameeyes    09/08/21 17:55:01

  Modified:             ChangeLog
  Added:                tzinfo-0.3.14.ebuild
  Log:
  Version bump.
  (Portage version: 2.2_rc38/cvs/Linux x86_64)

Revision  Changes    Path
1.36                 dev-ruby/tzinfo/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?r1=1.35&r2=1.36

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog	13 Jun 2009 10:46:26 -0000	1.35
+++ ChangeLog	21 Aug 2009 17:55:01 -0000	1.36
@@ -1,6 +1,12 @@
 # ChangeLog for dev-ruby/tzinfo
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.35 2009/06/13 10:46:26 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.36 2009/08/21 17:55:01 flameeyes Exp $
+
+*tzinfo-0.3.14 (21 Aug 2009)
+
+  21 Aug 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+  +tzinfo-0.3.14.ebuild:
+  Version bump.
 
   13 Jun 2009; Hans de Graaff <graaff@gentoo.org> -tzinfo-0.3.11.ebuild,
   -tzinfo-0.3.12.ebuild, tzinfo-0.3.13.ebuild:



1.1                  dev-ruby/tzinfo/tzinfo-0.3.14.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.14.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.14.ebuild?rev=1.1&content-type=text/plain

Index: tzinfo-0.3.14.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.14.ebuild,v 1.1 2009/08/21 17:55:01 flameeyes Exp $

inherit ruby

DESCRIPTION="Library to provide daylight-savings aware transformations between timezones"
HOMEPAGE="http://tzinfo.rubyforge.org/"
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="doc test"

RDEPEND=""
DEPEND="doc? ( dev-ruby/rake )
	test? ( dev-ruby/rake )"

USE_RUBY="ruby18 ruby19"

src_unpack() {
	unpack ${A}

	# The package has all the files executable, probably coming from
	# Windows.
	find "${S}" -type f -perm +111 -exec chmod -x {} +

	# 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.
	[[ "${PV}" != "0.3.14" ]] && die "Hey you still got a 0.3.14-specific hack!"
	sed -i -e '138,146s:^:#:' "${S}"/test/tc_timezone.rb || die "unable to sed out the test"
}

src_compile() {
	if use doc; then
		rake rerdoc || die "rake rerdoc failed"
	fi
}

src_test() {
	for ruby in $USE_RUBY; do
		[[ -n `type -p $ruby` ]] || continue
		$ruby $(type -p rake) test || die "testsuite failed"
	done
}

src_install() {
	cd "${S}"/lib
	doruby -r * || die "doruby failed"

	if use doc; then
		dohtml -r "${S}"/doc/* || die "dohtml failed"
	fi

	dodoc "${S}"/CHANGES "${S}"/README || die "dodoc failed"

	insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["vendorlibdir"]' | sed -e 's:vendor_ruby:gems:')/specifications
	sed -e "s:@VERSION@:${PV}:" "${FILESDIR}"/${PN}.gemspec > "${T}"/${P}.gemspec
	doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-21 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21 17:55 [gentoo-commits] gentoo-x86 commit in dev-ruby/tzinfo: tzinfo-0.3.14.ebuild ChangeLog Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox