1 |
commit: d2e32cef68eed564c000297905b41f666e47dc03 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 31 06:10:07 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 31 08:09:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e32cef |
7 |
|
8 |
dev-ruby/actionmailbox: initial import of 6.0.0 |
9 |
|
10 |
New dependency for dev-ruby/rails. |
11 |
|
12 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
13 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
14 |
|
15 |
dev-ruby/actionmailbox/Manifest | 1 + |
16 |
dev-ruby/actionmailbox/actionmailbox-6.0.0.ebuild | 52 +++++++++++++++++++++++ |
17 |
dev-ruby/actionmailbox/metadata.xml | 11 +++++ |
18 |
3 files changed, 64 insertions(+) |
19 |
|
20 |
diff --git a/dev-ruby/actionmailbox/Manifest b/dev-ruby/actionmailbox/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..03ea57a167f |
23 |
--- /dev/null |
24 |
+++ b/dev-ruby/actionmailbox/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST rails-6.0.0.tgz 18543484 BLAKE2B 614e71481a3a5ece629f49d0ef623b5352e165b5d46a736ccb747614d6c1fd56d4aaba2f2f32d48d81772cfd4db671d94a67cd3ffa395f29bf2de1f148fa57ed SHA512 3a2259fe2b3ffd0ddc9128e1aa58af57006b8410120a3629926b95fbe60b8658edab77929e26d9323c61a1855a4379e73f1ddbe875324b068a9e8bdde6ca55e6 |
27 |
|
28 |
diff --git a/dev-ruby/actionmailbox/actionmailbox-6.0.0.ebuild b/dev-ruby/actionmailbox/actionmailbox-6.0.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..f219dd40253 |
31 |
--- /dev/null |
32 |
+++ b/dev-ruby/actionmailbox/actionmailbox-6.0.0.ebuild |
33 |
@@ -0,0 +1,52 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+USE_RUBY="ruby25 ruby26" |
39 |
+ |
40 |
+RUBY_FAKEGEM_RECIPE_DOC="none" |
41 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="actionmailbox.gemspec" |
44 |
+ |
45 |
+RUBY_FAKEGEM_BINWRAP="" |
46 |
+RUBY_FAKEGEM_EXTRAINSTALL="app config db" |
47 |
+ |
48 |
+inherit ruby-fakegem |
49 |
+ |
50 |
+DESCRIPTION="Framework for designing email-service layers" |
51 |
+HOMEPAGE="https://github.com/rails/rails" |
52 |
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
53 |
+ |
54 |
+LICENSE="MIT" |
55 |
+SLOT="$(ver_cut 1-2)" |
56 |
+KEYWORDS="~amd64" |
57 |
+IUSE="" |
58 |
+ |
59 |
+RUBY_S="rails-${PV}/${PN}" |
60 |
+ |
61 |
+ruby_add_rdepend " |
62 |
+ ~dev-ruby/actionpack-${PV} |
63 |
+ ~dev-ruby/activejob-${PV} |
64 |
+ ~dev-ruby/activerecord-${PV} |
65 |
+ ~dev-ruby/activestorage-${PV} |
66 |
+ ~dev-ruby/activesupport-${PV} |
67 |
+ >=dev-ruby/mail-2.7.1:* |
68 |
+" |
69 |
+ |
70 |
+ruby_add_bdepend "test? ( |
71 |
+ dev-ruby/mocha |
72 |
+)" |
73 |
+ |
74 |
+all_ruby_prepare() { |
75 |
+ # Remove items from the common Gemfile that we don't need for this |
76 |
+ # test run. This also requires handling some gemspecs. |
77 |
+ 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\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\)/ s:^:#:" \ |
78 |
+ -e '/:job/,/end/ s:^:#:' \ |
79 |
+ -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die |
80 |
+ rm ../Gemfile.lock || die |
81 |
+} |
82 |
+ |
83 |
+each_ruby_prepare() { |
84 |
+ sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die |
85 |
+} |
86 |
|
87 |
diff --git a/dev-ruby/actionmailbox/metadata.xml b/dev-ruby/actionmailbox/metadata.xml |
88 |
new file mode 100644 |
89 |
index 00000000000..42d41e33d99 |
90 |
--- /dev/null |
91 |
+++ b/dev-ruby/actionmailbox/metadata.xml |
92 |
@@ -0,0 +1,11 @@ |
93 |
+<?xml version="1.0" encoding="UTF-8"?> |
94 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
95 |
+<pkgmetadata> |
96 |
+ <maintainer type="project"> |
97 |
+ <email>ruby@g.o</email> |
98 |
+ <name>Gentoo Ruby Project</name> |
99 |
+ </maintainer> |
100 |
+ <upstream> |
101 |
+ <remote-id type="github">rails/rails</remote-id> |
102 |
+ </upstream> |
103 |
+</pkgmetadata> |