1 |
commit: 70cb83daaa8c5be05da01d6b2a7a11d928f45c19 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 1 06:50:52 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 1 06:50:52 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70cb83da |
7 |
|
8 |
dev-ruby/actionpack: add rails 3.2.22.2, bug 576068 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-ruby/actionpack/Manifest | 1 + |
13 |
dev-ruby/actionpack/actionpack-3.2.22.2.ebuild | 79 ++++++++++++++++++++++++++ |
14 |
2 files changed, 80 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest |
17 |
index 2f62095..2fa48c4 100644 |
18 |
--- a/dev-ruby/actionpack/Manifest |
19 |
+++ b/dev-ruby/actionpack/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST rails-3.2.22.1.tgz 3570617 SHA256 0678ec5677e6f70a20aa398b323a3d926531e1da266734ec90c34e111512b0fc SHA512 29b9e7aca818ed08111cc6306edfcbf88969ab2cbb0f36b9a189f8a29c2dec966e3a453d7b9ee9fc0cf06f0786aa493839440a2d6fb338b13b801978b08f4656 WHIRLPOOL b797311ab5420c4663b1617e5fabdc30a66619f1b6a16aa68ed96f5e38f4daff89cecc8bf9f3d7a702f17ae7da6bedf128adad2a3120f50a25ff85aff5cb6527 |
22 |
+DIST rails-3.2.22.2.tgz 3571822 SHA256 6aaef5723f3a409d057ace5500f1743168bde8f45114d9b5d861bb6e05444356 SHA512 b0c1817164168e2b8ae5b748dd1dd88097c2047d2e2eb31e403a5b865a1e50c43f8841a0e60ccdda6d5a859bba9acdfb06462cb8ba93a3e9ecc57dc349f8be13 WHIRLPOOL 8f5e674020a4c00a9a5da6e2e25aceb408ccb01f8adce74128a99cbb602d08da31de44b496a42d86bbf3887830785bfb961c95231d98bb1ce5d17755741dd3e1 |
23 |
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01 |
24 |
DIST rails-4.1.14.1.tgz 3728574 SHA256 1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a WHIRLPOOL 31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d |
25 |
DIST rails-4.1.14.2.tgz 3729630 SHA256 f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61 WHIRLPOOL c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad |
26 |
|
27 |
diff --git a/dev-ruby/actionpack/actionpack-3.2.22.2.ebuild b/dev-ruby/actionpack/actionpack-3.2.22.2.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..793207b |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/actionpack/actionpack-3.2.22.2.ebuild |
32 |
@@ -0,0 +1,79 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=5 |
38 |
+ |
39 |
+USE_RUBY="ruby20 ruby21" |
40 |
+ |
41 |
+# The default test task tries to test activerecord with SQLite as well. |
42 |
+RUBY_FAKEGEM_TASK_TEST="test_action_pack" |
43 |
+ |
44 |
+RUBY_FAKEGEM_TASK_DOC="" |
45 |
+RUBY_FAKEGEM_DOCDIR="doc" |
46 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" |
47 |
+ |
48 |
+RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" |
49 |
+ |
50 |
+inherit ruby-fakegem versionator |
51 |
+ |
52 |
+DESCRIPTION="Eases web-request routing, handling, and response" |
53 |
+HOMEPAGE="https://github.com/rails/rails" |
54 |
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
55 |
+ |
56 |
+LICENSE="MIT" |
57 |
+SLOT="$(get_version_component_range 1-2)" |
58 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
59 |
+IUSE="" |
60 |
+ |
61 |
+RUBY_S="rails-${PV}/${PN}" |
62 |
+ |
63 |
+ruby_add_rdepend " |
64 |
+ ~dev-ruby/activemodel-${PV} |
65 |
+ ~dev-ruby/activesupport-${PV} |
66 |
+ >=dev-ruby/rack-cache-1.2 |
67 |
+ >=dev-ruby/builder-3.0.0:3 |
68 |
+ >=dev-ruby/rack-1.4.5:1.4 |
69 |
+ >=dev-ruby/rack-test-0.6.1:0.6 |
70 |
+ >=dev-ruby/journey-1.0.4:1.0 |
71 |
+ >=dev-ruby/sprockets-2.2.1:2.2 |
72 |
+ >=dev-ruby/erubis-2.7.0" |
73 |
+ |
74 |
+ruby_add_bdepend " |
75 |
+ test? ( |
76 |
+ dev-ruby/mocha:0.13 |
77 |
+ dev-ruby/bundler |
78 |
+ ~dev-ruby/activerecord-${PV} |
79 |
+ ~dev-ruby/actionmailer-${PV} |
80 |
+ >=dev-ruby/tzinfo-0.3.29:0 |
81 |
+ >=dev-ruby/uglifier-1.0.3 |
82 |
+ )" |
83 |
+ |
84 |
+all_ruby_prepare() { |
85 |
+ # Remove items from the common Gemfile that we don't need for this |
86 |
+ # test run. This also requires handling some gemspecs. |
87 |
+ sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\|execjs\)/d" \ |
88 |
+ -e 'agem "i18n", "~>0.6.11"' ../Gemfile || die |
89 |
+ |
90 |
+ sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die |
91 |
+ sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die |
92 |
+ |
93 |
+ sed -i -e '/bcrypt/ s/3.0.0/3.0/' \ |
94 |
+ -e '/test-unit/ s/3.0.0/3.0/' ../Gemfile || die |
95 |
+ |
96 |
+ # Avoid fragile tests depending on hash ordering |
97 |
+ sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die |
98 |
+ sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die |
99 |
+ sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die |
100 |
+ sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die |
101 |
+ sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die |
102 |
+ |
103 |
+ # Avoid fragile test that gets more output than it expects. |
104 |
+ sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die |
105 |
+ |
106 |
+ # Avoid test broken by security updates in i18n. |
107 |
+ sed -i -e '/test_number_to_i18n_currency/,/end/ s:^:#:' test/template/number_helper_i18n_test.rb || die |
108 |
+ |
109 |
+ # Avoid test that chokes on bad UTF-8. |
110 |
+ sed -i -e '/test_handles_urls_with_bad_encoding/,/^ end/ s:^:#:' test/dispatch/static_test.rb || die |
111 |
+} |