commit:     f4e53aec94e1a429de1d2d6344defbea291ecef2
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  2 09:08:34 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul  3 06:26:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e53aec

dev-ruby/web-console: add 4.1.0

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/web-console/Manifest                 |  1 +
 dev-ruby/web-console/web-console-4.1.0.ebuild | 47 +++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest
index e4d0258ceee..986e7332c18 100644
--- a/dev-ruby/web-console/Manifest
+++ b/dev-ruby/web-console/Manifest
@@ -1,2 +1,3 @@
 DIST web-console-3.7.0.tar.gz 53714 BLAKE2B 
d69a7b467e419e87d43c988026f278aea5ca142e336d120e0a50ef85b36186d2f388d551f19820e01d85fdca5a49c471aed69cb2ae0d6f1828a99350dfe86d55
 SHA512 
d44e4dc3ef12216829b3f522e3645b0fa9b8ae34fa70b5e52a96e345b8b5fc8dad9af6f9918ea23d276cae03445133b15f780041a8cb61584b182ca6934fd71b
 DIST web-console-4.0.4.tar.gz 54372 BLAKE2B 
5b52c7dbeeeb13ae6cb8bff8982a7a696311e3667ef69b17611cf3ec8ab26b19869ec799e10d4140cc41cfb31a22af1f51134da06d05cca12b488c5470f6ae2a
 SHA512 
66dbfb9d13be57b790053d748c88a9266e673cfcc253df67b4dbb00c874a4bd3601a61b633d5e3e470e010cb764c13846a7038247122140bdb78f40f673cd82b
+DIST web-console-4.1.0.tar.gz 54722 BLAKE2B 
242e588843e713b77c0689b17906bb0dad8784ad9b5fd255a174364afa83014d3cb022f1fb52a759aaa9f2453a1a944796c1a84edff65de6a5e1adaebccc4071
 SHA512 
c295dac733094a4ee4ce9dffa0d65001aa179cd17cc5b9a2a0a418e1e1a4ca3d40fab8bc3f8e099d55a0b7b07295e40d40dd1b3335ac98e9b0cd51590b130e10

diff --git a/dev-ruby/web-console/web-console-4.1.0.ebuild 
b/dev-ruby/web-console/web-console-4.1.0.ebuild
new file mode 100644
index 00000000000..de91b3bf817
--- /dev/null
+++ b/dev-ruby/web-console/web-console-4.1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown"
+
+RUBY_FAKEGEM_GEMSPEC="web-console.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A debugging tool for your Ruby on Rails applications"
+HOMEPAGE="https://github.com/rails/web-console";
+SRC_URI="https://github.com/rails/web-console/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+       >=dev-ruby/actionview-6.0:*
+       >=dev-ruby/activemodel-6.0:*
+       >=dev-ruby/bindex-0.4.0
+       >=dev-ruby/railties-6.0:*
+"
+
+ruby_add_bdepend "test? (
+       dev-ruby/bundler
+       >=dev-ruby/rails-6.0
+       dev-ruby/rack
+       dev-ruby/sqlite3
+       dev-ruby/mocha
+       www-servers/puma
+)"
+
+all_ruby_prepare() {
+       # Use an installed rails version rather than live source from github, 
and
+       # rack is now part of rails.
+       sed -e '/\(rack\|arel\|rails\|simplecov\)/ s/,/#/'  \
+               -e '/\(byebug\|simplecov\)/ s:^:#:' \
+               -e '/arel/ s:^:#:' \
+               -i Gemfile || die
+
+       sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die
+}

Reply via email to