Diff actionmailbox-6.1.7.6 with a actionmailbox-7.0.7
/usr/portage/dev-ruby/actionmailbox/actionmailbox-7.0.7.ebuild 2023-10-09 14:52:30.416368373 +0300 | ||
---|---|---|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 |
USE_RUBY="ruby31 ruby32" |
|
5 |
USE_RUBY="ruby30 ruby31 ruby32" |
|
6 | 6 | |
7 | 7 |
RUBY_FAKEGEM_RECIPE_DOC="none" |
8 | 8 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
... | ... | |
20 | 20 | |
21 | 21 |
LICENSE="MIT" |
22 | 22 |
SLOT="$(ver_cut 1-2)" |
23 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" |
|
23 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
|
24 | 24 |
IUSE="" |
25 | 25 | |
26 | 26 |
RUBY_S="rails-${PV}/${PN}" |
27 | 27 | |
28 |
PATCHES=( |
|
29 |
"${FILESDIR}"/${PN}-6.1.7.4-mail28.patch |
|
30 |
) |
|
31 | ||
32 | 28 |
ruby_add_rdepend " |
33 | 29 |
~dev-ruby/actionpack-${PV} |
34 | 30 |
~dev-ruby/activejob-${PV} |
... | ... | |
36 | 32 |
~dev-ruby/activestorage-${PV} |
37 | 33 |
~dev-ruby/activesupport-${PV} |
38 | 34 |
>=dev-ruby/mail-2.7.1:* |
35 |
dev-ruby/net-imap |
|
36 |
dev-ruby/net-pop |
|
37 |
dev-ruby/net-smtp |
|
39 | 38 |
" |
40 | 39 | |
41 | 40 |
ruby_add_bdepend "test? ( |
42 | 41 |
dev-ruby/bundler |
43 | 42 |
<dev-ruby/minitest-5.16 |
44 | 43 |
dev-ruby/mocha |
44 |
dev-ruby/propshaft |
|
45 | 45 |
dev-ruby/rexml |
46 | 46 |
dev-ruby/sqlite3 |
47 | 47 |
dev-ruby/webmock |
... | ... | |
51 | 51 |
all_ruby_prepare() { |
52 | 52 |
# Remove items from the common Gemfile that we don't need for this |
53 | 53 |
# test run. This also requires handling some gemspecs. |
54 |
sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql2\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|sass-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|webrick\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|rack-test\|capybara\|webpacker\|bootsnap\|dalli\|connection_pool\)/ s:^:#:" \ |
|
54 |
sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql2\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|sass-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|webrick\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|rack-test\|capybara\|webpacker\|bootsnap\|dalli\|connection_pool\|terser\|cookiejar\|cgi\)/ s:^:#:" \ |
|
55 |
-e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \ |
|
55 | 56 |
-e '/group :\(cable\|doc\|job\|rubocop\|storage\|test\)/,/^end/ s:^:#:' \ |
56 | 57 |
-i ../Gemfile || die |
57 | 58 |
rm ../Gemfile.lock || die |
58 | 59 |
sed -i -e '/byebug/ s:^:#:' test/test_helper.rb || die |
59 | ||
60 |
# Avoid a test failing because the actionmailer part of the tarball |
|
61 |
# is not patched for ruby32. Fixed in next upstream release. |
|
62 |
rm -f test/unit/mailbox/bouncing_test.rb || die |
|
63 | 60 |
} |
64 | 61 | |
65 | 62 |
each_ruby_prepare() { |