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