summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-11-18 07:57:07 +0100
committerHans de Graaff <graaff@gentoo.org>2017-11-18 07:57:45 +0100
commitadf74ee65ac5e0af55adf3599e7cce1dd932cbe3 (patch)
treec6f758ad3619ba5e3ee9f46dd2077664baaffa5e /dev-ruby
parentdev-ruby/parser: add 2.4.0.2 (diff)
downloadgentoo-adf74ee65ac5e0af55adf3599e7cce1dd932cbe3.tar.gz
gentoo-adf74ee65ac5e0af55adf3599e7cce1dd932cbe3.tar.bz2
gentoo-adf74ee65ac5e0af55adf3599e7cce1dd932cbe3.zip
dev-ruby/pry: add 0.11.3
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/pry/Manifest1
-rw-r--r--dev-ruby/pry/pry-0.11.3.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/pry/Manifest b/dev-ruby/pry/Manifest
index e2a253eb3241..328334cbde72 100644
--- a/dev-ruby/pry/Manifest
+++ b/dev-ruby/pry/Manifest
@@ -2,3 +2,4 @@ DIST pry-0.10.4.tar.gz 204296 SHA256 8c4afb4e2c3fea9ed8b9f17323b5a670db08f9995f2
DIST pry-0.11.0.tar.gz 223501 SHA256 fd1d79ac50dbadfbfbc4721510922bd6cb830b4ead70f3abb29b7979cc31db77 SHA512 1f252e6707f57d24ff7aca9c1437f1c5f38d3a203f3439bfd84f28fe4bb9f8063d3d16e2920b30a825554f01c4fb3f24f6221693de19f675cba4fc3df9b56254 WHIRLPOOL eff34eb9eef108333374b54cd7bb5a788bca06bc55f2c540f823720b728134435dc9c38056912e00dcc3327dfeb8b6556ad3c99b7ca081d7585b4a277488a76f
DIST pry-0.11.1.tar.gz 223494 SHA256 98cf974540db143ad4e30a71eddd211874e1b080d95eda984073a316cafb06ce SHA512 b662f870ef2759430ca22decdc1f5bd8e88ae8539b83e4b0e3420030d63459b37b2ce7dea1d2f654cb911e94597709e0d0bce55bc29cc0de9c115f2b7c305b2a WHIRLPOOL 98c147f12461e844fdc589904fe5113f736ace95a321b846bd2982b271b5decdb2d32cf9b37cc35234f1abf3721d529de38bd241c9e88b2a46dc57e537b1af96
DIST pry-0.11.2.tar.gz 223514 SHA256 9db18a35678facc73f6d2c6e2bad33086ba3302fdc900a4ba9fa0ba8561476c2 SHA512 c2b6ba9922c4bf556dec0d6eb2ecfe63994286578160a40e365061d473b3eb19971d76f5fe54035f7e8d489acfb3f0637b9f2fbe03fb1134629bd11b35e99bfa WHIRLPOOL 7c31c0de06425e0bc335fdf9310a832cb91eca14950e91d2cef5a0923c95e7b48eeca54f1ea868f17bdbb5bdfa1064d883228ba522d7983c59c544427546e643
+DIST pry-0.11.3.tar.gz 225483 SHA256 e223f9d59cf1dbec54be9d36523531e4d1350e0376c00f598c0c7a5bd550afe5 SHA512 6c5c983d0d446cc7cf105797083d932d95db9821215635cd3929ce2e229e21c4566d0644a6283de462e735aef577cd8c115589d2dd8bac88ac2f911be0bf729f WHIRLPOOL 020947664b5761abddf97cebeef3b457d46625056f13e245faa40bdaa615673f0c913f3a7356518eaff30af471d9f10e819e55c1c19b8ccef231620bf99be679
diff --git a/dev-ruby/pry/pry-0.11.3.ebuild b/dev-ruby/pry/pry-0.11.3.ebuild
new file mode 100644
index 000000000000..a60683982ec5
--- /dev/null
+++ b/dev-ruby/pry/pry-0.11.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+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 ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+
+ruby_add_rdepend "
+ >=dev-ruby/coderay-1.1.0 =dev-ruby/coderay-1.1*
+ >=dev-ruby/method_source-0.9.0 =dev-ruby/method_source-0.9*"
+
+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
+ # Out of date tests
+ rm spec/commands/gist_spec.rb || die
+}