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/actionmailer/
Date: Sat, 01 Oct 2022 09:56:41
Message-Id: 1664618193.96e5e2b39e0425fdab82a4325dc8c1add1acf259.graaff@gentoo
1 commit: 96e5e2b39e0425fdab82a4325dc8c1add1acf259
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 1 09:55:43 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 09:56:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96e5e2b3
7
8 dev-ruby/actionmailer: add 7.0.4
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/actionmailer/Manifest | 1 +
13 dev-ruby/actionmailer/actionmailer-7.0.4.ebuild | 46 +++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-ruby/actionmailer/Manifest b/dev-ruby/actionmailer/Manifest
17 index 711b4d9a5e50..9f762044e7d8 100644
18 --- a/dev-ruby/actionmailer/Manifest
19 +++ b/dev-ruby/actionmailer/Manifest
20 @@ -2,3 +2,4 @@ DIST rails-5.2.8.1.tgz 8848345 BLAKE2B 6786359e6c519e98079dc6f87a1ad23a69e7b65d2
21 DIST rails-6.0.5.1.tgz 18607954 BLAKE2B 74f75399a287f1eae199a5764c952b75dd95a02c88899ade69d60acae00a7588b2f3a8ab3b9d2c9224d62f87305c596e16b196a5c32b19731d4415f17a29d38e SHA512 a65c3fab39eadba75e0107486c82a4da212e612ddb2350f77bb00ad887e0b52980edba08d42c02801c4e4fd71d750de3dbd78c820ef050016867737dccc06b36
22 DIST rails-6.1.6.1.tgz 11028264 BLAKE2B 568033eb816613ba0ba5f2df38e6a30158b2e31ef4d4da151f8c0de2934b07736833026793ce9192994d9ef2a2a45b67735a35760c1be8b8a68c1968147cc6db SHA512 04acf9dbf5ee734636aada67be001690899eb13f73ea688455fcaee8cbf4839aedf06943c8adb5eecf13fd9a5f6be1a225310aa481d3a254172fd0ce0402362f
23 DIST rails-7.0.3.1.tgz 11049683 BLAKE2B 31aa9c20b4add7e11b832aff57fcf78284b7f28e71cfc71b5769c65170f1fff3f33d73224bbfa826852a59aac30671ff7c3ef19cbe0aaabc8528a805c6b98e8a SHA512 2ad615df9e019193489d5ce82152fd0ff12d8435401258b2b8a87d1c5da46587cdd45dc483847891f7b8be1d019b09b77a48fa7849d5260ee6fdbbf6df64ef03
24 +DIST rails-7.0.4.tgz 11061225 BLAKE2B 9c520766f936c82ae9ee943c3db0ad575d7fc59aea947fb2790cf511188fbd33166a62332564c4714372203f5fabdde842334103b48f4115c31f5d0fe18375f1 SHA512 118035226054ad5083d2affde55a812917652491f82a9a578380a790770fdda3a14904f6de10f58651bbbab278aa23920b652aa1b34c71441d465c3b7b4be82c
25
26 diff --git a/dev-ruby/actionmailer/actionmailer-7.0.4.ebuild b/dev-ruby/actionmailer/actionmailer-7.0.4.ebuild
27 new file mode 100644
28 index 000000000000..867075061b56
29 --- /dev/null
30 +++ b/dev-ruby/actionmailer/actionmailer-7.0.4.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +USE_RUBY="ruby27 ruby30"
37 +
38 +RUBY_FAKEGEM_RECIPE_DOC="none"
39 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
40 +
41 +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
42 +
43 +RUBY_FAKEGEM_BINWRAP=""
44 +
45 +inherit ruby-fakegem
46 +
47 +DESCRIPTION="Framework for designing email-service layers"
48 +HOMEPAGE="https://github.com/rails/rails"
49 +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
50 +
51 +LICENSE="MIT"
52 +SLOT="$(ver_cut 1-2)"
53 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
54 +IUSE=""
55 +
56 +RUBY_S="rails-${PV}/${PN}"
57 +
58 +ruby_add_rdepend "
59 + ~dev-ruby/actionpack-${PV}
60 + ~dev-ruby/actionview-${PV}
61 + ~dev-ruby/activejob-${PV}
62 + >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:*
63 + dev-ruby/rails-dom-testing:2"
64 +
65 +ruby_add_bdepend "test? (
66 + dev-ruby/mocha
67 +)"
68 +
69 +all_ruby_prepare() {
70 + # Set test environment to our hand.
71 + rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
72 + sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
73 +
74 + # Avoid a test failing only on attachment ordering, since this is a
75 + # security release.
76 + sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die
77 +}