From 96ff2eb5ea67470e217c997fb721d6eecf4e3e49 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Wed, 25 Jan 2012 00:37:24 +0000 Subject: Bump to remove use of original gemspec metadata; it would have gone to look for 'rubypants.rb' for many minutes otherwise. (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) --- dev-ruby/rubypants/ChangeLog | 11 ++++++-- dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild | 34 ----------------------- dev-ruby/rubypants/rubypants-0.2.0-r3.ebuild | 40 ++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 36 deletions(-) delete mode 100644 dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild create mode 100644 dev-ruby/rubypants/rubypants-0.2.0-r3.ebuild (limited to 'dev-ruby/rubypants') diff --git a/dev-ruby/rubypants/ChangeLog b/dev-ruby/rubypants/ChangeLog index e1a36dca7e53..ee90dafbd2a1 100644 --- a/dev-ruby/rubypants/ChangeLog +++ b/dev-ruby/rubypants/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/rubypants -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/ChangeLog,v 1.13 2011/06/13 10:19:15 graaff Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/ChangeLog,v 1.14 2012/01/25 00:37:24 flameeyes Exp $ + +*rubypants-0.2.0-r3 (25 Jan 2012) + + 25 Jan 2012; Diego E. Pettenò + +rubypants-0.2.0-r3.ebuild, -rubypants-0.2.0-r2.ebuild: + Bump to remove use of original gemspec metadata; it would have gone to look + for 'rubypants.rb' for many minutes otherwise. 13 Jun 2011; Hans de Graaff rubypants-0.2.0-r1.ebuild, rubypants-0.2.0-r2.ebuild: diff --git a/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild b/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild deleted file mode 100644 index e5c3ff93d478..000000000000 --- a/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild,v 1.3 2011/06/13 10:19:15 graaff Exp $ - -EAPI=2 - -USE_RUBY="ruby18 ruby19 jruby ree18" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_TASK_TEST="" - -inherit ruby-fakegem - -DESCRIPTION="A Ruby port of the SmartyPants PHP library." -HOMEPAGE="http://chneukirchen.org/repos/rubypants/README" - -LICENSE="Ruby" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -ruby_add_bdepend "test? ( virtual/ruby-test-unit )" - -each_ruby_install() { - ruby_fakegem_install_gemspec - - ruby_fakegem_newins rubypants.rb lib/rubypants.rb -} - -each_ruby_test() { - # The rakefile doesn't really implement it properly, so simply - # replace it here. - ${RUBY} -I. test_rubypants.rb || die "tests failed" -} diff --git a/dev-ruby/rubypants/rubypants-0.2.0-r3.ebuild b/dev-ruby/rubypants/rubypants-0.2.0-r3.ebuild new file mode 100644 index 000000000000..a99641599122 --- /dev/null +++ b/dev-ruby/rubypants/rubypants-0.2.0-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/rubypants-0.2.0-r3.ebuild,v 1.1 2012/01/25 00:37:24 flameeyes Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ruby19 jruby ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby port of the SmartyPants PHP library." +HOMEPAGE="http://chneukirchen.org/repos/rubypants/README" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( virtual/ruby-test-unit )" + +all_ruby_prepare() { + # the metadata format is ancient, and has quite a bit of trouble, + # remove it and let it use a generated one. + rm ../metadata +} + +each_ruby_install() { + ruby_fakegem_install_gemspec + + ruby_fakegem_newins rubypants.rb lib/rubypants.rb +} + +each_ruby_test() { + # The rakefile doesn't really implement it properly, so simply + # replace it here. + ${RUBY} -I. test_rubypants.rb || die "tests failed" +} -- cgit v1.2.3-65-gdbad