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/actionpack/
Date: Sun, 16 Aug 2020 16:30:40
Message-Id: 1597595375.2f0b30f7b12dec8bbae8c68b6a852eb696293cc9.graaff@gentoo
1 commit: 2f0b30f7b12dec8bbae8c68b6a852eb696293cc9
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 08:13:56 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 16:29:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f0b30f7
7
8 dev-ruby/actionpack: cleanup
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/actionpack/actionpack-5.2.4.3.ebuild | 67 ---------------------------
14 dev-ruby/actionpack/actionpack-6.0.3.2.ebuild | 59 -----------------------
15 2 files changed, 126 deletions(-)
16
17 diff --git a/dev-ruby/actionpack/actionpack-5.2.4.3.ebuild b/dev-ruby/actionpack/actionpack-5.2.4.3.ebuild
18 deleted file mode 100644
19 index 7c3bc467df6..00000000000
20 --- a/dev-ruby/actionpack/actionpack-5.2.4.3.ebuild
21 +++ /dev/null
22 @@ -1,67 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -
28 -USE_RUBY="ruby24 ruby25 ruby26"
29 -
30 -RUBY_FAKEGEM_TASK_DOC=""
31 -RUBY_FAKEGEM_DOCDIR="doc"
32 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
33 -
34 -RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
35 -
36 -RUBY_FAKEGEM_BINWRAP=""
37 -
38 -inherit ruby-fakegem eapi7-ver
39 -
40 -DESCRIPTION="Eases web-request routing, handling, and response"
41 -HOMEPAGE="https://github.com/rails/rails"
42 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
43 -
44 -LICENSE="MIT"
45 -SLOT="$(ver_cut 1-2)"
46 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
47 -IUSE=""
48 -
49 -RUBY_S="rails-${PV}/${PN}"
50 -
51 -ruby_add_rdepend "
52 - ~dev-ruby/activesupport-${PV}
53 - ~dev-ruby/actionview-${PV}
54 - >=dev-ruby/rack-2.0.8:2.0
55 - >=dev-ruby/rack-test-0.6.3:*
56 - >=dev-ruby/rails-html-sanitizer-1.0.2:1
57 - dev-ruby/rails-dom-testing:2
58 -"
59 -
60 -ruby_add_bdepend "
61 - test? (
62 - dev-ruby/mocha:0.14
63 - dev-ruby/bundler
64 - >=dev-ruby/capybara-2.15
65 - ~dev-ruby/activemodel-${PV}
66 - >=dev-ruby/rack-cache-1.2:1.2
67 - www-servers/puma
68 - )"
69 -
70 -all_ruby_prepare() {
71 - # Remove items from the common Gemfile that we don't need for this
72 - # test run. This also requires handling some gemspecs.
73 - 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\)/ s:^:#:" \
74 - -e '/:job/,/end/ s:^:#:' \
75 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
76 - rm ../Gemfile.lock || die
77 -
78 - sed -e '1i gem "activemodel", "~> 5.2.0"' \
79 - -e '1i gem "actionview", "~> 5.2.0"' \
80 - -e '1i gem "railties", "~> 5.2.0"' \
81 - -i test/abstract_unit.rb || die
82 -
83 - # Use different timezone notation, this changed at some point due to an external dependency changing.
84 - sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die
85 -
86 - # Avoid broken tests already fixed upstream
87 - sed -i -e '/cookie syntax resilience/askip "broken test"' test/dispatch/request_test.rb || die
88 - sed -i -e '/test_keeps_original_headers_behavior/askip "broken test"' test/dispatch/ssl_test.rb || die
89 -}
90
91 diff --git a/dev-ruby/actionpack/actionpack-6.0.3.2.ebuild b/dev-ruby/actionpack/actionpack-6.0.3.2.ebuild
92 deleted file mode 100644
93 index 3ae431f685a..00000000000
94 --- a/dev-ruby/actionpack/actionpack-6.0.3.2.ebuild
95 +++ /dev/null
96 @@ -1,59 +0,0 @@
97 -# Copyright 1999-2020 Gentoo Authors
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=7
101 -
102 -USE_RUBY="ruby25 ruby26 ruby27"
103 -
104 -RUBY_FAKEGEM_RECIPE_DOC="none"
105 -RUBY_FAKEGEM_DOCDIR="doc"
106 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
107 -
108 -RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
109 -
110 -RUBY_FAKEGEM_BINWRAP=""
111 -
112 -inherit ruby-fakegem
113 -
114 -DESCRIPTION="Eases web-request routing, handling, and response"
115 -HOMEPAGE="https://github.com/rails/rails"
116 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
117 -
118 -LICENSE="MIT"
119 -SLOT="$(ver_cut 1-2)"
120 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
121 -IUSE=""
122 -
123 -RUBY_S="rails-${PV}/${PN}"
124 -
125 -ruby_add_rdepend "
126 - ~dev-ruby/activesupport-${PV}
127 - ~dev-ruby/actionview-${PV}
128 - dev-ruby/rack:2.0
129 - >=dev-ruby/rack-test-0.6.3:*
130 - >=dev-ruby/rails-html-sanitizer-1.2.0:1
131 - dev-ruby/rails-dom-testing:2
132 -"
133 -
134 -ruby_add_bdepend "
135 - test? (
136 - dev-ruby/mocha:0.14
137 - dev-ruby/bundler
138 - >=dev-ruby/capybara-2.15
139 - ~dev-ruby/activemodel-${PV}
140 - ~dev-ruby/railties-${PV}
141 - >=dev-ruby/rack-cache-1.2:1.2
142 - www-servers/puma
143 - )"
144 -
145 -all_ruby_prepare() {
146 - # Remove items from the common Gemfile that we don't need for this
147 - # test run. This also requires handling some gemspecs.
148 - 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\)/ s:^:#:" \
149 - -e '/:job/,/end/ s:^:#:' \
150 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
151 - rm ../Gemfile.lock || die
152 -
153 - # Use different timezone notation, this changed at some point due to an external dependency changing.
154 - sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die
155 -}