diff options
Diffstat (limited to 'dev-ruby/method_source')
-rw-r--r-- | dev-ruby/method_source/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/method_source/method_source-0.6.7.ebuild | 31 |
2 files changed, 35 insertions, 1 deletions
diff --git a/dev-ruby/method_source/ChangeLog b/dev-ruby/method_source/ChangeLog index c558e862334a..e9f4ea5e8551 100644 --- a/dev-ruby/method_source/ChangeLog +++ b/dev-ruby/method_source/ChangeLog @@ -1,6 +1,9 @@ # 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.13 2012/08/26 11:47:18 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/method_source/ChangeLog,v 1.14 2012/11/14 07:00:08 graaff Exp $ + + 14 Nov 2012; Hans de Graaff <graaff@gentoo.org> +method_source-0.6.7.ebuild: + Add back 0.6.7 in a separate slot to satisfy dev-ruby/pry dependency. 26 Aug 2012; Hans de Graaff <graaff@gentoo.org> -method_source-0.7.1-r1.ebuild: diff --git a/dev-ruby/method_source/method_source-0.6.7.ebuild b/dev-ruby/method_source/method_source-0.6.7.ebuild new file mode 100644 index 000000000000..9915b4a1b3e5 --- /dev/null +++ b/dev-ruby/method_source/method_source-0.6.7.ebuild @@ -0,0 +1,31 @@ +# 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.6.7.ebuild,v 1.3 2012/11/14 07:00:08 graaff 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" + +inherit ruby-fakegem + +DESCRIPTION="Retrieve the source code for a method." +HOMEPAGE="http://github.com/banister/method_source" +IUSE="" +SLOT="0.6" + +LICENSE="MIT" +KEYWORDS="~amd64" + +ruby_add_bdepend "test? ( >=dev-ruby/bacon-1.1.0 )" + +ruby_add_rdepend ">=dev-ruby/ruby_parser-2.3.1" + +each_ruby_test() { + ${RUBY} -I. -S bacon -k test/test.rb || die "Tests failed." +} |