Version bump.
authorHans de Graaff <graaff@gentoo.org>
Sun, 18 Dec 2011 17:53:34 +0000 (17:53 +0000)
committerHans de Graaff <graaff@gentoo.org>
Sun, 18 Dec 2011 17:53:34 +0000 (17:53 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64

dev-ruby/method_source/ChangeLog
dev-ruby/method_source/method_source-0.6.7.ebuild [new file with mode: 0644]

index 479f283211121284987e1176fe0afedb913d6d3b..a818dab9c966143e999986f0b2a4797dc9c1be54 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/method_source
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/method_source/ChangeLog,v 1.2 2011/10/16 08:44:34 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/method_source/ChangeLog,v 1.3 2011/12/18 17:53:34 graaff Exp $
+
+*method_source-0.6.7 (18 Dec 2011)
+
+  18 Dec 2011; Hans de Graaff <graaff@gentoo.org> +method_source-0.6.7.ebuild:
+  Version bump.
 
 *method_source-0.6.6 (16 Oct 2011)
 
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 (file)
index 0000000..4870fc8
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 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.1 2011/12/18 17:53:34 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"
+
+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."
+}