Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activestorage/
Date: Mon, 11 May 2020 17:01:26
Message-Id: 1589216440.12e54819314f49e7b8aef7559479dc9ebf561c61.graaff@gentoo
1 commit: 12e54819314f49e7b8aef7559479dc9ebf561c61
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 11 16:57:01 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon May 11 17:00:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e54819
7
8 dev-ruby/activestorage: add 6.0.3
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/activestorage/Manifest | 1 +
14 dev-ruby/activestorage/activestorage-6.0.3.ebuild | 59 +++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-ruby/activestorage/Manifest b/dev-ruby/activestorage/Manifest
18 index cade3ca76a8..2671a927c04 100644
19 --- a/dev-ruby/activestorage/Manifest
20 +++ b/dev-ruby/activestorage/Manifest
21 @@ -1,2 +1,3 @@
22 DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc
23 DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689
24 +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b
25
26 diff --git a/dev-ruby/activestorage/activestorage-6.0.3.ebuild b/dev-ruby/activestorage/activestorage-6.0.3.ebuild
27 new file mode 100644
28 index 00000000000..a866c2b3677
29 --- /dev/null
30 +++ b/dev-ruby/activestorage/activestorage-6.0.3.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +USE_RUBY="ruby25 ruby26"
38 +
39 +RUBY_FAKEGEM_RECIPE_DOC=""
40 +RUBY_FAKEGEM_DOCDIR=""
41 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
42 +
43 +RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec"
44 +
45 +RUBY_FAKEGEM_EXTRAINSTALL="app config db"
46 +
47 +RUBY_FAKEGEM_BINWRAP=""
48 +
49 +inherit ruby-fakegem
50 +
51 +DESCRIPTION="Attach cloud and local files in Rails applications"
52 +HOMEPAGE="https://github.com/rails/rails"
53 +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
54 +
55 +LICENSE="MIT"
56 +SLOT="$(ver_cut 1-2)"
57 +KEYWORDS="~amd64 ~x86"
58 +IUSE=""
59 +
60 +RUBY_S="rails-${PV}/${PN}"
61 +
62 +DEPEND+=" test? ( app-text/mupdf ) "
63 +
64 +ruby_add_rdepend "
65 + ~dev-ruby/actionpack-${PV}:*
66 + ~dev-ruby/activerecord-${PV}:*
67 + >=dev-ruby/marcel-0.3.1 =dev-ruby/marcel-0.3*
68 +"
69 +
70 +ruby_add_bdepend "
71 + test? (
72 + ~dev-ruby/railties-${PV}
73 + >=dev-ruby/image_processing-1.2:0
74 + dev-ruby/test-unit:2
75 + dev-ruby/mini_magick
76 + dev-ruby/mocha
77 + dev-ruby/rake
78 + dev-ruby/sqlite3
79 + )"
80 +
81 +all_ruby_prepare() {
82 + # Remove items from the common Gemfile that we don't need for this
83 + # test run. This also requires handling some gemspecs.
84 + 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\|json\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\)/ s:^:#:" \
85 + -e '/dalli/ s/2.7.7/2.7.9/' \
86 + -e '/:job/,/end/ s:^:#:' \
87 + -e '/:test/,/^end/ s:^:#:' \
88 + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
89 + rm ../Gemfile.lock || die
90 +}