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