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: Sat, 28 May 2022 05:42:19
Message-Id: 1653716526.a8c65c7b640f82c297ad8d0f856bf5b1569b5b6c.graaff@gentoo
1 commit: a8c65c7b640f82c297ad8d0f856bf5b1569b5b6c
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 28 05:42:06 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat May 28 05:42:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c65c7b
7
8 dev-ruby/nokogiri: drop 1.13.4, 1.13.5
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/nokogiri/Manifest | 2 -
13 dev-ruby/nokogiri/nokogiri-1.13.4.ebuild | 95 --------------------------------
14 dev-ruby/nokogiri/nokogiri-1.13.5.ebuild | 95 --------------------------------
15 3 files changed, 192 deletions(-)
16
17 diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest
18 index 3d02cf1af05d..ecdd13919424 100644
19 --- a/dev-ruby/nokogiri/Manifest
20 +++ b/dev-ruby/nokogiri/Manifest
21 @@ -1,3 +1 @@
22 -DIST nokogiri-1.13.4-git.tgz 6249271 BLAKE2B bc8569a0c80e4efcedd6c5bb8a46c8504cc33ec3d2acdcefe2718047ffabef9404c76003cd279ac55e5a5fb17243af12c335b7d9e300b90d8a97e84015cf92bc SHA512 cca3e8558f8739cca2424e461a5e048a3675a23bcb6549f1c71ecfea0729859cda84ef3bf09a81d2b419e1a7b8ff2616a8dd84ac12f6e1f32b9626a0bd3e1bc4
23 -DIST nokogiri-1.13.5-git.tgz 6249007 BLAKE2B 6fc7eed6c10f74105917a94e5e8acb0576fbe8e64fecad70e4256d352e1e4fc9cb101be2d518420c7351f72fd03ab385c3dccc3d6442638fe9e6ecfda581eb21 SHA512 a5608c137f60ec3302810154cbe8176bcf281ddae1ac075c08b71d23fd124ac6bc3ca349f326232090475e80524bd53927449cbcba0c6087917c270ddf9e6eb2
24 DIST nokogiri-1.13.6-git.tgz 6249974 BLAKE2B db6a7fd70cd88fa784e70fd33102ad2a0d65a848a713bd93907d3c77b7ecc101a4f0a38febf3265b25967e045bf9091e46cf319702c08319e32f94d57a946985 SHA512 96f4e52332052bfae0d88d8c93cf334f8484b51290cafe8c1d43c820ba6ac5aa74b187c37e7177e62435d6101d859c16555b715fa88fcb06da742c84fd0e7486
25
26 diff --git a/dev-ruby/nokogiri/nokogiri-1.13.4.ebuild b/dev-ruby/nokogiri/nokogiri-1.13.4.ebuild
27 deleted file mode 100644
28 index c125f5d9de48..000000000000
29 --- a/dev-ruby/nokogiri/nokogiri-1.13.4.ebuild
30 +++ /dev/null
31 @@ -1,95 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -USE_RUBY="ruby26 ruby27 ruby30 ruby31"
38 -
39 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md SECURITY.md"
40 -
41 -RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec"
42 -
43 -RUBY_FAKEGEM_EXTENSIONS=(ext/nokogiri/extconf.rb)
44 -
45 -inherit ruby-fakegem multilib
46 -
47 -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
48 -HOMEPAGE="https://www.nokogiri.org/"
49 -LICENSE="MIT"
50 -SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
51 -
52 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86"
53 -SLOT="0"
54 -IUSE=""
55 -
56 -RDEPEND="${RDEPEND}
57 - >=dev-libs/libxml2-2.9.13:=
58 - >=dev-libs/libxslt-1.1.35
59 - sys-libs/zlib
60 - virtual/libiconv"
61 -DEPEND="${DEPEND}
62 - >=dev-libs/libxml2-2.9.13
63 - >=dev-libs/libxslt-1.1.35
64 - sys-libs/zlib
65 - virtual/libiconv"
66 -
67 -ruby_add_rdepend ">=dev-ruby/racc-1.4:0"
68 -
69 -ruby_add_bdepend "
70 - dev-ruby/mini_portile2:2.8
71 - >=dev-ruby/rexical-1.0.7
72 - dev-ruby/rdoc
73 - test? ( dev-ruby/minitest )"
74 -
75 -all_ruby_prepare() {
76 - sed -i \
77 - -e '/tasks\/cross_compile/s:^:#:' \
78 - -e '/:test.*prerequisites/s:^:#:' \
79 - -e '/license/ s:^:#:' \
80 - Rakefile || die
81 - # Remove the cross compilation options since they interfere with
82 - # native building.
83 - sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
84 - sed -i -e '/cross_config_options/d' Rakefile || die
85 -
86 - sed -e '/simplecov/,/^end/ s:^:#:' \
87 - -e '/reporters/I s:^:#:' \
88 - -i test/helper.rb || die
89 -
90 - # There is no need for mini_portile2 to be a runtime dependency on Gentoo
91 - sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
92 -}
93 -
94 -each_ruby_configure() {
95 - NOKOGIRI_USE_SYSTEM_LIBRARIES=true \
96 - ${RUBY} -Cext/${PN} extconf.rb \
97 - --with-zlib-include="${EPREFIX}"/usr/include \
98 - --with-zlib-lib="${EPREFIX}"/$(get_libdir) \
99 - --with-iconv-include="${EPREFIX}"/usr/include \
100 - --with-iconv-lib="${EPREFIX}"/$(get_libdir) \
101 - --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
102 - --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
103 - --with-xslt-dir="${EPREFIX}"/usr \
104 - --with-iconvlib=iconv \
105 - || die "extconf.rb failed"
106 -}
107 -
108 -each_ruby_compile() {
109 - if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
110 - ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
111 - fi
112 -
113 - if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
114 - ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
115 - fi
116 -
117 - emake -Cext/${PN} \
118 - V=1 \
119 - CFLAGS="${CFLAGS} -fPIC" \
120 - archflag="${LDFLAGS}" || die "make extension failed"
121 - cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
122 -}
123 -
124 -each_ruby_test() {
125 - ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die
126 -}
127
128 diff --git a/dev-ruby/nokogiri/nokogiri-1.13.5.ebuild b/dev-ruby/nokogiri/nokogiri-1.13.5.ebuild
129 deleted file mode 100644
130 index d3d2a1eac8bd..000000000000
131 --- a/dev-ruby/nokogiri/nokogiri-1.13.5.ebuild
132 +++ /dev/null
133 @@ -1,95 +0,0 @@
134 -# Copyright 1999-2022 Gentoo Authors
135 -# Distributed under the terms of the GNU General Public License v2
136 -
137 -EAPI=8
138 -
139 -USE_RUBY="ruby26 ruby27 ruby30 ruby31"
140 -
141 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md SECURITY.md"
142 -
143 -RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec"
144 -
145 -RUBY_FAKEGEM_EXTENSIONS=(ext/nokogiri/extconf.rb)
146 -
147 -inherit ruby-fakegem multilib
148 -
149 -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
150 -HOMEPAGE="https://www.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 ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
155 -SLOT="0"
156 -IUSE=""
157 -
158 -RDEPEND="${RDEPEND}
159 - >=dev-libs/libxml2-2.9.14:=
160 - >=dev-libs/libxslt-1.1.35
161 - sys-libs/zlib
162 - virtual/libiconv"
163 -DEPEND="${DEPEND}
164 - >=dev-libs/libxml2-2.9.14
165 - >=dev-libs/libxslt-1.1.35
166 - sys-libs/zlib
167 - virtual/libiconv"
168 -
169 -ruby_add_rdepend ">=dev-ruby/racc-1.4:0"
170 -
171 -ruby_add_bdepend "
172 - dev-ruby/mini_portile2:2.8
173 - >=dev-ruby/rexical-1.0.7
174 - dev-ruby/rdoc
175 - test? ( dev-ruby/minitest )"
176 -
177 -all_ruby_prepare() {
178 - sed -i \
179 - -e '/tasks\/cross_compile/s:^:#:' \
180 - -e '/:test.*prerequisites/s:^:#:' \
181 - -e '/license/ s:^:#:' \
182 - Rakefile || die
183 - # Remove the cross compilation options since they interfere with
184 - # native building.
185 - sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
186 - sed -i -e '/cross_config_options/d' Rakefile || die
187 -
188 - sed -e '/simplecov/,/^end/ s:^:#:' \
189 - -e '/reporters/I s:^:#:' \
190 - -i test/helper.rb || die
191 -
192 - # There is no need for mini_portile2 to be a runtime dependency on Gentoo
193 - sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
194 -}
195 -
196 -each_ruby_configure() {
197 - NOKOGIRI_USE_SYSTEM_LIBRARIES=true \
198 - ${RUBY} -Cext/${PN} extconf.rb \
199 - --with-zlib-include="${EPREFIX}"/usr/include \
200 - --with-zlib-lib="${EPREFIX}"/$(get_libdir) \
201 - --with-iconv-include="${EPREFIX}"/usr/include \
202 - --with-iconv-lib="${EPREFIX}"/$(get_libdir) \
203 - --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
204 - --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
205 - --with-xslt-dir="${EPREFIX}"/usr \
206 - --with-iconvlib=iconv \
207 - || die "extconf.rb failed"
208 -}
209 -
210 -each_ruby_compile() {
211 - if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
212 - ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
213 - fi
214 -
215 - if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
216 - ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
217 - fi
218 -
219 - emake -Cext/${PN} \
220 - V=1 \
221 - CFLAGS="${CFLAGS} -fPIC" \
222 - archflag="${LDFLAGS}" || die "make extension failed"
223 - cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
224 -}
225 -
226 -each_ruby_test() {
227 - ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die
228 -}