Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/libxml: libxml-2.1.1.ebuild ChangeLog
Date: Tue, 02 Aug 2011 06:01:22
Message-Id: 20110802060111.C93272004C@flycatcher.gentoo.org
1 graaff 11/08/02 06:01:11
2
3 Modified: ChangeLog
4 Added: libxml-2.1.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.46 dev-ruby/libxml/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.46&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.46&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?r1=1.45&r2=1.46
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v
20 retrieving revision 1.45
21 retrieving revision 1.46
22 diff -u -r1.45 -r1.46
23 --- ChangeLog 31 Jul 2011 19:05:43 -0000 1.45
24 +++ ChangeLog 2 Aug 2011 06:01:11 -0000 1.46
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/libxml
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.45 2011/07/31 19:05:43 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.46 2011/08/02 06:01:11 graaff Exp $
30 +
31 +*libxml-2.1.1 (02 Aug 2011)
32 +
33 + 02 Aug 2011; Hans de Graaff <graaff@g.o> +libxml-2.1.1.ebuild:
34 + Version bump.
35
36 31 Jul 2011; Jeroen Roovers <jer@g.o> libxml-2.0.5.ebuild:
37 Stable for HPPA (bug #370399).
38
39
40
41 1.1 dev-ruby/libxml/libxml-2.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/libxml-2.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/libxml-2.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libxml-2.1.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.1.1.ebuild,v 1.1 2011/08/02 06:01:11 graaff Exp $
51
52 EAPI=2
53
54 USE_RUBY="ruby18 ree18 ruby19"
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="http://libxml.rubyforge.org"
67
68 LICENSE="as-is"
69 SLOT="0"
70 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
71 IUSE=""
72
73 RDEPEND="${RDEPEND} dev-libs/libxml2"
74 DEPEND="${DEPEND} dev-libs/libxml2"
75
76 all_ruby_prepare() {
77 # Remove grancher tasks only needed for publishing the website
78 sed -i -e '/grancher/d' -e '/Grancher/,$d' Rakefile || die
79
80 # We don't have the hanna template available.
81 sed -i -e 's/hanna/rake/' Rakefile || die
82
83 # Remove rake-compiler bits since we don't use it
84 sed -i -e '/extensiontask/d' -e '/ExtensionTask/,/end/d' -e '/GemPackageTask/,/end/d' Rakefile || die
85 }
86
87 each_ruby_configure() {
88 ${RUBY} -C ext/libxml extconf.rb || die
89 }
90
91 each_ruby_compile() {
92 emake -C ext/libxml
93 cp ext/libxml/libxml_ruby.so lib/ || die
94 }
95
96 each_ruby_test() {
97 # The test suite needs to load its files in alphabetical order but
98 # this is not guaranteed. See bug 370501.
99 ${RUBY} -Ilib -r test/test_helper.rb test/test_suite.rb || die
100 }