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/actionview/
Date: Sat, 14 May 2022 06:19:21
Message-Id: 1652509077.0ab10fae21b82bef8ba3aa083070f77d4207aa11.graaff@gentoo
1 commit: 0ab10fae21b82bef8ba3aa083070f77d4207aa11
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 14 06:17:57 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat May 14 06:17:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ab10fae
7
8 dev-ruby/actionview: add 6.1.6
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/actionview/Manifest | 1 +
13 dev-ruby/actionview/actionview-6.1.6.ebuild | 65 +++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/dev-ruby/actionview/Manifest b/dev-ruby/actionview/Manifest
17 index 23c68db7b6b0..27726400c822 100644
18 --- a/dev-ruby/actionview/Manifest
19 +++ b/dev-ruby/actionview/Manifest
20 @@ -8,6 +8,7 @@ DIST rails-6.0.4.8.tgz 18574385 BLAKE2B be6ea79fa452831e1c17ed550f875500c4b00ebf
21 DIST rails-6.0.5.tgz 18572922 BLAKE2B cc7f3669f5d501031ea5bfcef24db89040dc447923abe255b4ae504c07c648414a19a5d2c7ecb513cb96cf601440caeb2462c37fdae61770cef60ce5708abcb4 SHA512 5f262f65de2e3057b92fdb95bef28ea8c4c44e5ca27f4065bb4946a760b3f97fde10f9a303ccf1fdbf833f1e26db5cde722183f41672614203c4b08aef6780ed
22 DIST rails-6.1.5.1.tgz 10993257 BLAKE2B 90146d33fcad068a09bc61c09417514f2ccc18c51043c63672397eb6980a97c9c0c4e6b0679393c3d8ded690ab44ea53b7abd49817f46ca9f8ab3472dec2f3c3 SHA512 8061f2103ad9266f06f902cf7f05b3f94b05d9b454d314d7a7febea2e5e464c5f33d14f48a2a098e7e666a6dc8cd5c5dae4cf4fb669eca28303a4fb5e6832039
23 DIST rails-6.1.5.tgz 11017020 BLAKE2B 5e1a167550998f8149ac770397f4e39a979f48365494f97d4b387559070e4e9264ddc93bf20e5c19537b4683a793a2c316bcb3f829cc05f0155b31a609da6756 SHA512 a90fe7781ddbb6a035ea7dcb950e2ab03a7297502891d4a88dfe7c3ef90b78d8009ea62a35272d3500e8819466042b883193ebb030683fc2cf7e5dc0e720edb1
24 +DIST rails-6.1.6.tgz 10993299 BLAKE2B 98a80cbefc1aafba68a22b60d3df6b81ab1e8247a75a07131aeed97ae621ea45b22918482537255547b68a5fc6b002f551b8b94492da3b1e6e24389a109e245c SHA512 04c578f6d8bdcd72691c8d4e51136424f2241a374cdfad1c3c2b436a4f5fde1955a600bcb98c6f416e22e1e561cd50f9ca5f5075deff94f258f8682dc9b00c1c
25 DIST rails-7.0.2.2.tgz 11034626 BLAKE2B 388a27b5434f1ae062cb7c3a68881a885dd659dbd9e86c4d36e0cb29c493f127fb9cbdf0f9ce7dea5a715ddbcd7a3bff5e2de3adb2e278c8bf63c2473d1e4b6d SHA512 e7863f1e072d266b8df1abb8abf6b141bad74ef77fe5dbcd66e7603e2ebf386520e4fd8f337edb5f5a6bd5607fbaa146823cbe6980fd7864e3934a7c9d382e3d
26 DIST rails-7.0.2.3.tgz 11037677 BLAKE2B b4d0ac3d2c56d262beca4f5ba1659a67526c01321dc00ef8392a11c6fbc7614e3c02cf02ffcbb5ed1911005c1be0c0741e225f45c5946fc9102629c5ba5d32ab SHA512 4dcbe65ce1bad803dd04be61918f1ca893529705a8336a0c09b0193eb453319fc42ed0e2dca6ff5cb56f0c2bc5ab03c9d9f479101904ad1a746980cd887798d4
27 DIST rails-7.0.2.4.tgz 11014591 BLAKE2B 4a678dddca134769a40d73a6652a6aa273456288c19ddbe7611ae40a14860abf77226ab351ead92647fb471751521377c51cafae40383198ff3d3477bc257b55 SHA512 948cf58dd6ac517fb4b1e63c3a1dbfcf2405fd224ea150cb92f5805939d3a458ad26e139b1c6069cc587c01f15694be14e119ee56769a611e6b6eaa0eae5a68c
28
29 diff --git a/dev-ruby/actionview/actionview-6.1.6.ebuild b/dev-ruby/actionview/actionview-6.1.6.ebuild
30 new file mode 100644
31 index 000000000000..7beb67cb12f0
32 --- /dev/null
33 +++ b/dev-ruby/actionview/actionview-6.1.6.ebuild
34 @@ -0,0 +1,65 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +USE_RUBY="ruby26 ruby27 ruby30"
41 +
42 +RUBY_FAKEGEM_RECIPE_DOC="none"
43 +RUBY_FAKEGEM_DOCDIR="doc"
44 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
45 +
46 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
47 +
48 +RUBY_FAKEGEM_EXTRAINSTALL="app"
49 +
50 +RUBY_FAKEGEM_BINWRAP=""
51 +
52 +inherit ruby-fakegem
53 +
54 +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages"
55 +HOMEPAGE="https://github.com/rails/rails/"
56 +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
57 +
58 +LICENSE="MIT"
59 +SLOT="$(ver_cut 1-2)"
60 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
61 +IUSE=""
62 +
63 +RUBY_S="rails-${PV}/${PN}"
64 +
65 +ruby_add_rdepend "
66 + ~dev-ruby/activesupport-${PV}
67 + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:*
68 + >=dev-ruby/erubi-1.4:0
69 + >=dev-ruby/rails-html-sanitizer-1.2.0:1
70 + dev-ruby/rails-dom-testing:2
71 +"
72 +
73 +ruby_add_bdepend "
74 + test? (
75 + dev-ruby/mocha
76 + ~dev-ruby/actionpack-${PV}
77 + ~dev-ruby/activemodel-${PV}
78 + ~dev-ruby/activerecord-${PV}
79 + ~dev-ruby/railties-${PV}
80 + dev-ruby/sqlite3
81 + )"
82 +
83 +all_ruby_prepare() {
84 + # Remove items from the common Gemfile that we don't need for this
85 + # test run. This also requires handling some gemspecs.
86 + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \
87 + -e '/:job/,/end/ s:^:#:' \
88 + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
89 + rm ../Gemfile.lock || die
90 +
91 + sed -i -e '3igem "railties", "~> 6.1.0"; gem "activerecord", "~> 6.1.0"' test/abstract_unit.rb || die
92 +
93 + # Fix loading of activerecord integration tests. This avoids loading
94 + # activerecord twice and thus redefining constants leading to
95 + # failures. Bug #719342
96 + sed -e '/abstract_unit/arequire "active_record" ; require "active_record/fixtures"' \
97 + -e '/defined/ s/FixtureSet/ActiveRecord::FixtureSet/' \
98 + -i test/active_record_unit.rb || die
99 +}