Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/libxml: ChangeLog libxml-0.9.5.ebuild
Date: Sun, 30 Nov 2008 11:52:43
Message-Id: E1L6kqu-0002Om-MS@stork.gentoo.org
1 flameeyes 08/11/30 11:52:40
2
3 Modified: ChangeLog
4 Added: libxml-0.9.5.ebuild
5 Log:
6 Version bump; use the tarball rather than the gem so that the tests run during src_test. Fix license, it's actually as-is rather than BSD.
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 x86_64)
8
9 Revision Changes Path
10 1.19 dev-ruby/libxml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 13 Oct 2008 15:21:22 -0000 1.18
23 +++ ChangeLog 30 Nov 2008 11:52:40 -0000 1.19
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-ruby/libxml
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.18 2008/10/13 15:21:22 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.19 2008/11/30 11:52:40 flameeyes Exp $
29 +
30 +*libxml-0.9.5 (30 Nov 2008)
31 +
32 + 30 Nov 2008; Diego E. Pettenò <flameeyes@g.o>
33 + +libxml-0.9.5.ebuild:
34 + Version bump; use the tarball rather than the gem so that the tests run
35 + during src_test. Fix license, it's actually as-is rather than BSD.
36
37 *libxml-0.8.3 (13 Oct 2008)
38
39
40
41
42 1.1 dev-ruby/libxml/libxml-0.9.5.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/libxml-0.9.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/libxml-0.9.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libxml-0.9.5.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/libxml-0.9.5.ebuild,v 1.1 2008/11/30 11:52:40 flameeyes Exp $
52
53 inherit ruby
54
55 MY_P=${PN}-ruby-${PV}
56
57 DESCRIPTION="Ruby libxml with a user friendly API, akin to REXML, but feature complete and significantly faster."
58 HOMEPAGE="http://libxml.rubyforge.org"
59 SRC_URI="mirror://rubyforge/${PN}/${MY_P}.tgz"
60
61 LICENSE="as-is"
62 SLOT="0"
63 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
64 IUSE="" # doc
65
66 RDEPEND=">=dev-libs/libxml2-2.6.6"
67 DEPEND="${RDEPEND}
68 dev-ruby/rake"
69
70 S="${WORKDIR}/${MY_P}"
71
72 src_compile() {
73 rake extensions || die "rake extensions failed"
74
75 # Does not work on 0.9.5
76 #if use doc; then
77 # rake rdoc || die "rake rdoc failed"
78 #fi
79 }
80
81 src_test() {
82 rake test || die "rake test failed"
83 }
84
85 src_install() {
86 cd "${S}"/lib
87 doruby -r * || die "doruby failed"
88
89 cd "${S}"/ext/libxml
90 ruby_einstall || die "ruby_einstall failed"
91
92 cd "${S}"
93
94 dodoc README CHANGES || die "dodoc failed"
95
96 #if use doc; then
97 # dohtml -r doc/* || die "dohtml failed"
98 #fi
99 }