1 |
commit: 5205f3e1ed067320183a329319f6bc80a5e5a266 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 06:22:41 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 06:22:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5205f3e1 |
7 |
|
8 |
dev-ruby/pry: add 0.14.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/pry/Manifest | 1 + |
14 |
dev-ruby/pry/pry-0.14.0.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/pry/Manifest b/dev-ruby/pry/Manifest |
18 |
index 6e03f58906b..da6faa57f2b 100644 |
19 |
--- a/dev-ruby/pry/Manifest |
20 |
+++ b/dev-ruby/pry/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST pry-0.13.1.tar.gz 240103 BLAKE2B da4797e36aecba8bf1a785738339ed4be1e06ab28b329b66551a908898cd0515fc0da2434ba96e9fa0f350c9d32c13f850660bc0236c6c0218a4bd3182ec4ced SHA512 bec52c75dce365db68504634b2eaf6b0f312527031401199fcdbaa3ec5a9272148239d93305f8e66c4d36513f9fec3fe045e978c5a10f012a2880ab4a16b7e85 |
23 |
+DIST pry-0.14.0.tar.gz 238895 BLAKE2B 325a7eaa03836cf78c8599af15aa6758bc36cccf20937c3a7f222a5a831d2ffd8fc990e005b587779fe2a15077e0b8b38628c6f075b2b73de7ea44b5642e8635 SHA512 c10ba16d7dbd05308079f98a68fbcbb367d07977fd71a7077a80938b10c7588f585651e046d29a2f1499f136f56c062598f77ada8fb47a31608a4ea8536c5ef8 |
24 |
|
25 |
diff --git a/dev-ruby/pry/pry-0.14.0.ebuild b/dev-ruby/pry/pry-0.14.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..16efb0d3f5f |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/pry/pry-0.14.0.ebuild |
30 |
@@ -0,0 +1,45 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+USE_RUBY="ruby25 ruby26 ruby27" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_DOC="yard" |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
40 |
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" |
41 |
+RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec |
42 |
+ |
43 |
+inherit ruby-fakegem |
44 |
+ |
45 |
+DESCRIPTION="Pry is a powerful alternative to the standard IRB shell for Ruby" |
46 |
+HOMEPAGE="https://github.com/pry/pry/wiki" |
47 |
+SRC_URI="https://github.com/pry/pry/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+IUSE="" |
49 |
+SLOT="ruby19" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
53 |
+ |
54 |
+ruby_add_rdepend " |
55 |
+ >=dev-ruby/coderay-1.1.0 =dev-ruby/coderay-1.1* |
56 |
+ =dev-ruby/method_source-1*" |
57 |
+ |
58 |
+ruby_add_bdepend " |
59 |
+ test? ( |
60 |
+ >=dev-ruby/open4-1.3 |
61 |
+ >=dev-ruby/rake-0.9 |
62 |
+ >=dev-ruby/mocha-1.0 |
63 |
+ )" |
64 |
+ |
65 |
+all_ruby_prepare() { |
66 |
+ # Avoid unneeded dependency on git. |
67 |
+ # Loosen coderay dependency. |
68 |
+ sed -e '/git ls-files/d' \ |
69 |
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die |
70 |
+ sed -e '/[Bb]undler/d' -i spec/spec_helper.rb || die |
71 |
+ |
72 |
+ # Skip integration tests because they depend to much on specifics of the environment. |
73 |
+ rm -f spec/integration/* || die |
74 |
+ sed -i -e '/loads files through repl and exits/askip "depends on parent directory"' spec/cli_spec.rb || die |
75 |
+} |