diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-ruby/web-console/web-console-4.2.0.ebuild | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-ruby/web-console/web-console-4.2.0.ebuild')
-rw-r--r-- | dev-ruby/web-console/web-console-4.2.0.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/web-console/web-console-4.2.0.ebuild b/dev-ruby/web-console/web-console-4.2.0.ebuild new file mode 100644 index 000000000000..c81c9d39ea20 --- /dev/null +++ b/dev-ruby/web-console/web-console-4.2.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="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 +} |