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/httparty: ChangeLog httparty-0.6.0.ebuild
Date: Fri, 25 Jun 2010 20:23:09
Message-Id: 20100625202305.D4D6F2CF68@corvid.gentoo.org
1 graaff 10/06/25 20:23:05
2
3 Modified: ChangeLog
4 Added: httparty-0.6.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 dev-ruby/httparty/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httparty/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httparty/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httparty/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/httparty/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 28 May 2010 17:46:48 -0000 1.15
23 +++ ChangeLog 25 Jun 2010 20:23:05 -0000 1.16
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/httparty
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httparty/ChangeLog,v 1.15 2010/05/28 17:46:48 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httparty/ChangeLog,v 1.16 2010/06/25 20:23:05 graaff Exp $
29 +
30 +*httparty-0.6.0 (25 Jun 2010)
31 +
32 + 25 Jun 2010; Hans de Graaff <graaff@g.o> +httparty-0.6.0.ebuild:
33 + Version bump.
34
35 28 May 2010; Joseph Jezak <josejx@g.o> httparty-0.5.2.ebuild:
36 Marked ~ppc for bug #302963.
37
38
39
40 1.1 dev-ruby/httparty/httparty-0.6.0.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httparty/httparty-0.6.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httparty/httparty-0.6.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: httparty-0.6.0.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/httparty/httparty-0.6.0.ebuild,v 1.1 2010/06/25 20:23:05 graaff Exp $
50
51 EAPI=2
52
53 # ruby19 → testsuite fails (might be crack's bug)
54 # jruby → testsuite fails (seems like a testuite bug)
55 USE_RUBY="ruby18"
56
57 # We have a custom test function, but don't null this out so that the
58 # deps are still added
59 RUBY_FAKEGEM_TASK_TEST="none"
60
61 RUBY_FAKEGEM_DOCDIR="rdoc"
62 RUBY_FAKEGEM_EXTRADOC="README.rdoc History"
63
64 inherit ruby-fakegem
65
66 DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy."
67 HOMEPAGE="http://httparty.rubyforge.org/"
68
69 LICENSE="MIT"
70 SLOT="0"
71 KEYWORDS="~amd64 ~ppc ~x86"
72 IUSE=""
73
74 # Code should most likely be patched, but for now…
75 ruby_add_rdepend '~dev-ruby/crack-0.1.7'
76
77 ruby_add_bdepend 'dev-ruby/rspec dev-ruby/fakeweb'
78
79 USE_RUBY=ruby18 \
80 ruby_add_bdepend 'ruby_targets_ruby18 test' 'dev-util/cucumber dev-ruby/activesupport:2.3'
81
82 all_ruby_prepare() {
83 # as often, Rakefile depends on Jeweler's presence
84 sed -i \
85 -e '/check_dependencies/s:^:#:' \
86 Rakefile || die
87 }
88
89 each_ruby_test() {
90 case ${RUBY} in
91 *ruby18)
92 # Cucumber-based tests only work on Ruby 1.8, as of today, so we only call them
93 ${RUBY} -S rake spec features || die "cucumber tests failed"
94 ;;
95 *)
96 ${RUBY} -S rake spec || die "cucumber tests failed"
97 ;;
98 esac
99 }
100
101 all_ruby_install() {
102 all_fakegem_install
103
104 docinto examples
105 dodoc examples/* || die
106 }