From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/webmock: metadata.xml ChangeLog webmock-0.8.0.ebuild |
Date: | Mon, 04 Jan 2010 04:13:41 |
Message-Id: | E1NReK3-00088U-Eg@stork.gentoo.org |
1 | flameeyes 10/01/04 04:13:39 |
2 | |
3 | Added: metadata.xml ChangeLog webmock-0.8.0.ebuild |
4 | Log: |
5 | Initial import of webmock, needed for 0.3 series of dev-ruby/gemcutter. |
6 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-ruby/webmock/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/webmock/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/webmock/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>ruby</herd> |
20 | </pkgmetadata> |
21 | |
22 | |
23 | |
24 | 1.1 dev-ruby/webmock/ChangeLog |
25 | |
26 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/webmock/ChangeLog?rev=1.1&view=markup |
27 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/webmock/ChangeLog?rev=1.1&content-type=text/plain |
28 | |
29 | Index: ChangeLog |
30 | =================================================================== |
31 | # ChangeLog for dev-ruby/webmock |
32 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
33 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/ChangeLog,v 1.1 2010/01/04 04:13:38 flameeyes Exp $ |
34 | |
35 | *webmock-0.8.0 (04 Jan 2010) |
36 | |
37 | 04 Jan 2010; Diego E. Pettenò <flameeyes@g.o> |
38 | +webmock-0.8.0.ebuild, +metadata.xml: |
39 | Initial import of webmock, needed for 0.3 series of dev-ruby/gemcutter. |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 dev-ruby/webmock/webmock-0.8.0.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/webmock/webmock-0.8.0.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/webmock/webmock-0.8.0.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: webmock-0.8.0.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2010 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/webmock-0.8.0.ebuild,v 1.1 2010/01/04 04:13:38 flameeyes Exp $ |
54 | |
55 | EAPI=2 |
56 | |
57 | # ruby19 → tests fail with a trivial difference, reported upstream |
58 | # http://github.com/bblimke/webmock/issues/#issue/7 |
59 | # jruby → tests fail badly, reported upstream |
60 | # http://github.com/bblimke/webmock/issues/#issue/8 |
61 | USE_RUBY="ruby18 ruby19" |
62 | |
63 | RUBY_FAKEGEM_TASK_TEST="test spec" |
64 | |
65 | RUBY_FAKEGEM_DOCDIR="rdoc" |
66 | RAKE_FAKEGEM_EXTRADOC="CHANGELOG README.md" |
67 | |
68 | inherit ruby-fakegem |
69 | |
70 | DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" |
71 | HOMEPAGE="http://github.com/bblimke/webmock" |
72 | |
73 | LICENSE="GPL-2" |
74 | SLOT="0" |
75 | KEYWORDS="~amd64" |
76 | IUSE="" |
77 | |
78 | ruby_add_rdepend dev-ruby/addressable |
79 | |
80 | ruby_add_bdepend test 'virtual/ruby-test-unit >=dev-ruby/rspec-1.2.9 >=dev-ruby/httpclient-2.1.5.2' |
81 | |
82 | all_ruby_prepare() { |
83 | # Don't require check_dependencies (using Jeweler) |
84 | sed -i \ |
85 | -e '/=> :check_dependencies/s:^:#:' \ |
86 | Rakefile || die "Rakefile fix failed" |
87 | } |