1 |
commit: ed379b9f5cdd03b42f786c164334c08f8dc6f328 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 4 05:20:31 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 4 05:34:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed379b9f |
7 |
|
8 |
dev-ruby/web-console: add 4.0.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
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.0.1.ebuild | 44 +++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest |
18 |
index 459e3dcd400..a00eef156f7 100644 |
19 |
--- a/dev-ruby/web-console/Manifest |
20 |
+++ b/dev-ruby/web-console/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST web-console-2.3.0.tar.gz 47641 BLAKE2B 2756f3958ea77df7dbdf7e7bd79f64711b4f958433f347175a29db2272ba549c79f1f94e2be18c17ceb8f4f1e8d281cf09995354f6ccd21da314df14dde886ec SHA512 36136242012053c2049b0faef682a8fe79f931904cd1007a6e08f36aca7a8923fc47fc058304f11cc0b205db876ca77b1cca65048c8ba4db401123ed9c05c834 |
23 |
DIST web-console-3.7.0.tar.gz 53714 BLAKE2B d69a7b467e419e87d43c988026f278aea5ca142e336d120e0a50ef85b36186d2f388d551f19820e01d85fdca5a49c471aed69cb2ae0d6f1828a99350dfe86d55 SHA512 d44e4dc3ef12216829b3f522e3645b0fa9b8ae34fa70b5e52a96e345b8b5fc8dad9af6f9918ea23d276cae03445133b15f780041a8cb61584b182ca6934fd71b |
24 |
+DIST web-console-4.0.1.tar.gz 54076 BLAKE2B d1c93d828f7c0c33edaac664e2f763aff55bd8437c3f8e3b20cc5c065129a0b213234ea372147d5d6df0917d17cc458e63dad1aa64f9cbd67fbf0a02ab631c5e SHA512 7f2d931b94fc2e51edd28ca0f83473c382bd7ade6e425dd9c79770885efcdfbcf6a3a3223d36572d749da15b05126fd287412d2365d9faa33039de4bcb1c9b27 |
25 |
|
26 |
diff --git a/dev-ruby/web-console/web-console-4.0.1.ebuild b/dev-ruby/web-console/web-console-4.0.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..fc404eb434c |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/web-console/web-console-4.0.1.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby25 ruby26" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
39 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown" |
40 |
+ |
41 |
+RUBY_FAKEGEM_GEMSPEC="web-console.gemspec" |
42 |
+ |
43 |
+inherit ruby-fakegem |
44 |
+ |
45 |
+DESCRIPTION="A debugging tool for your Ruby on Rails applications" |
46 |
+HOMEPAGE="https://github.com/rails/web-console" |
47 |
+SRC_URI="https://github.com/rails/web-console/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="$(ver_cut 1)" |
51 |
+KEYWORDS="~amd64" |
52 |
+IUSE="" |
53 |
+ |
54 |
+ruby_add_rdepend " |
55 |
+ >=dev-ruby/actionview-6.0:* |
56 |
+ >=dev-ruby/activemodel-6.0:* |
57 |
+ >=dev-ruby/bindex-0.4.0 |
58 |
+ >=dev-ruby/railties-6.0:* |
59 |
+" |
60 |
+ |
61 |
+ruby_add_bdepend "test? ( |
62 |
+ dev-ruby/bundler |
63 |
+ >=dev-ruby/rails-6.0 |
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. |
71 |
+ sed -i -e '/\(rack\|rails\|simplecov\)/ s/,/#/' \ |
72 |
+ -e '/\(byebug\|simplecov\)/ s:^:#:' Gemfile || die |
73 |
+ |
74 |
+ sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die |
75 |
+} |