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-1.1.3.ebuild
Date: Sun, 22 Mar 2009 13:42:42
Message-Id: E1LlNwl-0007af-ND@stork.gentoo.org
1 flameeyes 09/03/22 13:42:39
2
3 Modified: ChangeLog
4 Added: libxml-1.1.3.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc26/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.25 dev-ruby/libxml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 14 Mar 2009 12:24:57 -0000 1.24
23 +++ ChangeLog 22 Mar 2009 13:42:39 -0000 1.25
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/libxml
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.24 2009/03/14 12:24:57 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.25 2009/03/22 13:42:39 flameeyes Exp $
29 +
30 +*libxml-1.1.3 (22 Mar 2009)
31 +
32 + 22 Mar 2009; Diego E. Pettenò <flameeyes@g.o>
33 + +libxml-1.1.3.ebuild:
34 + Version bump.
35
36 *libxml-1.1.2 (14 Mar 2009)
37
38
39
40
41 1.1 dev-ruby/libxml/libxml-1.1.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/libxml-1.1.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/libxml/libxml-1.1.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libxml-1.1.3.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/libxml-1.1.3.ebuild,v 1.1 2009/03/22 13:42:39 flameeyes Exp $
51
52 inherit ruby
53
54 MY_P=${PN}-ruby-${PV}
55
56 DESCRIPTION="Ruby libxml with a user friendly API, akin to REXML, but feature complete and significantly faster."
57 HOMEPAGE="http://libxml.rubyforge.org"
58 SRC_URI="mirror://rubyforge/${PN}/${MY_P}.tgz"
59
60 LICENSE="as-is"
61 SLOT="0"
62 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="doc"
64
65 RDEPEND=">=dev-libs/libxml2-2.6.6"
66 DEPEND="${RDEPEND}
67 dev-ruby/rake"
68
69 S="${WORKDIR}/${MY_P}"
70
71 USE_RUBY="ruby18"
72
73 src_compile() {
74 rake extensions || die "rake extensions failed"
75
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 }