1 |
commit: f4e53aec94e1a429de1d2d6344defbea291ecef2 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 2 09:08:34 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 3 06:26:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e53aec |
7 |
|
8 |
dev-ruby/web-console: add 4.1.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/web-console/Manifest | 1 + |
14 |
dev-ruby/web-console/web-console-4.1.0.ebuild | 47 +++++++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest |
18 |
index e4d0258ceee..986e7332c18 100644 |
19 |
--- a/dev-ruby/web-console/Manifest |
20 |
+++ b/dev-ruby/web-console/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST web-console-3.7.0.tar.gz 53714 BLAKE2B d69a7b467e419e87d43c988026f278aea5ca142e336d120e0a50ef85b36186d2f388d551f19820e01d85fdca5a49c471aed69cb2ae0d6f1828a99350dfe86d55 SHA512 d44e4dc3ef12216829b3f522e3645b0fa9b8ae34fa70b5e52a96e345b8b5fc8dad9af6f9918ea23d276cae03445133b15f780041a8cb61584b182ca6934fd71b |
23 |
DIST web-console-4.0.4.tar.gz 54372 BLAKE2B 5b52c7dbeeeb13ae6cb8bff8982a7a696311e3667ef69b17611cf3ec8ab26b19869ec799e10d4140cc41cfb31a22af1f51134da06d05cca12b488c5470f6ae2a SHA512 66dbfb9d13be57b790053d748c88a9266e673cfcc253df67b4dbb00c874a4bd3601a61b633d5e3e470e010cb764c13846a7038247122140bdb78f40f673cd82b |
24 |
+DIST web-console-4.1.0.tar.gz 54722 BLAKE2B 242e588843e713b77c0689b17906bb0dad8784ad9b5fd255a174364afa83014d3cb022f1fb52a759aaa9f2453a1a944796c1a84edff65de6a5e1adaebccc4071 SHA512 c295dac733094a4ee4ce9dffa0d65001aa179cd17cc5b9a2a0a418e1e1a4ca3d40fab8bc3f8e099d55a0b7b07295e40d40dd1b3335ac98e9b0cd51590b130e10 |
25 |
|
26 |
diff --git a/dev-ruby/web-console/web-console-4.1.0.ebuild b/dev-ruby/web-console/web-console-4.1.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..de91b3bf817 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/web-console/web-console-4.1.0.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby25 ruby26 ruby27" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown" |
39 |
+ |
40 |
+RUBY_FAKEGEM_GEMSPEC="web-console.gemspec" |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="A debugging tool for your Ruby on Rails applications" |
45 |
+HOMEPAGE="https://github.com/rails/web-console" |
46 |
+SRC_URI="https://github.com/rails/web-console/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="$(ver_cut 1)" |
50 |
+KEYWORDS="~amd64" |
51 |
+IUSE="" |
52 |
+ |
53 |
+ruby_add_rdepend " |
54 |
+ >=dev-ruby/actionview-6.0:* |
55 |
+ >=dev-ruby/activemodel-6.0:* |
56 |
+ >=dev-ruby/bindex-0.4.0 |
57 |
+ >=dev-ruby/railties-6.0:* |
58 |
+" |
59 |
+ |
60 |
+ruby_add_bdepend "test? ( |
61 |
+ dev-ruby/bundler |
62 |
+ >=dev-ruby/rails-6.0 |
63 |
+ dev-ruby/rack |
64 |
+ dev-ruby/sqlite3 |
65 |
+ dev-ruby/mocha |
66 |
+ www-servers/puma |
67 |
+)" |
68 |
+ |
69 |
+all_ruby_prepare() { |
70 |
+ # Use an installed rails version rather than live source from github, and |
71 |
+ # rack is now part of rails. |
72 |
+ sed -e '/\(rack\|arel\|rails\|simplecov\)/ s/,/#/' \ |
73 |
+ -e '/\(byebug\|simplecov\)/ s:^:#:' \ |
74 |
+ -e '/arel/ s:^:#:' \ |
75 |
+ -i Gemfile || die |
76 |
+ |
77 |
+ sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die |
78 |
+} |