1 |
commit: dbd5a3d94faf9a1530c94703ad78657be439afe0 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 12 07:05:08 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 12 07:05:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd5a3d9 |
7 |
|
8 |
dev-ruby/nokogiri: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/nokogiri/Manifest | 2 - |
14 |
dev-ruby/nokogiri/nokogiri-1.10.3.ebuild | 92 -------------------------------- |
15 |
dev-ruby/nokogiri/nokogiri-1.9.1.ebuild | 92 -------------------------------- |
16 |
3 files changed, 186 deletions(-) |
17 |
|
18 |
diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest |
19 |
index 369fa6def7f..bfaf0d40a6e 100644 |
20 |
--- a/dev-ruby/nokogiri/Manifest |
21 |
+++ b/dev-ruby/nokogiri/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
-DIST nokogiri-1.10.3-git.tgz 5792280 BLAKE2B e902a773d925bff9414e2aa5c561b2e315144f9ee56f6186a0585a390af8db52725a960c747acd71e174d896d60d555568bd85a314735de72c75b74f76a40c30 SHA512 88c408cb25cc7e4fff9cf74ec8d3a15aeaeef8754c1172fb2cb4c0cb8b8b7419a47e6a2ec54ff9b1faa2bfdf0b287f05d429d8dfc9d2054125c488ca234b80cc |
24 |
DIST nokogiri-1.10.4-git.tgz 5792963 BLAKE2B 80223c7bda39c56ced8e98d1d9f6858907f2814eb2d9f28d13c9f26fe29ae7f057e5a19765a3b304ffc4f9edd3dd0f77b99d5a673923ce95a8f02135aa9882ca SHA512 c27877297d432b9a9baf3e0639600d6ca5b382a87ff0dc1efb5d9bb3c79aaa31a589a4491f938283e4f9d35e8d29b6f88a60e27a5d4c81e7b491e100f8d06a9d |
25 |
DIST nokogiri-1.8.4-git.tgz 5754921 BLAKE2B 189dc8ffe4df67b04fa8436799bd6d64e4f8c1f93206b619bda8e153afffb3091fdfab9a3a4da28fcaa2650711aad6e37232e4e948a74c217f7fdc8b061dd4cd SHA512 ed409daeb4e13f93e13bc6901ee27bf5d1155e24fb306b5b9e8ba462517d26d4514413b9728d4a8f2514015c54436b9689a11449030c7bb5826d2ca7bf7eb97a |
26 |
-DIST nokogiri-1.9.1-git.tgz 5784212 BLAKE2B 9055a954a52deb10e2a937267d7b382dd235885a44afe126c2770b415d4f6c26b851396a2f03898c335987eba7baf8b5aa1f5fb8ae1063b64c0a620b9ce7969e SHA512 8d0dc667c68b612ba481692a02cf32860f9cb180a831942789c56568e3b4c1bc89a21ac284cd4d406b183600c6aaf56cf7a3a104594bdbba22fa53f9af6525da |
27 |
|
28 |
diff --git a/dev-ruby/nokogiri/nokogiri-1.10.3.ebuild b/dev-ruby/nokogiri/nokogiri-1.10.3.ebuild |
29 |
deleted file mode 100644 |
30 |
index 7ae8cea0943..00000000000 |
31 |
--- a/dev-ruby/nokogiri/nokogiri-1.10.3.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,92 +0,0 @@ |
34 |
-# Copyright 1999-2019 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-USE_RUBY="ruby24 ruby25 ruby26" |
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="https://www.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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~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.9:= |
59 |
- >=dev-libs/libxslt-1.1.33 |
60 |
- virtual/libiconv" |
61 |
-DEPEND="${DEPEND} |
62 |
- >=dev-libs/libxml2-2.9.9 |
63 |
- >=dev-libs/libxslt-1.1.33 |
64 |
- virtual/libiconv" |
65 |
- |
66 |
-ruby_add_bdepend " |
67 |
- >=dev-ruby/pkg-config-1.1.7 |
68 |
- dev-ruby/rexical |
69 |
- dev-ruby/rdoc |
70 |
- dev-ruby/racc |
71 |
- test? ( dev-ruby/minitest )" |
72 |
- |
73 |
-all_ruby_prepare() { |
74 |
- sed -i \ |
75 |
- -e '/tasks\/cross_compile/s:^:#:' \ |
76 |
- -e '/:test.*prerequisites/s:^:#:' \ |
77 |
- -e '/license/ s:^:#:' \ |
78 |
- Rakefile || die |
79 |
- # Remove the cross compilation options since they interfere with |
80 |
- # native building. |
81 |
- sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die |
82 |
- sed -i -e '/cross_config_options/d' Rakefile || die |
83 |
-} |
84 |
- |
85 |
-each_ruby_configure() { |
86 |
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ |
87 |
- ${RUBY} -Cext/${PN} extconf.rb \ |
88 |
- --with-zlib-include="${EPREFIX}"/usr/include \ |
89 |
- --with-zlib-lib="${EPREFIX}"/$(get_libdir) \ |
90 |
- --with-iconv-include="${EPREFIX}"/usr/include \ |
91 |
- --with-iconv-lib="${EPREFIX}"/$(get_libdir) \ |
92 |
- --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ |
93 |
- --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ |
94 |
- --with-xslt-dir="${EPREFIX}"/usr \ |
95 |
- --with-iconvlib=iconv \ |
96 |
- || die "extconf.rb failed" |
97 |
-} |
98 |
- |
99 |
-each_ruby_compile() { |
100 |
- if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then |
101 |
- ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" |
102 |
- fi |
103 |
- |
104 |
- if ! [[ -f lib/nokogiri/css/parser.rb ]]; then |
105 |
- ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" |
106 |
- fi |
107 |
- |
108 |
- emake -Cext/${PN} \ |
109 |
- V=1 \ |
110 |
- CFLAGS="${CFLAGS} -fPIC" \ |
111 |
- archflag="${LDFLAGS}" || die "make extension failed" |
112 |
- cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die |
113 |
-} |
114 |
- |
115 |
-each_ruby_test() { |
116 |
- ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die |
117 |
-} |
118 |
- |
119 |
-each_ruby_install() { |
120 |
- # Clean up "ext" directory before installing it. nokogumbo expects |
121 |
- # the header files and shared object to be in ext. |
122 |
- rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die |
123 |
- |
124 |
- each_fakegem_install |
125 |
-} |
126 |
|
127 |
diff --git a/dev-ruby/nokogiri/nokogiri-1.9.1.ebuild b/dev-ruby/nokogiri/nokogiri-1.9.1.ebuild |
128 |
deleted file mode 100644 |
129 |
index 4e24138c537..00000000000 |
130 |
--- a/dev-ruby/nokogiri/nokogiri-1.9.1.ebuild |
131 |
+++ /dev/null |
132 |
@@ -1,92 +0,0 @@ |
133 |
-# Copyright 1999-2019 Gentoo Authors |
134 |
-# Distributed under the terms of the GNU General Public License v2 |
135 |
- |
136 |
-EAPI=6 |
137 |
- |
138 |
-USE_RUBY="ruby23 ruby24 ruby25 ruby26" |
139 |
- |
140 |
-RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
141 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md STANDARD_RESPONSES.md" |
142 |
- |
143 |
-RUBY_FAKEGEM_EXTRAINSTALL="ext" |
144 |
- |
145 |
-inherit ruby-fakegem eutils multilib |
146 |
- |
147 |
-DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" |
148 |
-HOMEPAGE="https://www.nokogiri.org/" |
149 |
-LICENSE="MIT" |
150 |
-SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
151 |
- |
152 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
153 |
-SLOT="0" |
154 |
-IUSE="" |
155 |
- |
156 |
-RDEPEND="${RDEPEND} |
157 |
- >=dev-libs/libxml2-2.9.8:= |
158 |
- >=dev-libs/libxslt-1.1.30 |
159 |
- virtual/libiconv" |
160 |
-DEPEND="${DEPEND} |
161 |
- >=dev-libs/libxml2-2.9.8 |
162 |
- >=dev-libs/libxslt-1.1.30 |
163 |
- virtual/libiconv" |
164 |
- |
165 |
-ruby_add_bdepend " |
166 |
- >=dev-ruby/pkg-config-1.1.7 |
167 |
- dev-ruby/rexical |
168 |
- dev-ruby/rdoc |
169 |
- dev-ruby/racc |
170 |
- test? ( dev-ruby/minitest )" |
171 |
- |
172 |
-all_ruby_prepare() { |
173 |
- sed -i \ |
174 |
- -e '/tasks\/cross_compile/s:^:#:' \ |
175 |
- -e '/:test.*prerequisites/s:^:#:' \ |
176 |
- -e '/license/ s:^:#:' \ |
177 |
- Rakefile || die |
178 |
- # Remove the cross compilation options since they interfere with |
179 |
- # native building. |
180 |
- sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die |
181 |
- sed -i -e '/cross_config_options/d' Rakefile || die |
182 |
-} |
183 |
- |
184 |
-each_ruby_configure() { |
185 |
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ |
186 |
- ${RUBY} -Cext/${PN} extconf.rb \ |
187 |
- --with-zlib-include="${EPREFIX}"/usr/include \ |
188 |
- --with-zlib-lib="${EPREFIX}"/$(get_libdir) \ |
189 |
- --with-iconv-include="${EPREFIX}"/usr/include \ |
190 |
- --with-iconv-lib="${EPREFIX}"/$(get_libdir) \ |
191 |
- --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ |
192 |
- --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ |
193 |
- --with-xslt-dir="${EPREFIX}"/usr \ |
194 |
- --with-iconvlib=iconv \ |
195 |
- || die "extconf.rb failed" |
196 |
-} |
197 |
- |
198 |
-each_ruby_compile() { |
199 |
- if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then |
200 |
- ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" |
201 |
- fi |
202 |
- |
203 |
- if ! [[ -f lib/nokogiri/css/parser.rb ]]; then |
204 |
- ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" |
205 |
- fi |
206 |
- |
207 |
- emake -Cext/${PN} \ |
208 |
- V=1 \ |
209 |
- CFLAGS="${CFLAGS} -fPIC" \ |
210 |
- archflag="${LDFLAGS}" || die "make extension failed" |
211 |
- cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die |
212 |
-} |
213 |
- |
214 |
-each_ruby_test() { |
215 |
- ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die |
216 |
-} |
217 |
- |
218 |
-each_ruby_install() { |
219 |
- # Clean up "ext" directory before installing it. nokogumbo expects |
220 |
- # the header files and shared object to be in ext. |
221 |
- rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die |
222 |
- |
223 |
- each_fakegem_install |
224 |
-} |