Diff activestorage-6.1.7.6 with a activestorage-7.0.7
/usr/portage/dev-ruby/activestorage/activestorage-7.0.7.ebuild 2023-10-09 14:52:30.420368374 +0300 | ||
---|---|---|
23 | 23 | |
24 | 24 |
LICENSE="MIT" |
25 | 25 |
SLOT="$(ver_cut 1-2)" |
26 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" |
|
26 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
27 | 27 |
IUSE="" |
28 | 28 | |
29 | 29 |
RUBY_S="rails-${PV}/${PN}" |
... | ... | |
43 | 43 |
test? ( |
44 | 44 |
~dev-ruby/railties-${PV} |
45 | 45 |
>=dev-ruby/image_processing-1.2:0 |
46 |
dev-ruby/test-unit:2 |
|
47 | 46 |
=dev-ruby/minitest-5.15*:* |
48 | 47 |
dev-ruby/mini_magick |
49 | 48 |
dev-ruby/mocha |
50 | 49 |
dev-ruby/rake |
50 |
dev-ruby/sprockets-rails |
|
51 | 51 |
dev-ruby/sqlite3 |
52 | 52 |
)" |
53 | 53 | |
54 | 54 |
all_ruby_prepare() { |
55 | 55 |
# Remove items from the common Gemfile that we don't need for this |
56 | 56 |
# test run. This also requires handling some gemspecs. |
57 |
sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|capybara\|rack-cache\|rack-test\|selenium\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\|webpacker\|rexml\|webmock\)/ s:^:#:" \ |
|
58 |
-e '/dalli/ s/2.7.7/2.7.9/' \ |
|
57 |
sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|capybara\|rack-cache\|selenium\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\|webpacker\|rexml\|webmock\|webrick\|propshaft\|sprockets-export\|rack-test\|terser\|cookiejar\|cgi\)/ s:^:#:" \ |
|
58 |
-e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \ |
|
59 | 59 |
-e '/group :\(doc\|job\|rubocop\|test\)/,/^end/ s:^:#:' \ |
60 | 60 |
-i ../Gemfile || die |
61 | 61 |
rm ../Gemfile.lock || die |
62 | ||
63 |
# Use mini_magick since vips is not packaged on Gentoo |
|
64 |
sed -i -e '/mini_magick/aActiveStorage.variant_processor = :mini_magick' test/test_helper.rb || die |
|
65 |
# Avoid vips-specific tests |
|
66 |
sed -e '/\(resized and monochrome variation of JPEG blob\|monochrome with default variant_processor\|disabled variation of JPEG blob\)/askip "No vips support"' \ |
|
67 |
-i test/models/variant_test.rb || die |
|
62 | 68 |
} |