summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-09-25 08:03:55 +0200
committerHans de Graaff <graaff@gentoo.org>2015-09-25 08:04:26 +0200
commit1dd4fb516b845639736d00937214695110988546 (patch)
treeff86819c5d6d30f0963f714f75dd70711c3950d7 /dev-ruby
parentx11-libs/gdk-pixbuf: arm stable, bug #556314 (diff)
downloadgentoo-1dd4fb516b845639736d00937214695110988546.tar.gz
gentoo-1dd4fb516b845639736d00937214695110988546.tar.bz2
gentoo-1dd4fb516b845639736d00937214695110988546.zip
dev-ruby/pry: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/pry/Manifest1
-rw-r--r--dev-ruby/pry/pry-0.10.2.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/pry/Manifest b/dev-ruby/pry/Manifest
index 6d64fbdd6466..a711ace97598 100644
--- a/dev-ruby/pry/Manifest
+++ b/dev-ruby/pry/Manifest
@@ -1,2 +1,3 @@
DIST pry-0.10.1.tar.gz 204021 SHA256 c04af53883e742d6cf44c3923a6e397b14f14520f73da0d3f68dfc0855e8645b SHA512 cbb850d5bc9012da376ed87a894c939e20f0c1992565e3f9c282a85fd3026c2eb71a487672e2dc141a8f1ac0016f467782448e318012ef761e5cc21edb376b92 WHIRLPOOL 1b320e9e6956121b4b51d9d56b09deec823e00b3384b74065047bf2c32fc7d145bb34e63906cd1b0093f160c3e7b5a449f1ae1cecaeed5d36a388cb053786780
+DIST pry-0.10.2.tar.gz 204207 SHA256 d0bb0f89d13f623cedcc772110666156f930ff36c663927d4e54f846385efcdf SHA512 11438b4935adf9541bcd10bd9b1894179f0ad05db3361e6ad6589421bc60a80071773c0188c277f0bd44208dffa1694696649f79be28cd33164d2a7efe6ac2b9 WHIRLPOOL f866ade6961f2ac7a57ad7e1c1ac4d3dbf304f30cb46b06b2383649a47d3a3ed80e9500a434ff7123204c12c58eedda1a9bbc9a407752700f34213c20f90008d
DIST pry-0.9.12.6.gem 198144 SHA256 0107730b35bdd4fd042fa9c92263174a38f975844230bc5c583fd4816c55af72 SHA512 451da80d9224f3c826bdcb0492d1880005143ae489dc1de0021ed73fd3d34ef3bab7c06dd631cf9737c7b4d9b031d1ee7be05c4e4d99ab9af24231ce388ac3b9 WHIRLPOOL c04d80c3e2a357dbdab549be0d5b83ce319dcfbac286dd5b7e156e1a800cd87d89974a5213e8fb0860819a606a5633295ed0b645ab049a68674cf68a2d1a947d
diff --git a/dev-ruby/pry/pry-0.10.2.ebuild b/dev-ruby/pry/pry-0.10.2.ebuild
new file mode 100644
index 000000000000..9c1328763588
--- /dev/null
+++ b/dev-ruby/pry/pry-0.10.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+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"
+SRC_URI="https://github.com/pry/pry/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+IUSE=""
+SLOT="ruby19"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+
+ruby_add_rdepend "
+ >=dev-ruby/coderay-1.1.0 =dev-ruby/coderay-1.1*
+ >=dev-ruby/slop-3.4.1:3
+ >=dev-ruby/method_source-0.8.1 =dev-ruby/method_source-0.8*"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/open4-1.3
+ >=dev-ruby/rake-0.9
+ >=dev-ruby/mocha-1.0
+ )"
+
+all_ruby_prepare() {
+ # Avoid unneeded dependency on git.
+ # Loosen coderay dependency.
+ sed -e '/git ls-files/d' \
+ -e '/coderay/s/~>/>=/' \
+ -e '/bundler/d' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -e '/[Bb]undler/d' -e "1irequire 'mocha/api'\ " -i spec/helper.rb || die
+ sed -e "1irequire 'ostruct'\ " -i spec/hooks_spec.rb || die
+ sed -e '/of Class after the singleton classes/,+4d' -i spec/method_spec.rb || die
+ # Out of date tests
+ rm spec/commands/gist_spec.rb || die
+}