commit:     e912fa5f76cf7baed71417f903f11f7d048b070b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 26 08:12:40 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 08:16:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e912fa5f

dev-ruby/activestorage: add 6.1.7.10

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/activestorage/Manifest                    |  1 +
 .../activestorage/activestorage-6.1.7.10.ebuild    | 69 ++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-ruby/activestorage/Manifest b/dev-ruby/activestorage/Manifest
index 4086f4650837..046023b83751 100644
--- a/dev-ruby/activestorage/Manifest
+++ b/dev-ruby/activestorage/Manifest
@@ -1,3 +1,4 @@
+DIST rails-6.1.7.10.tgz 11034185 BLAKE2B 
569fcde5a788151af1eb1bfe7a83048e92bdca36a3e219848567aec47877d17d791ba9f5e4913e077d458e52e7a6b69d448e1763b68e8284b9de4d2a60feaaab
 SHA512 
ae601abca73cb6b962a9863fece1bca2e9ab64ef884054df58ec51cbc8256e9dc26086ade7c0c24c37a2047fd9f21f121ac22b44384bcd877df1d300aa06fe79
 DIST rails-6.1.7.8.tgz 11041890 BLAKE2B 
285571972ec1d43ae65f3c4f586679e31d0550263c4778925c5828000d6ba971a791ad1071a7ab5edd8d728cd51ee15bb5cee1261b828a4b5926a54f34887d10
 SHA512 
8c819da0f46820f05d4128444fb3c3908d5e50f97935b173cdd156a986720dda6bcbb62015884d3142ebd5b17621e3f94ca2c80691564914088e884b9aac3573
 DIST rails-6.1.7.9.tgz 11034686 BLAKE2B 
12edf62a94e0b504f1db721081ce35a6b7e8f67bded2801ce54872f7cef80fb75120f56b356940a44d943cbd05b4d63778726885ac20dd04a2e5510f54ea06ac
 SHA512 
387cbc5424b16ade97091e3cfc3a5bc0cfe277ee75a7f35cdf5d393c692d2ea17f258e38d8b25c8c8a1be4fb64a39d0f675b23942145929bb7be4783cd95d90b
 DIST rails-7.0.8.4.tgz 11082427 BLAKE2B 
2ca521ad92b7a33fa2160b4cfbc1aac826641d2aac7a8751b6acaed1b7fc42bb860b4ade3f973eb51dc17d20fa4c97b02e8d6b970ae63b042cd58ab2f6cfc797
 SHA512 
e6628e901fcdcd4b9101cdae0cd556569fc7b577466a15f99d1e221c1c0059287dce87c1362df8b23ded992e96c551b35c0c789e683f080079e678555b7a79e6

diff --git a/dev-ruby/activestorage/activestorage-6.1.7.10.ebuild 
b/dev-ruby/activestorage/activestorage-6.1.7.10.ebuild
new file mode 100644
index 000000000000..4cbcfad6e847
--- /dev/null
+++ b/dev-ruby/activestorage/activestorage-6.1.7.10.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+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 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="test"
+
+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/test-unit:2
+               =dev-ruby/minitest-5.15*:*
+               dev-ruby/mini_magick
+               dev-ruby/mocha
+               dev-ruby/rake
+               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\|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:^:#:" \
+               -e '/dalli/ s/2.7.7/2.7.9/' \
+               -e '/group :\(doc\|job\|rubocop\|test\)/,/^end/ s:^:#:' \
+               -i ../Gemfile || die
+       rm ../Gemfile.lock || die
+
+       # Avoid test where different ffmpeg versions apply different rounding 
for the duration.
+       sed -i -e '/1.022000/ s:^:#:' test/analyzer/video_analyzer_test.rb || 
die
+
+       # Avoid test broken with ffmpeg 6
+       sed -i -e '/analyzing a rotated video/askip "Broken with ffmpeg 6.x"' 
test/analyzer/video_analyzer_test.rb || die
+
+}

Reply via email to