diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-04-30 19:20:55 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-04-30 19:20:55 +0000 |
commit | e8c64c55d66f335b89a7997a92fa10e5073a84f8 (patch) | |
tree | adc6a9aa62558e5201b8ef1d0275e56ae1b1f52f /dev-ruby/method_source | |
parent | Check for CONFIG_INOTIFY_USER wrt #413403 (diff) | |
download | gentoo-2-e8c64c55d66f335b89a7997a92fa10e5073a84f8.tar.gz gentoo-2-e8c64c55d66f335b89a7997a92fa10e5073a84f8.tar.bz2 gentoo-2-e8c64c55d66f335b89a7997a92fa10e5073a84f8.zip |
Fix gemspec to report the correct version.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/method_source')
-rw-r--r-- | dev-ruby/method_source/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/method_source/method_source-0.7.1-r1.ebuild (renamed from dev-ruby/method_source/method_source-0.7.1.ebuild) | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-ruby/method_source/ChangeLog b/dev-ruby/method_source/ChangeLog index 2746af2f69cc..871b5dde7e2e 100644 --- a/dev-ruby/method_source/ChangeLog +++ b/dev-ruby/method_source/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/method_source # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/method_source/ChangeLog,v 1.8 2012/04/29 16:37:33 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/method_source/ChangeLog,v 1.9 2012/04/30 19:20:55 flameeyes Exp $ + +*method_source-0.7.1-r1 (30 Apr 2012) + + 30 Apr 2012; Diego E. Pettenò <flameeyes@gentoo.org> + +method_source-0.7.1-r1.ebuild, -method_source-0.7.1.ebuild: + Fix gemspec to report the correct version. 29 Apr 2012; Thomas Kahle <tomka@gentoo.org> method_source-0.7.1.ebuild: marked ~x86 per bug 391073 diff --git a/dev-ruby/method_source/method_source-0.7.1.ebuild b/dev-ruby/method_source/method_source-0.7.1-r1.ebuild index b7b1f529aab3..40531694f918 100644 --- a/dev-ruby/method_source/method_source-0.7.1.ebuild +++ b/dev-ruby/method_source/method_source-0.7.1-r1.ebuild @@ -1,16 +1,15 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/method_source/method_source-0.7.1.ebuild,v 1.2 2012/04/29 16:37:33 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/method_source/method_source-0.7.1-r1.ebuild,v 1.1 2012/04/30 19:20:55 flameeyes Exp $ EAPI=4 -# jruby crashes on parsing the metadata. USE_RUBY="ruby18 ruby19 ree18 jruby" RUBY_FAKEGEM_TASK_TEST="none" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.markdown" -RUBY_FAKEGEM_GEMSPEC="method_source.gemspec" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" inherit ruby-fakegem @@ -24,6 +23,11 @@ KEYWORDS="~amd64 ~ppc64 ~x86" ruby_add_bdepend "test? ( >=dev-ruby/bacon-1.1.0 )" +all_ruby_prepare() { + sed -i -e '/version/s:0\.7\.0:0.7.1:' \ + ${RUBY_FAKEGEM_GEMSPEC} || die +} + each_ruby_test() { ${RUBY} -I. -S bacon -k test/test.rb || die "Tests failed." } |