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: Mon, 05 Jun 2017 04:45:18
Message-Id: 1496637399.c7d8f9b075a8d685fe141718afd90cd9a64df44a.graaff@gentoo
1 commit: c7d8f9b075a8d685fe141718afd90cd9a64df44a
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 5 04:36:39 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 5 04:36:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7d8f9b0
7
8 dev-ruby/nokogiri: cleanup
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.1
11
12 dev-ruby/nokogiri/Manifest | 2 -
13 dev-ruby/nokogiri/nokogiri-1.7.0.1.ebuild | 93 -------------------------------
14 dev-ruby/nokogiri/nokogiri-1.7.0.ebuild | 93 -------------------------------
15 3 files changed, 188 deletions(-)
16
17 diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest
18 index 993f7c60d10..20b03e3c663 100644
19 --- a/dev-ruby/nokogiri/Manifest
20 +++ b/dev-ruby/nokogiri/Manifest
21 @@ -1,5 +1,3 @@
22 DIST nokogiri-1.6.8.1-git.tgz 5708322 SHA256 e1d5a3bb2a0d1ee2496c1c6c89bf3e5676862af068e86b1afe34e2a781aa806f SHA512 a4546917e5979810ad4fe0f693f11f00fc719379fecefa68e36e512b128db1de083add4e80dfe3fa0546294ec68aa0f3f890575812b851e884bcbf2165f944d7 WHIRLPOOL 8a4f8c49f07f840154fc2d5087a035777fbe61717cff89d4acd1384fc945b61d012f33c756ad20bf5cc5e93d06f36868d42c217a337cddb8de7cb0fd54244116
23 -DIST nokogiri-1.7.0-git.tgz 5708495 SHA256 51f7816d372c5585710fe6c87181e5b33792641fe877e50512c35c82fe1f259b SHA512 30f040a5cdb783993c729dd7667dad59620bec0c7d4f8ceb40a55eaafa17ad145cb29e6656affac69076897d642e4f7adc5e3f8eb3da98a5a640ddca6f058580 WHIRLPOOL ba6468e1985dd18d03d7b3f1946b21c10cff447389987a5ae79a891dd525ce9f92abd4689411cc35182f4223e972f2bc3d456e5e45ea5bcd0be7d1db0e0df548
24 -DIST nokogiri-1.7.0.1-git.tgz 5708578 SHA256 a85cd203842684aa69851bfa480ccdba0914879f13708520c4890ce66f631326 SHA512 0944ad6fdd060c6b1e24340537e6001d6ed253edbfac18bdf5aa016d466e95e2bc113cde3c8cbee2c9009c0d4d11bc9d1a8e409f02fb48d064bf9cf3da987f8d WHIRLPOOL 58febb74e78917481e5ee1ea9f5eb4e4b2453245c78a79f0e408483fe5d650540ceaf4412d1ffa698c1dbb3428830d71ee6082db3582d6aed4e8ae7c94c6b633
25 DIST nokogiri-1.7.1-git.tgz 5712371 SHA256 3706832f06443cc1b13969bd3fe1dcc0094dca56fe16203db5f0c7e410ae8583 SHA512 82a10eff835d562a215f8a38e660f43f5d05f54fae6c6ec21cb5e4797b747be6a8eeb2e42f3c2b5710294073be8d1a987d881f7845526f0ea3ca52a0feb508d8 WHIRLPOOL 04a3124a603e1c25e61bd649dfa6b32c2e1b7e9efe0d55a3564730799926ad21c5f63ceb041fba44929a36027855cd96a4212d1b9877cd95a8c83de30c7d0ad9
26 DIST nokogiri-1.7.2-git.tgz 5713798 SHA256 af0a875a82abe297eb4ed020d19ee8e180bb00afa49a025cc572e0beb4323bf7 SHA512 6ab6f051304133181e50ffdd87cd07e22188841e08e52048d2f9cfaf552f98f1e7c2b84fbee0f251721735d3e25cf3e0850977d25dd256f55dc65bd05f56d740 WHIRLPOOL 147681446f78609f045e149416403181b112f634f4a2f8c3dc77d552e28e91dd74580df15b0ea1ba107d51fa43241cfc8b9fe2d4db23ece3301fa3c41dec9be3
27
28 diff --git a/dev-ruby/nokogiri/nokogiri-1.7.0.1.ebuild b/dev-ruby/nokogiri/nokogiri-1.7.0.1.ebuild
29 deleted file mode 100644
30 index bd987fd9892..00000000000
31 --- a/dev-ruby/nokogiri/nokogiri-1.7.0.1.ebuild
32 +++ /dev/null
33 @@ -1,93 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -USE_RUBY="ruby21 ruby22 ruby23 ruby24"
40 -
41 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
42 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md STANDARD_RESPONSES.md"
43 -
44 -RUBY_FAKEGEM_EXTRAINSTALL="ext"
45 -
46 -inherit ruby-fakegem eutils multilib
47 -
48 -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
49 -HOMEPAGE="http://nokogiri.org/"
50 -LICENSE="MIT"
51 -SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
52 -
53 -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"
54 -SLOT="0"
55 -IUSE=""
56 -
57 -RDEPEND="${RDEPEND}
58 - >=dev-libs/libxml2-2.9.2:=
59 - dev-libs/libxslt
60 - virtual/libiconv"
61 -DEPEND="${DEPEND}
62 - >=dev-libs/libxml2-2.9.2
63 - dev-libs/libxslt
64 - virtual/libiconv"
65 -
66 -ruby_add_bdepend "
67 - dev-ruby/hoe
68 - >=dev-ruby/pkg-config-1.1.7
69 - dev-ruby/rexical
70 - dev-ruby/rdoc
71 - dev-ruby/racc
72 - test? ( dev-ruby/minitest )"
73 -
74 -all_ruby_prepare() {
75 - sed -i \
76 - -e '/tasks\/cross_compile/s:^:#:' \
77 - -e '/:test.*prerequisites/s:^:#:' \
78 - -e '/license/ s:^:#:' \
79 - Rakefile || die
80 - # Remove the cross compilation options since they interfere with
81 - # native building.
82 - sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
83 - sed -i -e '/cross_config_options/d' Rakefile || die
84 -}
85 -
86 -each_ruby_configure() {
87 - NOKOGIRI_USE_SYSTEM_LIBRARIES=true \
88 - ${RUBY} -Cext/${PN} extconf.rb \
89 - --with-zlib-include="${EPREFIX}"/usr/include \
90 - --with-zlib-lib="${EPREFIX}"/$(get_libdir) \
91 - --with-iconv-include="${EPREFIX}"/usr/include \
92 - --with-iconv-lib="${EPREFIX}"/$(get_libdir) \
93 - --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
94 - --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
95 - --with-xslt-dir="${EPREFIX}"/usr \
96 - --with-iconvlib=iconv \
97 - || die "extconf.rb failed"
98 -}
99 -
100 -each_ruby_compile() {
101 - if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
102 - ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
103 - fi
104 -
105 - if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
106 - ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
107 - fi
108 -
109 - emake -Cext/${PN} \
110 - V=1 \
111 - CFLAGS="${CFLAGS} -fPIC" \
112 - archflag="${LDFLAGS}" || die "make extension failed"
113 - cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
114 -}
115 -
116 -each_ruby_test() {
117 - ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || 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.7.0.ebuild b/dev-ruby/nokogiri/nokogiri-1.7.0.ebuild
129 deleted file mode 100644
130 index 8929461ca1e..00000000000
131 --- a/dev-ruby/nokogiri/nokogiri-1.7.0.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 -
137 -EAPI=5
138 -
139 -USE_RUBY="ruby21 ruby22 ruby23"
140 -
141 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
142 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md STANDARD_RESPONSES.md"
143 -
144 -RUBY_FAKEGEM_EXTRAINSTALL="ext"
145 -
146 -inherit ruby-fakegem eutils multilib
147 -
148 -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
149 -HOMEPAGE="http://nokogiri.org/"
150 -LICENSE="MIT"
151 -SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
152 -
153 -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"
154 -SLOT="0"
155 -IUSE=""
156 -
157 -RDEPEND="${RDEPEND}
158 - >=dev-libs/libxml2-2.9.2:=
159 - dev-libs/libxslt
160 - virtual/libiconv"
161 -DEPEND="${DEPEND}
162 - >=dev-libs/libxml2-2.9.2
163 - dev-libs/libxslt
164 - virtual/libiconv"
165 -
166 -ruby_add_bdepend "
167 - dev-ruby/hoe
168 - >=dev-ruby/pkg-config-1.1.7
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 -}