diff options
Diffstat (limited to 'dev-ruby/tzinfo')
-rw-r--r-- | dev-ruby/tzinfo/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/tzinfo/tzinfo-0.3.13.ebuild | 62 | ||||
-rw-r--r-- | dev-ruby/tzinfo/tzinfo-0.3.20.ebuild | 36 |
3 files changed, 5 insertions, 99 deletions
diff --git a/dev-ruby/tzinfo/ChangeLog b/dev-ruby/tzinfo/ChangeLog index c0bfa92f98ec..bd8d76590866 100644 --- a/dev-ruby/tzinfo/ChangeLog +++ b/dev-ruby/tzinfo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/tzinfo # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.62 2010/05/29 12:44:33 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.63 2010/07/11 20:20:34 graaff Exp $ + + 11 Jul 2010; Hans de Graaff <graaff@gentoo.org> -tzinfo-0.3.13.ebuild, + -tzinfo-0.3.20.ebuild: + Remove old versions. *tzinfo-0.3.22 (29 May 2010) diff --git a/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild b/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild deleted file mode 100644 index ae017e231285..000000000000 --- a/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild,v 1.9 2010/05/22 14:10:42 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" - -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.13" ]] && die "Hey you still got a 0.3.13-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" -} diff --git a/dev-ruby/tzinfo/tzinfo-0.3.20.ebuild b/dev-ruby/tzinfo/tzinfo-0.3.20.ebuild deleted file mode 100644 index a217d611b4ae..000000000000 --- a/dev-ruby/tzinfo/tzinfo-0.3.20.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.20.ebuild,v 1.3 2010/05/22 22:48:52 a3li 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 ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND="" -DEPEND="" - -ruby_add_bdepend "test? ( virtual/ruby-test-unit )" - -all_ruby_prepare() { - # 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. - sed -i -e '138,146s:^:#:' "${S}"/test/tc_timezone.rb || die "unable to sed out the test" -} |