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: ChangeLog libxml-2.3.2.ebuild
Date: Sun, 08 Apr 2012 09:29:22
Message-Id: 20120408092908.B94CA2004B@flycatcher.gentoo.org
1 graaff 12/04/08 09:29:08
2
3 Modified: ChangeLog
4 Added: libxml-2.3.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.69 dev-ruby/libxml/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.69&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.69&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/ChangeLog?r1=1.68&r2=1.69
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v
20 retrieving revision 1.68
21 retrieving revision 1.69
22 diff -u -r1.68 -r1.69
23 --- ChangeLog 19 Mar 2012 06:35:17 -0000 1.68
24 +++ ChangeLog 8 Apr 2012 09:29:08 -0000 1.69
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/libxml
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.68 2012/03/19 06:35:17 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.69 2012/04/08 09:29:08 graaff Exp $
30 +
31 +*libxml-2.3.2 (08 Apr 2012)
32 +
33 + 08 Apr 2012; Hans de Graaff <graaff@g.o> +libxml-2.3.2.ebuild:
34 + Version bump.
35
36 *libxml-2.3.0 (19 Mar 2012)
37
38
39
40
41 1.1 dev-ruby/libxml/libxml-2.3.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/libxml-2.3.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/libxml/libxml-2.3.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libxml-2.3.2.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/libxml/libxml-2.3.2.ebuild,v 1.1 2012/04/08 09:29:08 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 ~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 test? ( virtual/ruby-test-unit )"
78
79 all_ruby_prepare() {
80 # Remove grancher tasks only needed for publishing the website
81 sed -i -e '/grancher/d' -e '/Grancher/,$d' Rakefile || die
82
83 # We don't have the hanna template available.
84 sed -i -e 's/hanna/rake/' Rakefile || die
85
86 # Remove rake-compiler bits since we don't use it
87 sed -i -e '/extensiontask/d' -e '/ExtensionTask/,/end/d' -e '/GemPackageTask/,/end/d' Rakefile || die
88
89 # replace ulimit -n output as it does not work with Ruby 1.9
90 sed -i -e 's:`ulimit -n`:"'`ulimit -n`'":' test/tc_parser.rb || die
91 }
92
93 each_ruby_configure() {
94 ${RUBY} -C ext/libxml extconf.rb || die
95 }
96
97 each_ruby_compile() {
98 emake -C ext/libxml
99 cp ext/libxml/libxml_ruby.so lib/ || die
100 }
101
102 each_ruby_test() {
103 # The test suite needs to load its files in alphabetical order but
104 # this is not guaranteed. See bug 370501.
105 ${RUBY} -Ilib -r ./test/test_helper.rb test/test_suite.rb || die
106 }