Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/sprockets: sprockets-2.1.4.ebuild sprockets-2.2.3.ebuild ChangeLog sprockets-2.12.3.ebuild
Date: Fri, 31 Oct 2014 07:08:18
Message-Id: 20141031070813.7E2F49201@oystercatcher.gentoo.org
1 graaff 14/10/31 07:08:13
2
3 Modified: ChangeLog
4 Added: sprockets-2.1.4.ebuild sprockets-2.2.3.ebuild
5 sprockets-2.12.3.ebuild
6 Log:
7 Version bump for security issue CVE-2014-7819.
8
9 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
10
11 Revision Changes Path
12 1.28 dev-ruby/sprockets/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/ChangeLog?rev=1.28&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/ChangeLog?rev=1.28&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/ChangeLog?r1=1.27&r2=1.28
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v
21 retrieving revision 1.27
22 retrieving revision 1.28
23 diff -u -r1.27 -r1.28
24 --- ChangeLog 2 Oct 2014 12:21:02 -0000 1.27
25 +++ ChangeLog 31 Oct 2014 07:08:13 -0000 1.28
26 @@ -1,6 +1,14 @@
27 # ChangeLog for dev-ruby/sprockets
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v 1.27 2014/10/02 12:21:02 graaff Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v 1.28 2014/10/31 07:08:13 graaff Exp $
31 +
32 +*sprockets-2.12.3 (31 Oct 2014)
33 +*sprockets-2.2.3 (31 Oct 2014)
34 +*sprockets-2.1.4 (31 Oct 2014)
35 +
36 + 31 Oct 2014; Hans de Graaff <graaff@g.o> +sprockets-2.1.4.ebuild,
37 + +sprockets-2.2.3.ebuild, +sprockets-2.12.3.ebuild:
38 + Version bump for security issue CVE-2014-7819.
39
40 *sprockets-2.12.2 (02 Oct 2014)
41
42
43
44
45 1.1 dev-ruby/sprockets/sprockets-2.1.4.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.1.4.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.1.4.ebuild?rev=1.1&content-type=text/plain
49
50 Index: sprockets-2.1.4.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.1.4.ebuild,v 1.1 2014/10/31 07:08:13 graaff Exp $
55
56 EAPI=5
57 USE_RUBY="ruby19"
58
59 RUBY_FAKEGEM_TASK_DOC=""
60
61 RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
62
63 inherit ruby-fakegem versionator
64
65 DESCRIPTION="Ruby library for compiling and serving web assets"
66 HOMEPAGE="https://github.com/sstephenson/sprockets"
67 SRC_URI="https://github.com/sstephenson/sprockets/tarball/v${PV} -> ${P}.tgz"
68 RUBY_S="sstephenson-sprockets-*"
69
70 LICENSE="MIT"
71 SLOT="$(get_version_component_range 1-2)"
72 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
73
74 IUSE=""
75
76 ruby_add_rdepend "
77 =dev-ruby/hike-1* >=dev-ruby/hike-1.2
78 =dev-ruby/rack-1*
79 >=dev-ruby/tilt-1.3.1"
80
81 ruby_add_bdepend "test? (
82 dev-ruby/json
83 dev-ruby/rack-test
84 =dev-ruby/coffee-script-2*
85 dev-ruby/execjs:1
86 )"
87
88 all_ruby_prepare() {
89 # Avoid tests for template types that we currently don't package:
90 # eco and ejs.
91 sed -i -e '/eco templates/,/end/ s:^:#:' \
92 -e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
93
94 # Avoid failing tests. These no longer fail in upstream HEAD and we
95 # did not run tests before at all so its not a regression.
96 rm test/test_asset.rb test/test_server.rb || die
97
98 # Avoid test depending on specific execjs version
99 sed -i -e '/bundled asset cached if theres an error building it/askip "gentoo"' test/test_environment.rb || die
100 }
101
102
103
104 1.1 dev-ruby/sprockets/sprockets-2.2.3.ebuild
105
106 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.2.3.ebuild?rev=1.1&view=markup
107 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.2.3.ebuild?rev=1.1&content-type=text/plain
108
109 Index: sprockets-2.2.3.ebuild
110 ===================================================================
111 # Copyright 1999-2014 Gentoo Foundation
112 # Distributed under the terms of the GNU General Public License v2
113 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.2.3.ebuild,v 1.1 2014/10/31 07:08:13 graaff Exp $
114
115 EAPI=5
116 USE_RUBY="ruby19 ruby20 ruby21"
117
118 RUBY_FAKEGEM_TASK_DOC=""
119
120 RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
121
122 RUBY_FAKEGEM_BINWRAP=""
123
124 inherit ruby-fakegem versionator
125
126 DESCRIPTION="Ruby library for compiling and serving web assets"
127 HOMEPAGE="https://github.com/sstephenson/sprockets"
128 SRC_URI="https://github.com/sstephenson/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
129
130 LICENSE="MIT"
131 SLOT="$(get_version_component_range 1-2)"
132 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
133
134 IUSE=""
135
136 ruby_add_rdepend "
137 >=dev-ruby/hike-1.2:0
138 =dev-ruby/multi_json-1*
139 =dev-ruby/rack-1*
140 =dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.1"
141
142 ruby_add_bdepend "test? (
143 dev-ruby/json
144 dev-ruby/rack-test
145 =dev-ruby/coffee-script-2*
146 dev-ruby/execjs:1
147 )"
148
149 all_ruby_prepare() {
150 # Avoid tests for template types that we currently don't package:
151 # eco and ejs.
152 sed -i -e '/eco templates/,/end/ s:^:#:' \
153 -e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
154
155 # Avoid failing tests. These no longer fail in upstream HEAD and we
156 # did not run tests before at all so its not a regression.
157 rm test/test_asset.rb test/test_server.rb || die
158
159 # Ignore failing tests with sprockets 2.2.1. These pass with the
160 # latest versions but we need to put in this old version to support
161 # Rails 3.2.9.
162 sed -i -e '/depedencies are cached/,/end/ s:^:#:' test/test_caching.rb || die
163 sed -i -e '/remove old asset/,/^ end/ s:^:#:' test/test_manifest.rb || die
164
165 # Fix missing json include
166 sed -i -e '5irequire "json"' test/sprockets_test.rb || die
167
168 # Avoid test depending on specific execjs version
169 sed -i -e '/bundled asset cached if theres an error building it/askip "gentoo"' test/test_environment.rb || die
170
171 # Avoid test failing due to encoding specifics and available locales.
172 sed -i -e '/read ASCII asset/askip "gentoo"' test/test_encoding.rb || die
173 }
174
175
176
177 1.1 dev-ruby/sprockets/sprockets-2.12.3.ebuild
178
179 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.12.3.ebuild?rev=1.1&view=markup
180 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.12.3.ebuild?rev=1.1&content-type=text/plain
181
182 Index: sprockets-2.12.3.ebuild
183 ===================================================================
184 # Copyright 1999-2014 Gentoo Foundation
185 # Distributed under the terms of the GNU General Public License v2
186 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.12.3.ebuild,v 1.1 2014/10/31 07:08:13 graaff Exp $
187
188 EAPI=5
189 USE_RUBY="ruby19 ruby20 ruby21"
190
191 RUBY_FAKEGEM_TASK_DOC=""
192 RUBY_FAKEGEM_EXTRADOC="README.md"
193
194 RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
195
196 inherit ruby-fakegem versionator
197
198 DESCRIPTION="Ruby library for compiling and serving web assets"
199 HOMEPAGE="https://github.com/sstephenson/sprockets"
200 SRC_URI="https://github.com/sstephenson/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
201
202 LICENSE="MIT"
203 SLOT="$(get_version_component_range 1)"
204 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
205
206 IUSE=""
207
208 ruby_add_rdepend "
209 =dev-ruby/hike-1* >=dev-ruby/hike-1.2
210 =dev-ruby/multi_json-1*
211 =dev-ruby/rack-1*
212 =dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.1
213 !!<dev-ruby/sprockets-2.2.2-r1:2.2"
214
215 ruby_add_bdepend "test? (
216 dev-ruby/json
217 dev-ruby/rack-test
218 =dev-ruby/coffee-script-2*
219 =dev-ruby/execjs-2*
220 =dev-ruby/sass-3* >=dev-ruby/sass-3.1
221 )"
222
223 all_ruby_prepare() {
224 # Avoid tests for template types that we currently don't package:
225 # eco and ejs.
226 sed -i -e '/eco templates/,/end/ s:^:#:' \
227 -e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
228
229 # Add missing 'json' require
230 sed -i -e '4irequire "json"' test/test_manifest.rb || die
231
232 # Avoid test breaking on specific javascript error being thrown,
233 # most likely due to using node instead of v8.
234 sed -i -e '/bundled asset cached if theres an error/,/^ end/ s:^:#:' test/test_environment.rb || die
235
236 # Require a newer version of execjs since we do not have this slotted.
237 sed -i -e '/execjs/ s/1.0/2.0/' ${RUBY_FAKEGEM_GEMSPEC} || die
238 }
239
240 each_ruby_prepare() {
241 sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
242 }
243
244 each_ruby_test() {
245 # Make sure we have completely separate copies. Hardlinks won't work
246 # for this test suite.
247 cp -R test test-new || die
248 rm -rf test || die
249 mv test-new test || die
250
251 each_fakegem_test
252 }