1 |
commit: df2aa8738586243b7eec8000475c298a9f47f084 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 06:47:21 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 07:02:05 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df2aa873 |
7 |
|
8 |
dev-ruby/power_assert: avoid installing useless binstubs, bug 607806 |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
dev-ruby/power_assert/power_assert-1.0.1-r1.ebuild | 38 ++++++++++++++++++++++ |
13 |
1 file changed, 38 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/power_assert/power_assert-1.0.1-r1.ebuild b/dev-ruby/power_assert/power_assert-1.0.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..780349b |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/power_assert/power_assert-1.0.1-r1.ebuild |
20 |
@@ -0,0 +1,38 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
27 |
+ |
28 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
29 |
+RUBY_FAKEGEM_EXTRADOC="README.rdoc" |
30 |
+ |
31 |
+RUBY_FAKEGEM_BINWRAP="" |
32 |
+ |
33 |
+inherit ruby-fakegem |
34 |
+ |
35 |
+DESCRIPTION="Shows each value of variables and method calls in the expression" |
36 |
+HOMEPAGE="https://github.com/k-tsj/power_assert" |
37 |
+SRC_URI="https://github.com/k-tsj/power_assert/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+LICENSE="|| ( Ruby BSD-2 )" |
39 |
+ |
40 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
41 |
+ |
42 |
+SLOT="0" |
43 |
+IUSE="" |
44 |
+ |
45 |
+ruby_add_bdepend "test? ( dev-ruby/test-unit )" |
46 |
+ |
47 |
+all_ruby_prepare() { |
48 |
+ sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die |
49 |
+ sed -i -e '1igem "test-unit"' \ |
50 |
+ -e '/byebug/ s:^:#:' test/test_helper.rb || die |
51 |
+ |
52 |
+ # Avoid circular dependency on byebug when bootstrapping ruby |
53 |
+ sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die |
54 |
+ rm test/test_core_ext_helper.rb test/trace_test.rb || die |
55 |
+ |
56 |
+ # Avoid circular dependency on pry when bootstrapping ruby |
57 |
+ sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die |
58 |
+} |