1 |
commit: 82387a266e748ca507c6513691caeba58731c99c |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 16 05:08:08 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 16 05:08:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82387a26 |
7 |
|
8 |
dev-ruby/actiontext: add 6.0.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/actiontext/Manifest | 1 + |
14 |
dev-ruby/actiontext/actiontext-6.0.4.ebuild | 51 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/actiontext/Manifest b/dev-ruby/actiontext/Manifest |
18 |
index 7b8cef23b1e..49f0b1f886d 100644 |
19 |
--- a/dev-ruby/actiontext/Manifest |
20 |
+++ b/dev-ruby/actiontext/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST rails-6.0.3.7.tgz 18570545 BLAKE2B 6433705f18075e286d14d25dd87def61a3ac9c7a8fc5160f37b9a6f6ab0d7f36a7235602713888df45e55cf4afb56f922c476989304397d422016dc34f147353 SHA512 91612223c9461731741c056a700879ce274a177737fd19ed6341ce07acfa4e4862728ef12bfa1a70cdb3e5c8492ad0da6aae2e7d0ed5ad32d680d8bd8c3ab102 |
23 |
+DIST rails-6.0.4.tgz 18594882 BLAKE2B e24ede90a572bc5ebd8244f45b987a62d50080af38e7e8b1689b9af88b66e194c0c3859e35ec2efbd306fc0c2f62a9d8aaa669fb73ddedd940c23aabc2719c2e SHA512 5a9a050ea44716cf72985643098a08716d191fe08d2cf4404fdf80709340c68d4ca083929c7118dad2532cc64a96c28e5dee3ac9541c10745d0f9d0583eda685 |
24 |
DIST rails-6.1.3.2.tgz 10992572 BLAKE2B ec4b7c33180ecc6b9dc9bd0270c9c03e48a774a7c0fc1d79638bd6b52a4c9831f59c5d8714e24c9611ac9e8ad03dddc664c2969da8be568eade76464c04d5697 SHA512 3b30facfe0555c3161b5fc50efb7dc1f3df0eeadbfa19f16df3ebdb4877d6fb9a978ae7a6713a502d79e6d8f1be20157bd5ef64919fdd558cad89492cc2d9672 |
25 |
|
26 |
diff --git a/dev-ruby/actiontext/actiontext-6.0.4.ebuild b/dev-ruby/actiontext/actiontext-6.0.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f9de1b02106 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/actiontext/actiontext-6.0.4.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby25 ruby26 ruby27" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_DOC="none" |
39 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
40 |
+ |
41 |
+RUBY_FAKEGEM_GEMSPEC="actiontext.gemspec" |
42 |
+ |
43 |
+RUBY_FAKEGEM_BINWRAP="" |
44 |
+RUBY_FAKEGEM_EXTRAINSTALL="app db package.json" |
45 |
+ |
46 |
+inherit ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="Edit and display rich text in Rails applications" |
49 |
+HOMEPAGE="https://github.com/rails/rails" |
50 |
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="$(ver_cut 1-2)" |
54 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
55 |
+IUSE="" |
56 |
+ |
57 |
+RUBY_S="rails-${PV}/${PN}" |
58 |
+ |
59 |
+ruby_add_rdepend " |
60 |
+ ~dev-ruby/actionpack-${PV} |
61 |
+ ~dev-ruby/activerecord-${PV} |
62 |
+ ~dev-ruby/activestorage-${PV} |
63 |
+ ~dev-ruby/activesupport-${PV} |
64 |
+ >=dev-ruby/nokogiri-1.8.5 |
65 |
+" |
66 |
+ |
67 |
+ruby_add_bdepend "test? ( |
68 |
+ dev-ruby/mocha |
69 |
+)" |
70 |
+ |
71 |
+all_ruby_prepare() { |
72 |
+ # Remove items from the common Gemfile that we don't need for this |
73 |
+ # test run. This also requires handling some gemspecs. |
74 |
+ sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|sass-rails\|webpacker\|rubocop\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|bootsnap\|capybara\|byebug\)/ s:^:#:" \ |
75 |
+ -e '/:job/,/end/ s:^:#:' \ |
76 |
+ -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die |
77 |
+ rm ../Gemfile.lock || die |
78 |
+} |
79 |
+ |
80 |
+each_ruby_prepare() { |
81 |
+ sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die |
82 |
+} |