From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C191A13835B for ; Fri, 7 May 2021 05:27:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD4D3E0823; Fri, 7 May 2021 05:27:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 949C5E0823 for ; Fri, 7 May 2021 05:27:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 740B1340DCB for ; Fri, 7 May 2021 05:27:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B79A7778 for ; Fri, 7 May 2021 05:27:01 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1620365216.faf3201b06cd405e03e7d775b6dcb619bf52dd7c.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activestorage/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/activestorage/activestorage-6.0.3.7-r1.ebuild X-VCS-Directories: dev-ruby/activestorage/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: faf3201b06cd405e03e7d775b6dcb619bf52dd7c X-VCS-Branch: master Date: Fri, 7 May 2021 05:27:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a33e0846-37f0-46fe-af33-b12d2498814c X-Archives-Hash: 2a8deae9437e4ebbbcb6f271cbee7d0a commit: faf3201b06cd405e03e7d775b6dcb619bf52dd7c Author: Hans de Graaff gentoo org> AuthorDate: Fri May 7 05:26:46 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri May 7 05:26:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf3201b dev-ruby/activestorage: fix marcel dependency Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> .../activestorage/activestorage-6.0.3.7-r1.ebuild | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/dev-ruby/activestorage/activestorage-6.0.3.7-r1.ebuild b/dev-ruby/activestorage/activestorage-6.0.3.7-r1.ebuild new file mode 100644 index 00000000000..d97bcf87e57 --- /dev/null +++ b/dev-ruby/activestorage/activestorage-6.0.3.7-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +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 ~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/activerecord-${PV}:* + dev-ruby/marcel:1.0 +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + >=dev-ruby/image_processing-1.2:0 + dev-ruby/test-unit:2 + 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 -i -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\|rubocop\|capybara\|rack-cache\|selenium\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\|webpacker\|rexml\|webmock\)/ s:^:#:" \ + -e '/dalli/ s/2.7.7/2.7.9/' \ + -e '/:job/,/end/ s:^:#:' \ + -e '/:test/,/^end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Skip test that has already been updated in later versions upstream + sed -i -e '/resized variation of BMP blob/askip "broken test"' test/models/variant_test.rb || die +}