diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2014-07-25 13:57:52 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2014-07-25 13:57:52 +0000 |
commit | 28c7589649c606a9448f02d22daf0abb45bbdce9 (patch) | |
tree | c1c0f98968584fa30f6ad87d68e5cd3ae16334d4 /dev-ruby/pry | |
parent | Cleanup old. (diff) | |
download | gentoo-2-28c7589649c606a9448f02d22daf0abb45bbdce9.tar.gz gentoo-2-28c7589649c606a9448f02d22daf0abb45bbdce9.tar.bz2 gentoo-2-28c7589649c606a9448f02d22daf0abb45bbdce9.zip |
Add ruby20, ruby21 targets. 3 tests failing.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/pry')
-rw-r--r-- | dev-ruby/pry/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/pry/pry-0.9.12.6-r1.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-ruby/pry/ChangeLog b/dev-ruby/pry/ChangeLog index f029ff2f1a06..b27e20d3bf65 100644 --- a/dev-ruby/pry/ChangeLog +++ b/dev-ruby/pry/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/pry # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pry/ChangeLog,v 1.13 2014/04/05 17:55:23 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pry/ChangeLog,v 1.14 2014/07/25 13:57:52 mrueg Exp $ + +*pry-0.9.12.6-r1 (25 Jul 2014) + + 25 Jul 2014; Manuel Rüger <mrueg@gentoo.org> +pry-0.9.12.6-r1.ebuild: + Add ruby20, ruby21 targets. 3 tests failing. 05 Apr 2014; Manuel Rüger <mrueg@gentoo.org> -pry-0.9.7.4-r1.ebuild, -pry-0.9.7.4.ebuild: diff --git a/dev-ruby/pry/pry-0.9.12.6-r1.ebuild b/dev-ruby/pry/pry-0.9.12.6-r1.ebuild new file mode 100644 index 000000000000..28875b50b2e4 --- /dev/null +++ b/dev-ruby/pry/pry-0.9.12.6-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pry/pry-0.9.12.6-r1.ebuild,v 1.1 2014/07/25 13:57:52 mrueg Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.markdown" +RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec + +inherit ruby-fakegem + +DESCRIPTION="Pry is a powerful alternative to the standard IRB shell for Ruby" +HOMEPAGE="https://github.com/pry/pry/wiki" +IUSE="" +SLOT="ruby19" + +LICENSE="MIT" +KEYWORDS="~amd64 ~ppc64 ~x86" + +ruby_add_rdepend " + >=dev-ruby/coderay-1.0.5 + >=dev-ruby/slop-3.4.1:3 + >=dev-ruby/method_source-0.8" + +ruby_add_bdepend " + test? ( + >=dev-ruby/bacon-1.2 + >=dev-ruby/open4-1.3 + >=dev-ruby/rake-0.9 + >=dev-ruby/mocha-0.13.1 + )" + +all_ruby_prepare() { + # Avoid unneeded dependency on git. + # Loosen coderay dependency. + sed -e '/git ls-files/d' \ + -e '/coderay/s/~>/>=/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} +each_ruby_test() { + ${RUBY} -S bacon -Ispec -q spec/*_spec.rb spec/*/*_spec.rb || die +} |