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/actiontext/
Date: Sun, 20 Feb 2022 08:06:24
Message-Id: 1645344313.369b1e77cd46a687a81cf5f07c226d5b24d609a4.graaff@gentoo
1 commit: 369b1e77cd46a687a81cf5f07c226d5b24d609a4
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 08:05:13 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 08:05:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369b1e77
7
8 dev-ruby/actiontext: add 7.0.2.2
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/actiontext/Manifest | 1 +
14 dev-ruby/actiontext/actiontext-7.0.2.2.ebuild | 56 +++++++++++++++++++++++++++
15 2 files changed, 57 insertions(+)
16
17 diff --git a/dev-ruby/actiontext/Manifest b/dev-ruby/actiontext/Manifest
18 index 7806cbd4abf7..0a59a7a2ce58 100644
19 --- a/dev-ruby/actiontext/Manifest
20 +++ b/dev-ruby/actiontext/Manifest
21 @@ -4,3 +4,4 @@ DIST rails-6.0.4.4.tgz 18594292 BLAKE2B 8f463900db30ffd4850b270aac0ae8c160af36a6
22 DIST rails-6.1.4.1.tgz 11003728 BLAKE2B 8baa45968536ebe34f3bc4e4f25246bff68997a88c1019d1f7b7ba73785bc11901d7222ac04866b900c7dc35f9291ede78c0949abd979e797d07f3759179c05a SHA512 411d3fe21c7500e884edb86cc6728c4d3b7125d2e6ea913191437716f2be0d522252c55c25cb4c5221cc112b3ca5eeba690b0b0e59572fcc54ea42ba05ec4520
23 DIST rails-6.1.4.3.tgz 11007190 BLAKE2B 085d500407f03d8c46335d91e3ebc5cd092c801de25f7e4fd5ac4ae6f03e54c5347e720386763307e183e2f0f48aaf84142092f47b62ab395082e4068e46f883 SHA512 f47a2e155fc80c287360b1a17a0f870208c523a28b77737648b4f260dc4fec6e9ccc91861b84862828fda48c214d39dcff32430ed5a02c8b9ee59ba6efb6151c
24 DIST rails-6.1.4.4.tgz 11006695 BLAKE2B af5afbd1adafa259f3d58d31e8e616be5e83e73d3e7231fd62717c0a8c0012e7ecf5346f2465a61f72d96fdc71755e954069adfebc84dddddcb29cb8a215cee1 SHA512 4215be8f447e5b486a1c0d99208fbeb1f7222aa3bdff7127e31c95670a74aa315a044df0048a55fd078f42a07f17d4b7248efc09d6fac2a4b6efef8624a509ef
25 +DIST rails-7.0.2.2.tgz 11034626 BLAKE2B 388a27b5434f1ae062cb7c3a68881a885dd659dbd9e86c4d36e0cb29c493f127fb9cbdf0f9ce7dea5a715ddbcd7a3bff5e2de3adb2e278c8bf63c2473d1e4b6d SHA512 e7863f1e072d266b8df1abb8abf6b141bad74ef77fe5dbcd66e7603e2ebf386520e4fd8f337edb5f5a6bd5607fbaa146823cbe6980fd7864e3934a7c9d382e3d
26
27 diff --git a/dev-ruby/actiontext/actiontext-7.0.2.2.ebuild b/dev-ruby/actiontext/actiontext-7.0.2.2.ebuild
28 new file mode 100644
29 index 000000000000..34afde5a50f2
30 --- /dev/null
31 +++ b/dev-ruby/actiontext/actiontext-7.0.2.2.ebuild
32 @@ -0,0 +1,56 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +USE_RUBY="ruby27"
38 +
39 +RUBY_FAKEGEM_RECIPE_DOC="none"
40 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
41 +
42 +RUBY_FAKEGEM_GEMSPEC="actiontext.gemspec"
43 +
44 +RUBY_FAKEGEM_BINWRAP=""
45 +RUBY_FAKEGEM_EXTRAINSTALL="app db package.json"
46 +
47 +inherit ruby-fakegem
48 +
49 +DESCRIPTION="Edit and display rich text in Rails applications"
50 +HOMEPAGE="https://github.com/rails/rails"
51 +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
52 +
53 +LICENSE="MIT"
54 +SLOT="$(ver_cut 1-2)"
55 +KEYWORDS="~amd64"
56 +IUSE=""
57 +
58 +RUBY_S="rails-${PV}/${PN}"
59 +
60 +ruby_add_rdepend "
61 + ~dev-ruby/actionpack-${PV}
62 + ~dev-ruby/activerecord-${PV}
63 + ~dev-ruby/activestorage-${PV}
64 + ~dev-ruby/activesupport-${PV}
65 + >=dev-ruby/globalid-0.6.0
66 + >=dev-ruby/nokogiri-1.8.5
67 +"
68 +
69 +ruby_add_bdepend "test? (
70 + dev-ruby/bundler
71 + dev-ruby/mocha
72 + dev-ruby/propshaft
73 +)"
74 +
75 +all_ruby_prepare() {
76 + # Remove items from the common Gemfile that we don't need for this
77 + # test run. This also requires handling some gemspecs.
78 + sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql2\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|sass-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webpacker\|webrick\|webmock\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|bootsnap\|capybara\|dalli\|connection_pool\)/ s:^:#:" \
79 + -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \
80 + -e '/:job/,/end/ s:^:#:' \
81 + -e '/group :\(cable\|doc\|rubocop\|storage\|test\)/,/^end/ s:^:#:' \
82 + -i ../Gemfile || die
83 + rm ../Gemfile.lock || die
84 +}
85 +
86 +each_ruby_prepare() {
87 + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die
88 +}