diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-04-27 12:37:48 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-04-27 12:38:53 +0200 |
commit | d17cad5acd9c6ab293511790093704847887fc4a (patch) | |
tree | 06312ca276b53befdb4613c5869c3b3baaae94b3 /dev-ruby | |
parent | dev-ruby/actionpack: add 7.0.2.4 (diff) | |
download | gentoo-d17cad5acd9c6ab293511790093704847887fc4a.tar.gz gentoo-d17cad5acd9c6ab293511790093704847887fc4a.tar.bz2 gentoo-d17cad5acd9c6ab293511790093704847887fc4a.zip |
dev-ruby/activestorage: add 7.0.2.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/activestorage/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/activestorage/activestorage-7.0.2.4.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-ruby/activestorage/Manifest b/dev-ruby/activestorage/Manifest index dbbe75a77aab..37df039398ca 100644 --- a/dev-ruby/activestorage/Manifest +++ b/dev-ruby/activestorage/Manifest @@ -9,3 +9,4 @@ DIST rails-6.1.5.1.tgz 10993257 BLAKE2B 90146d33fcad068a09bc61c09417514f2ccc18c5 DIST rails-6.1.5.tgz 11017020 BLAKE2B 5e1a167550998f8149ac770397f4e39a979f48365494f97d4b387559070e4e9264ddc93bf20e5c19537b4683a793a2c316bcb3f829cc05f0155b31a609da6756 SHA512 a90fe7781ddbb6a035ea7dcb950e2ab03a7297502891d4a88dfe7c3ef90b78d8009ea62a35272d3500e8819466042b883193ebb030683fc2cf7e5dc0e720edb1 DIST rails-7.0.2.2.tgz 11034626 BLAKE2B 388a27b5434f1ae062cb7c3a68881a885dd659dbd9e86c4d36e0cb29c493f127fb9cbdf0f9ce7dea5a715ddbcd7a3bff5e2de3adb2e278c8bf63c2473d1e4b6d SHA512 e7863f1e072d266b8df1abb8abf6b141bad74ef77fe5dbcd66e7603e2ebf386520e4fd8f337edb5f5a6bd5607fbaa146823cbe6980fd7864e3934a7c9d382e3d DIST rails-7.0.2.3.tgz 11037677 BLAKE2B b4d0ac3d2c56d262beca4f5ba1659a67526c01321dc00ef8392a11c6fbc7614e3c02cf02ffcbb5ed1911005c1be0c0741e225f45c5946fc9102629c5ba5d32ab SHA512 4dcbe65ce1bad803dd04be61918f1ca893529705a8336a0c09b0193eb453319fc42ed0e2dca6ff5cb56f0c2bc5ab03c9d9f479101904ad1a746980cd887798d4 +DIST rails-7.0.2.4.tgz 11014591 BLAKE2B 4a678dddca134769a40d73a6652a6aa273456288c19ddbe7611ae40a14860abf77226ab351ead92647fb471751521377c51cafae40383198ff3d3477bc257b55 SHA512 948cf58dd6ac517fb4b1e63c3a1dbfcf2405fd224ea150cb92f5805939d3a458ad26e139b1c6069cc587c01f15694be14e119ee56769a611e6b6eaa0eae5a68c diff --git a/dev-ruby/activestorage/activestorage-7.0.2.4.ebuild b/dev-ruby/activestorage/activestorage-7.0.2.4.ebuild new file mode 100644 index 000000000000..cdac79348cac --- /dev/null +++ b/dev-ruby/activestorage/activestorage-7.0.2.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Attach cloud and local files in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +DEPEND+=" test? ( app-text/mupdf media-gfx/imagemagick[jpeg,png,tiff] media-video/ffmpeg app-text/poppler[utils] ) " + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + ~dev-ruby/activejob-${PV}:* + ~dev-ruby/activerecord-${PV}:* + ~dev-ruby/activesupport-${PV}:* + dev-ruby/marcel:1.0 + >=dev-ruby/mini_mime-1.1.0 +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + >=dev-ruby/image_processing-1.2:0 + >=dev-ruby/minitest-5.15.0:5 + dev-ruby/mini_magick + dev-ruby/mocha + dev-ruby/rake + dev-ruby/sprockets-rails + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + 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\|propshaft\|sprockets-export\)/ s:^:#:" \ + -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \ + -e '/group :\(doc\|job\|rubocop\|test\)/,/^end/ s:^:#:' \ + -i ../Gemfile || die + rm ../Gemfile.lock || die + + # Use mini_magick since vips is not packaged on Gentoo + sed -i -e '/mini_magick/aActiveStorage.variant_processor = :mini_magick' test/test_helper.rb || die + # Avoid vips-specific tests + sed -i -e '/\(resized and monochrome variation of JPEG blob\|monochrome with default variant_processor\|disabled variation of JPEG blob\)/askip "No vips support"' test/models/variant_test.rb || die +} |