1 |
mrueg 13/12/27 02:41:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libxml-2.7.0-r2.ebuild |
5 |
Log: |
6 |
Add ruby21 target. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key ) |
9 |
|
10 |
Revision Changes Path |
11 |
1.91 dev-ruby/libxml/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.91&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.91&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?r1=1.90&r2=1.91 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v |
20 |
retrieving revision 1.90 |
21 |
retrieving revision 1.91 |
22 |
diff -u -r1.90 -r1.91 |
23 |
--- ChangeLog 24 Dec 2013 16:57:06 -0000 1.90 |
24 |
+++ ChangeLog 27 Dec 2013 02:41:44 -0000 1.91 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/libxml |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.90 2013/12/24 16:57:06 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.91 2013/12/27 02:41:44 mrueg Exp $ |
30 |
+ |
31 |
+*libxml-2.7.0-r2 (27 Dec 2013) |
32 |
+ |
33 |
+ 27 Dec 2013; Manuel RĂ¼ger <mrueg@g.o> +libxml-2.7.0-r2.ebuild: |
34 |
+ Add ruby21 target. |
35 |
|
36 |
24 Dec 2013; Agostino Sarubbo <ago@g.o> libxml-2.7.0-r1.ebuild: |
37 |
Stable for ppc64, wrt bug #489854 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/libxml/libxml-2.7.0-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/libxml-2.7.0-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/libxml-2.7.0-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libxml-2.7.0-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/libxml-2.7.0-r2.ebuild,v 1.1 2013/12/27 02:41:44 mrueg Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
USE_RUBY="ruby18 ruby19 ruby20 ruby21" |
55 |
|
56 |
RUBY_FAKEGEM_NAME="libxml-ruby" |
57 |
|
58 |
RUBY_FAKEGEM_DOCDIR="doc" |
59 |
RUBY_FAKEGEM_EXTRADOC="README.rdoc HISTORY" |
60 |
|
61 |
RUBY_FAKEGEM_TASK_TEST="none" |
62 |
|
63 |
inherit ruby-fakegem |
64 |
|
65 |
DESCRIPTION="Ruby libxml with a user friendly API, akin to REXML, but feature complete and significantly faster." |
66 |
HOMEPAGE="https://github.com/xml4r/libxml-ruby" |
67 |
|
68 |
LICENSE="MIT" |
69 |
SLOT="0" |
70 |
KEYWORDS="~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" |
71 |
IUSE="" |
72 |
|
73 |
RDEPEND="${RDEPEND} dev-libs/libxml2" |
74 |
DEPEND="${DEPEND} dev-libs/libxml2" |
75 |
|
76 |
ruby_add_bdepend "doc? ( dev-ruby/rdoc )" |
77 |
|
78 |
all_ruby_prepare() { |
79 |
# Remove grancher tasks only needed for publishing the website |
80 |
sed -i -e '/grancher/d' -e '/Grancher/,$d' Rakefile || die |
81 |
|
82 |
# We don't have the hanna template available. |
83 |
sed -i -e 's/hanna/rake/' Rakefile || die |
84 |
|
85 |
# Remove rake-compiler bits since we don't use it |
86 |
sed -i -e '/extensiontask/d' -e '/ExtensionTask/,/end/d' -e '/GemPackageTask/,/end/d' Rakefile || die |
87 |
|
88 |
# replace ulimit -n output as it does not work with Ruby 1.9 |
89 |
sed -i -e 's:`ulimit -n`:"'`ulimit -n`'":' test/tc_parser.rb || die |
90 |
|
91 |
# Avoid test failing due to different semantics in libxml 2.8. |
92 |
# https://github.com/xml4r/libxml-ruby/issues/43 |
93 |
sed -i -e '/test_invalid_encoding/,/^ end/ s:^:#:' test/tc_reader.rb || die |
94 |
|
95 |
# Ignore two test failures on ruby18 for now given that older |
96 |
# versions no longer compile. |
97 |
sed -i -e '/test_schema_type/,/end/ s:^:#:' \ |
98 |
-e '/test_schema_element/,/end/ s:^:#:' test/tc_schema.rb || die |
99 |
|
100 |
# Remove the pregenerated extconf.h. It should not be included, but |
101 |
# it also confuses our hardlink-based duplication scheme. |
102 |
rm ext/libxml/extconf.h || die |
103 |
} |
104 |
|
105 |
each_ruby_configure() { |
106 |
${RUBY} -C ext/libxml extconf.rb || die |
107 |
} |
108 |
|
109 |
each_ruby_compile() { |
110 |
emake -C ext/libxml V=1 |
111 |
cp ext/libxml/libxml_ruby.so lib/ || die |
112 |
} |
113 |
|
114 |
each_ruby_test() { |
115 |
# The test suite needs to load its files in alphabetical order but |
116 |
# this is not guaranteed. See bug 370501. |
117 |
${RUBY} -Ilib -r ./test/test_helper.rb test/test_suite.rb || die |
118 |
} |