Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/httpclient: httpclient-2.3.4.1-r1.ebuild ChangeLog
Date: Sat, 05 Oct 2013 12:29:26
Message-Id: 20131005122920.2CFE22004C@flycatcher.gentoo.org
1 mrueg 13/10/05 12:29:20
2
3 Modified: ChangeLog
4 Added: httpclient-2.3.4.1-r1.ebuild
5 Log:
6 Add ruby20 target.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.51 dev-ruby/httpclient/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/ChangeLog?rev=1.51&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/ChangeLog?rev=1.51&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/ChangeLog?r1=1.50&r2=1.51
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v
20 retrieving revision 1.50
21 retrieving revision 1.51
22 diff -u -r1.50 -r1.51
23 --- ChangeLog 12 Sep 2013 17:29:52 -0000 1.50
24 +++ ChangeLog 5 Oct 2013 12:29:19 -0000 1.51
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/httpclient
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.50 2013/09/12 17:29:52 mrueg Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.51 2013/10/05 12:29:19 mrueg Exp $
30 +
31 +*httpclient-2.3.4.1-r1 (05 Oct 2013)
32 +
33 + 05 Oct 2013; Manuel Rüger <mrueg@g.o> +httpclient-2.3.4.1-r1.ebuild:
34 + Add ruby20 target.
35
36 12 Sep 2013; Manuel Rüger <mrueg@g.o> -httpclient-2.2.2.ebuild:
37 Cleanup old.
38
39
40
41 1.1 dev-ruby/httpclient/httpclient-2.3.4.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/httpclient-2.3.4.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/httpclient-2.3.4.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: httpclient-2.3.4.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.3.4.1-r1.ebuild,v 1.1 2013/10/05 12:29:19 mrueg Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby18 ruby19 ruby20 jruby"
55
56 RUBY_FAKEGEM_TASK_TEST="-Ilib test"
57 RUBY_FAKEGEM_TASK_DOC="doc"
58
59 RUBY_FAKEGEM_DOCDIR="doc"
60
61 RUBY_FAKEGEM_EXTRADOC="README.txt"
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby"
66 HOMEPAGE="https://github.com/nahi/httpclient"
67 SRC_URI="https://github.com/nahi/httpclient/tarball/v${PV} -> ${P}.tgz"
68 RUBY_S="nahi-httpclient-*"
69
70 LICENSE="Ruby"
71 SLOT="0"
72
73 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
74 IUSE=""
75
76 RDEPEND="${RDEPEND}
77 !dev-ruby/http-access2"
78
79 ruby_add_rdepend "virtual/ruby-ssl"
80
81 ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
82
83 all_ruby_prepare () {
84 rm Gemfile || die
85 sed -i -e '/[bB]undler/s:^:#:' Rakefile || die
86
87 # Remove mandatory CI reports since we don't need this for testing.
88 sed -i -e '/reporter/s:^:#:' Rakefile || die
89
90 # Remove mandatory simplecov dependency
91 sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' test/helper.rb || die
92
93 # Comment out test requiring network access that makes assumptions
94 # about the environment, bug 395155
95 sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die
96 }
97
98 each_ruby_test() {
99 ${RUBY} -Ilib -S testrb test/test_*.rb || die
100 }