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/nokogiri/
Date: Tue, 27 Dec 2016 06:22:38
Message-Id: 1482819261.a6bf79fa168a8f7f4df48cff2cf81ca26ae52191.graaff@gentoo
1 commit: a6bf79fa168a8f7f4df48cff2cf81ca26ae52191
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 27 06:14:21 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 27 06:14:21 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6bf79fa
7
8 dev-ruby/nokogiri: cleanup
9
10 Package-Manager: portage-2.3.0
11
12 dev-ruby/nokogiri/Manifest | 3 -
13 dev-ruby/nokogiri/nokogiri-1.6.6.4.ebuild | 92 ------------------------------
14 dev-ruby/nokogiri/nokogiri-1.6.7.2.ebuild | 93 ------------------------------
15 dev-ruby/nokogiri/nokogiri-1.6.8.ebuild | 94 -------------------------------
16 4 files changed, 282 deletions(-)
17
18 diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest
19 index 445da25..cbae4d1 100644
20 --- a/dev-ruby/nokogiri/Manifest
21 +++ b/dev-ruby/nokogiri/Manifest
22 @@ -1,5 +1,2 @@
23 DIST nokogiri-1.6.6.2-git.tgz 2258820 SHA256 32358b52936f1e2de0136130d3f43ea7e8d6c6f417265e21dc7e7d8572aff5b6 SHA512 6335c8e584c6b13a5cc9353b348b6df65f3e84392628b3ff458279bb03253e0f773f4557bac701872842761b1656a23d520a8446b83fcbc30efa29109fb2fec5 WHIRLPOOL c488a97872c560be4f366a1fb6cc8da08e025af3da19cd5083fb6bc9ce31127a021bd8ebb4a203172a799dfe5f29cb8c96da86e6165fe50e10a3e73f9e899632
24 -DIST nokogiri-1.6.6.4-git.tgz 2263539 SHA256 de5241eb4dcebb3efe7a0f00d6bc82e18e47756fa76d66fd5d6399aeaac3757e SHA512 8009fa3519b9aae37223211601900541c7d12debedc561738013a8816b43e3b14979d044d1bf54797eabe47a0156af1263cad78ab0f067f4be4c3417842dc843 WHIRLPOOL 32b8d6bd7345d4063c7d4e48c105a1bdc62fd929430113810e5942feaf3f82b77d34652ca1b2176555a3af659700b03465faf67cf506fd4bdad1d40c96718d6b
25 -DIST nokogiri-1.6.7.2-git.tgz 2287034 SHA256 3ae69986d68b0922a13545a0530507374ba8be3df4e8acaca48e7e446c96e41f SHA512 aeccc3999e6ab97fca969d8ac5c5a117b6c65a610c1178349c5715c1c94717779b63106824ad2dd8ae80813b59e5381220a58d067e9f44aace41fd01d9a7a6df WHIRLPOOL 51913aac7c3a2a3bef9822da90bc3123d134ee49a9e4549fb408e1eda5157a28aa3f77ba3ac5554250461def7d499f1c85f7b1f5fd7e6ec4d7e60e88c2121050
26 -DIST nokogiri-1.6.8-git.tgz 5707447 SHA256 e4c5c0799fb2c3fceb1874ef2c9a1c26a8d04bb527f376fb9936372db60001a2 SHA512 0457b26e09739c99ac06fd56fae1ab6422e0855e935518cf433de5d8c6abe5c24d700a0932128dbe9417f96267fcbac30b1988a9f0f60fefc2980346ec5b12b0 WHIRLPOOL 362ee473369449de916abdd4de5645ae92eeaa2b4772e76bfcbf5a88469b4425f898de04fab2d7aadc3463ea8e68d683f97fdc0f1118cafbd87f37b7a1e36b44
27 DIST nokogiri-1.6.8.1-git.tgz 5708322 SHA256 e1d5a3bb2a0d1ee2496c1c6c89bf3e5676862af068e86b1afe34e2a781aa806f SHA512 a4546917e5979810ad4fe0f693f11f00fc719379fecefa68e36e512b128db1de083add4e80dfe3fa0546294ec68aa0f3f890575812b851e884bcbf2165f944d7 WHIRLPOOL 8a4f8c49f07f840154fc2d5087a035777fbe61717cff89d4acd1384fc945b61d012f33c756ad20bf5cc5e93d06f36868d42c217a337cddb8de7cb0fd54244116
28
29 diff --git a/dev-ruby/nokogiri/nokogiri-1.6.6.4.ebuild b/dev-ruby/nokogiri/nokogiri-1.6.6.4.ebuild
30 deleted file mode 100644
31 index cde5f0a..00000000
32 --- a/dev-ruby/nokogiri/nokogiri-1.6.6.4.ebuild
33 +++ /dev/null
34 @@ -1,92 +0,0 @@
35 -# Copyright 1999-2016 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Id$
38 -
39 -EAPI=5
40 -
41 -USE_RUBY="ruby21 ruby22"
42 -
43 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
44 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc ROADMAP.md STANDARD_RESPONSES.md"
45 -
46 -RUBY_FAKEGEM_EXTRAINSTALL="ext"
47 -
48 -inherit ruby-fakegem eutils multilib
49 -
50 -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
51 -HOMEPAGE="http://nokogiri.org/"
52 -LICENSE="MIT"
53 -SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
54 -
55 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
56 -SLOT="0"
57 -IUSE=""
58 -
59 -RDEPEND="${RDEPEND}
60 - >=dev-libs/libxml2-2.9.2:=
61 - dev-libs/libxslt
62 - virtual/libiconv"
63 -DEPEND="${DEPEND}
64 - >=dev-libs/libxml2-2.9.2
65 - dev-libs/libxslt
66 - virtual/libiconv"
67 -
68 -# The tests require _minitest_, not the virtual; what is shipped with
69 -# Ruby 1.9 is *not* enough, unfortunately
70 -ruby_add_bdepend "
71 - dev-ruby/hoe
72 - dev-ruby/rake-compiler
73 - dev-ruby/rexical
74 - dev-ruby/rdoc
75 - dev-ruby/racc
76 - test? ( dev-ruby/minitest )"
77 -
78 -all_ruby_prepare() {
79 - sed -i \
80 - -e '/tasks\/cross_compile/s:^:#:' \
81 - -e '/:test.*prerequisites/s:^:#:' \
82 - -e '/license/ s:^:#:' \
83 - Rakefile || die
84 - # Remove the cross compilation options since they interfere with
85 - # native building.
86 - sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
87 - sed -i -e '/cross_config_options/d' Rakefile || die
88 -}
89 -
90 -each_ruby_configure() {
91 - NOKOGIRI_USE_SYSTEM_LIBRARIES=true \
92 - ${RUBY} -Cext/${PN} extconf.rb \
93 - --with-zlib-include="${EPREFIX}"/usr/include \
94 - --with-zlib-lib="${EPREFIX}"/$(get_libdir) \
95 - --with-iconv-include="${EPREFIX}"/usr/include \
96 - --with-iconv-lib="${EPREFIX}"/$(get_libdir) \
97 - --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
98 - --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
99 - --with-xslt-dir="${EPREFIX}"/usr \
100 - --with-iconvlib=iconv \
101 - || die "extconf.rb failed"
102 -}
103 -
104 -each_ruby_compile() {
105 - if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
106 - ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
107 - fi
108 -
109 - if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
110 - ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
111 - fi
112 -
113 - emake -Cext/${PN} \
114 - V=1 \
115 - CFLAGS="${CFLAGS} -fPIC" \
116 - archflag="${LDFLAGS}" || die "make extension failed"
117 - cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
118 -}
119 -
120 -each_ruby_install() {
121 - # Clean up "ext" directory before installing it. nokogumbo expects
122 - # the header files and shared object to be in ext.
123 - rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die
124 -
125 - each_fakegem_install
126 -}
127
128 diff --git a/dev-ruby/nokogiri/nokogiri-1.6.7.2.ebuild b/dev-ruby/nokogiri/nokogiri-1.6.7.2.ebuild
129 deleted file mode 100644
130 index 9971478..00000000
131 --- a/dev-ruby/nokogiri/nokogiri-1.6.7.2.ebuild
132 +++ /dev/null
133 @@ -1,93 +0,0 @@
134 -# Copyright 1999-2016 Gentoo Foundation
135 -# Distributed under the terms of the GNU General Public License v2
136 -# $Id$
137 -
138 -EAPI=5
139 -
140 -USE_RUBY="ruby21 ruby22 ruby23"
141 -
142 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
143 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.md ROADMAP.md STANDARD_RESPONSES.md"
144 -
145 -RUBY_FAKEGEM_EXTRAINSTALL="ext"
146 -
147 -inherit ruby-fakegem eutils multilib
148 -
149 -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
150 -HOMEPAGE="http://nokogiri.org/"
151 -LICENSE="MIT"
152 -SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
153 -
154 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
155 -SLOT="0"
156 -IUSE=""
157 -
158 -RDEPEND="${RDEPEND}
159 - >=dev-libs/libxml2-2.9.2:=
160 - dev-libs/libxslt
161 - virtual/libiconv"
162 -DEPEND="${DEPEND}
163 - >=dev-libs/libxml2-2.9.2
164 - dev-libs/libxslt
165 - virtual/libiconv"
166 -
167 -ruby_add_bdepend "
168 - dev-ruby/hoe
169 - dev-ruby/rexical
170 - dev-ruby/rdoc
171 - dev-ruby/racc
172 - test? ( dev-ruby/minitest )"
173 -
174 -all_ruby_prepare() {
175 - sed -i \
176 - -e '/tasks\/cross_compile/s:^:#:' \
177 - -e '/:test.*prerequisites/s:^:#:' \
178 - -e '/license/ s:^:#:' \
179 - Rakefile || die
180 - # Remove the cross compilation options since they interfere with
181 - # native building.
182 - sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
183 - sed -i -e '/cross_config_options/d' Rakefile || die
184 -}
185 -
186 -each_ruby_configure() {
187 - NOKOGIRI_USE_SYSTEM_LIBRARIES=true \
188 - ${RUBY} -Cext/${PN} extconf.rb \
189 - --with-zlib-include="${EPREFIX}"/usr/include \
190 - --with-zlib-lib="${EPREFIX}"/$(get_libdir) \
191 - --with-iconv-include="${EPREFIX}"/usr/include \
192 - --with-iconv-lib="${EPREFIX}"/$(get_libdir) \
193 - --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
194 - --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
195 - --with-xslt-dir="${EPREFIX}"/usr \
196 - --with-iconvlib=iconv \
197 - || die "extconf.rb failed"
198 -}
199 -
200 -each_ruby_compile() {
201 - if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
202 - ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
203 - fi
204 -
205 - if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
206 - ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
207 - fi
208 -
209 - emake -Cext/${PN} \
210 - V=1 \
211 - CFLAGS="${CFLAGS} -fPIC" \
212 - archflag="${LDFLAGS}" || die "make extension failed"
213 - cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
214 -}
215 -
216 -each_ruby_test() {
217 - ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die
218 -}
219 -
220 -each_ruby_install() {
221 - # Clean up "ext" directory before installing it. nokogumbo expects
222 - # the header files and shared object to be in ext.
223 - rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die
224 -
225 - each_fakegem_install
226 -}
227
228 diff --git a/dev-ruby/nokogiri/nokogiri-1.6.8.ebuild b/dev-ruby/nokogiri/nokogiri-1.6.8.ebuild
229 deleted file mode 100644
230 index 1468f40..00000000
231 --- a/dev-ruby/nokogiri/nokogiri-1.6.8.ebuild
232 +++ /dev/null
233 @@ -1,94 +0,0 @@
234 -# Copyright 1999-2016 Gentoo Foundation
235 -# Distributed under the terms of the GNU General Public License v2
236 -# $Id$
237 -
238 -EAPI=5
239 -
240 -USE_RUBY="ruby21 ruby22 ruby23"
241 -
242 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
243 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md ROADMAP.md STANDARD_RESPONSES.md"
244 -
245 -RUBY_FAKEGEM_EXTRAINSTALL="ext"
246 -
247 -inherit ruby-fakegem eutils multilib
248 -
249 -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
250 -HOMEPAGE="http://nokogiri.org/"
251 -LICENSE="MIT"
252 -SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
253 -
254 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
255 -SLOT="0"
256 -IUSE=""
257 -
258 -RDEPEND="${RDEPEND}
259 - >=dev-libs/libxml2-2.9.2:=
260 - dev-libs/libxslt
261 - virtual/libiconv"
262 -DEPEND="${DEPEND}
263 - >=dev-libs/libxml2-2.9.2
264 - dev-libs/libxslt
265 - virtual/libiconv"
266 -
267 -ruby_add_bdepend "
268 - dev-ruby/hoe
269 - >=dev-ruby/pkg-config-1.1.7
270 - dev-ruby/rexical
271 - dev-ruby/rdoc
272 - dev-ruby/racc
273 - test? ( dev-ruby/minitest )"
274 -
275 -all_ruby_prepare() {
276 - sed -i \
277 - -e '/tasks\/cross_compile/s:^:#:' \
278 - -e '/:test.*prerequisites/s:^:#:' \
279 - -e '/license/ s:^:#:' \
280 - Rakefile || die
281 - # Remove the cross compilation options since they interfere with
282 - # native building.
283 - sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
284 - sed -i -e '/cross_config_options/d' Rakefile || die
285 -}
286 -
287 -each_ruby_configure() {
288 - NOKOGIRI_USE_SYSTEM_LIBRARIES=true \
289 - ${RUBY} -Cext/${PN} extconf.rb \
290 - --with-zlib-include="${EPREFIX}"/usr/include \
291 - --with-zlib-lib="${EPREFIX}"/$(get_libdir) \
292 - --with-iconv-include="${EPREFIX}"/usr/include \
293 - --with-iconv-lib="${EPREFIX}"/$(get_libdir) \
294 - --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
295 - --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
296 - --with-xslt-dir="${EPREFIX}"/usr \
297 - --with-iconvlib=iconv \
298 - || die "extconf.rb failed"
299 -}
300 -
301 -each_ruby_compile() {
302 - if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
303 - ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
304 - fi
305 -
306 - if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
307 - ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
308 - fi
309 -
310 - emake -Cext/${PN} \
311 - V=1 \
312 - CFLAGS="${CFLAGS} -fPIC" \
313 - archflag="${LDFLAGS}" || die "make extension failed"
314 - cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
315 -}
316 -
317 -each_ruby_test() {
318 - ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die
319 -}
320 -
321 -each_ruby_install() {
322 - # Clean up "ext" directory before installing it. nokogumbo expects
323 - # the header files and shared object to be in ext.
324 - rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die
325 -
326 - each_fakegem_install
327 -}