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/xpath: metadata.xml ChangeLog xpath-0.1.4.ebuild
Date: Wed, 18 May 2011 14:10:19
Message-Id: 20110518141009.D582320054@flycatcher.gentoo.org
1 graaff 11/05/18 14:10:09
2
3 Added: metadata.xml ChangeLog xpath-0.1.4.ebuild
4 Log:
5 Initial import. Dependency of forthcoming capybara.
6
7 (Portage version: 2.1.9.42/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-ruby/xpath/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/xpath/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/xpath/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>ruby</herd>
21 </pkgmetadata>
22
23
24
25 1.1 dev-ruby/xpath/ChangeLog
26
27 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/xpath/ChangeLog?rev=1.1&view=markup
28 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/xpath/ChangeLog?rev=1.1&content-type=text/plain
29
30 Index: ChangeLog
31 ===================================================================
32 # ChangeLog for dev-ruby/xpath
33 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
34 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/xpath/ChangeLog,v 1.1 2011/05/18 14:10:09 graaff Exp $
35
36 *xpath-0.1.4 (18 May 2011)
37
38 18 May 2011; Hans de Graaff <graaff@g.o> +xpath-0.1.4.ebuild,
39 +metadata.xml:
40 Initial import. Dependency of forthcoming capybara.
41
42
43
44
45 1.1 dev-ruby/xpath/xpath-0.1.4.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/xpath/xpath-0.1.4.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/xpath/xpath-0.1.4.ebuild?rev=1.1&content-type=text/plain
49
50 Index: xpath-0.1.4.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/xpath/xpath-0.1.4.ebuild,v 1.1 2011/05/18 14:10:09 graaff Exp $
55
56 EAPI="4"
57 USE_RUBY="ruby18 ree18 jruby"
58
59 RUBY_FAKEGEM_EXTRADOC="README.rdoc"
60
61 RUBY_FAKEGEM_TASK_DOC=""
62 RUBY_FAKEGEM_TASK_TEST=""
63
64 inherit ruby-fakegem
65
66 DESCRIPTION="XPath is a Ruby DSL around a subset of XPath 1.0."
67 HOMEPAGE="https://github.com/jnicklas/xpath"
68 LICENSE="MIT"
69
70 KEYWORDS="~amd64"
71 SLOT="0"
72 IUSE="test"
73
74 ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
75
76 all_ruby_prepare() {
77 sed -i -e '/bundler/d' spec/spec_helper.rb || die
78 }
79
80 each_ruby_test() {
81 ${RUBY} -Ilib -S rspec spec || die "Tests failed."
82 }