summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-11-14 07:00:08 +0000
committerHans de Graaff <graaff@gentoo.org>2012-11-14 07:00:08 +0000
commit2d38e2a78ba6d96fa1a7fb769429efc949ad9749 (patch)
tree4d13db0f59ac9489e3bd85e69ce37fccda5210ff /dev-ruby/method_source
parentVersion bump. (diff)
downloadgentoo-2-2d38e2a78ba6d96fa1a7fb769429efc949ad9749.tar.gz
gentoo-2-2d38e2a78ba6d96fa1a7fb769429efc949ad9749.tar.bz2
gentoo-2-2d38e2a78ba6d96fa1a7fb769429efc949ad9749.zip
Add back 0.6.7 in a separate slot to satisfy dev-ruby/pry dependency.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/method_source')
-rw-r--r--dev-ruby/method_source/ChangeLog5
-rw-r--r--dev-ruby/method_source/method_source-0.6.7.ebuild31
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."
+}