1 |
commit: bd6c6a0193eb7c597a9086d9e7715e097ec76cac |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 06:38:48 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 06:38:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd6c6a01 |
7 |
|
8 |
dev-ruby/binding_of_caller: add 1.0.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/binding_of_caller/Manifest | 1 + |
14 |
.../binding_of_caller-1.0.0.ebuild | 30 ++++++++++++++++++++++ |
15 |
2 files changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/binding_of_caller/Manifest b/dev-ruby/binding_of_caller/Manifest |
18 |
index 66a1b369f1b..b45105f01e7 100644 |
19 |
--- a/dev-ruby/binding_of_caller/Manifest |
20 |
+++ b/dev-ruby/binding_of_caller/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST binding_of_caller-0.8.0.gem 87552 BLAKE2B 9097fe2dbf1e5ea2361bee94cb83ce8152f7e1357caecf1217b1643be225e21e5aa793e7fccbef5c983d5c204b95e633ded490158dfdd1d4e99fca81c51cb910 SHA512 d6ea4e893415eaf3614b109f8f36c3fa2378da9997d013fccbd0fc1e598886d11f7843023ceed2468184d5b8df01e2329ef16c7af57bc60bbd47304a53b43974 |
23 |
+DIST binding_of_caller-1.0.0.tar.gz 7473 BLAKE2B 2a8f3cee555e11c9eeb56935d0ee51deb037ea5fc631b4ef5eb50a831e48ba47c6a94e9104456bd8e6c4910bc76c5bc7e268db7de8c5ed283886b80c3feffd62 SHA512 89c58fec180b7bc25c5124035ed69692961148a3ddcb561643e7b8b1a78c3b103795408b52e70264db7c4b62080991219af977c5b981a135d573ecd56cebebba |
24 |
|
25 |
diff --git a/dev-ruby/binding_of_caller/binding_of_caller-1.0.0.ebuild b/dev-ruby/binding_of_caller/binding_of_caller-1.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..47de67cdbd7 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/binding_of_caller/binding_of_caller-1.0.0.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+USE_RUBY="ruby25 ruby26 ruby27" |
36 |
+ |
37 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+ |
40 |
+RUBY_FAKEGEM_GEMSPEC="binding_of_caller.gemspec" |
41 |
+ |
42 |
+RUBY_FAKEGEM_BINWRAP="" |
43 |
+ |
44 |
+inherit ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="Retrieve the binding of a method's caller" |
47 |
+HOMEPAGE="https://github.com/banister/binding_of_caller" |
48 |
+SRC_URI="https://github.com/banister/binding_of_caller/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64" |
53 |
+IUSE="test" |
54 |
+ |
55 |
+ruby_add_rdepend ">=dev-ruby/debug_inspector-0.0.1" |
56 |
+ |
57 |
+all_ruby_prepare() { |
58 |
+ sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
59 |
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die |
60 |
+} |