1 |
graaff 12/07/03 18:23:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nokogiri-1.5.5.ebuild |
5 |
Log: |
6 |
Version bump. Enable most of the tests again. |
7 |
|
8 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.74 dev-ruby/nokogiri/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/nokogiri/ChangeLog?rev=1.74&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/nokogiri/ChangeLog?rev=1.74&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/nokogiri/ChangeLog?r1=1.73&r2=1.74 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/ChangeLog,v |
20 |
retrieving revision 1.73 |
21 |
retrieving revision 1.74 |
22 |
diff -u -r1.73 -r1.74 |
23 |
--- ChangeLog 23 Jun 2012 10:00:03 -0000 1.73 |
24 |
+++ ChangeLog 3 Jul 2012 18:23:15 -0000 1.74 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/nokogiri |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/ChangeLog,v 1.73 2012/06/23 10:00:03 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/ChangeLog,v 1.74 2012/07/03 18:23:15 graaff Exp $ |
30 |
+ |
31 |
+*nokogiri-1.5.5 (03 Jul 2012) |
32 |
+ |
33 |
+ 03 Jul 2012; Hans de Graaff <graaff@g.o> +nokogiri-1.5.5.ebuild: |
34 |
+ Version bump. Enable most of the tests again. |
35 |
|
36 |
23 Jun 2012; Agostino Sarubbo <ago@g.o> nokogiri-1.5.2.ebuild: |
37 |
Stable for amd64, wrt bug #423071 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/nokogiri/nokogiri-1.5.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.5.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.5.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nokogiri-1.5.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.5.5.ebuild,v 1.1 2012/07/03 18:23:15 graaff Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
USE_RUBY="ruby18 ruby19 ree18 jruby" |
55 |
|
56 |
RUBY_FAKEGEM_TASK_DOC="docs" |
57 |
RUBY_FAKEGEM_DOCDIR="doc" |
58 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc ROADMAP.md STANDARD_RESPONSES.md" |
59 |
|
60 |
inherit ruby-fakegem eutils multilib |
61 |
|
62 |
DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser." |
63 |
HOMEPAGE="http://nokogiri.rubyforge.org/" |
64 |
LICENSE="MIT" |
65 |
SRC_URI="https://github.com/sparklemotion/nokogiri/tarball/v${PV} -> ${P}.tgz" |
66 |
RUBY_S="sparklemotion-nokogiri-*" |
67 |
|
68 |
KEYWORDS="~amd64 ~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" |
69 |
SLOT="0" |
70 |
IUSE="" |
71 |
|
72 |
RDEPEND="${RDEPEND} |
73 |
dev-libs/libxml2 |
74 |
dev-libs/libxslt" |
75 |
DEPEND="${DEPEND} |
76 |
dev-libs/libxml2 |
77 |
dev-libs/libxslt" |
78 |
|
79 |
# The tests require _minitest_, not the virtual; what is shipped with |
80 |
# Ruby 1.9 is *not* enough, unfortunately |
81 |
ruby_add_bdepend " |
82 |
dev-ruby/rake-compiler |
83 |
dev-ruby/rexical |
84 |
dev-ruby/hoe |
85 |
dev-ruby/rdoc |
86 |
dev-ruby/racc |
87 |
test? ( dev-ruby/minitest )" |
88 |
|
89 |
all_ruby_prepare() { |
90 |
sed -i \ |
91 |
-e '/tasks\/cross_compile/s:^:#:' \ |
92 |
-e '/:test.*prerequisites/s:^:#:' \ |
93 |
Rakefile || die |
94 |
# Remove the cross compilation options since they interfere with |
95 |
# native building. |
96 |
sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die |
97 |
sed -i -e '/cross_config_options/d' Rakefile || die |
98 |
} |
99 |
|
100 |
each_ruby_prepare() { |
101 |
case ${RUBY} in |
102 |
*jruby) |
103 |
# Avoid failing tests: |
104 |
# https://github.com/sparklemotion/nokogiri/issues/721 |
105 |
rm test/xslt/test_exception_handling.rb test/test_xslt_transforms.rb || die |
106 |
;; |
107 |
*) |
108 |
;; |
109 |
esac |
110 |
} |
111 |
|
112 |
each_ruby_configure() { |
113 |
case ${RUBY} in |
114 |
*jruby) |
115 |
;; |
116 |
*) |
117 |
${RUBY} -Cext/${PN} extconf.rb \ |
118 |
--with-zlib-include="${EPREFIX}"/usr/include \ |
119 |
--with-zlib-lib="${EPREFIX}"/$(get_libdir) \ |
120 |
--with-iconv-include="${EPREFIX}"/usr/include \ |
121 |
--with-iconv-lib="${EPREFIX}"/$(get_libdir) \ |
122 |
--with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ |
123 |
--with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ |
124 |
--with-xslt-dir="${EPREFIX}"/usr \ |
125 |
--with-iconvlib=iconv \ |
126 |
|| die "extconf.rb failed" |
127 |
;; |
128 |
esac |
129 |
} |
130 |
|
131 |
each_ruby_compile() { |
132 |
case ${RUBY} in |
133 |
*jruby) |
134 |
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then |
135 |
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" |
136 |
fi |
137 |
|
138 |
${RUBY} -S rake compile || die |
139 |
;; |
140 |
*) |
141 |
if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then |
142 |
${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" |
143 |
fi |
144 |
|
145 |
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then |
146 |
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" |
147 |
fi |
148 |
|
149 |
emake -Cext/${PN} \ |
150 |
CFLAGS="${CFLAGS} -fPIC" \ |
151 |
archflag="${LDFLAGS}" || die "make extension failed" |
152 |
cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die |
153 |
;; |
154 |
esac |
155 |
} |