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/httpclient: ChangeLog httpclient-2.4.0.ebuild
Date: Sun, 08 Jun 2014 07:37:44
Message-Id: 20140608073740.5B0132004E@flycatcher.gentoo.org
1 graaff 14/06/08 07:37:40
2
3 Modified: ChangeLog
4 Added: httpclient-2.4.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.54 dev-ruby/httpclient/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/ChangeLog?rev=1.54&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/ChangeLog?rev=1.54&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/ChangeLog?r1=1.53&r2=1.54
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v
20 retrieving revision 1.53
21 retrieving revision 1.54
22 diff -u -r1.53 -r1.54
23 --- ChangeLog 18 Apr 2014 12:05:25 -0000 1.53
24 +++ ChangeLog 8 Jun 2014 07:37:40 -0000 1.54
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/httpclient
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.53 2014/04/18 12:05:25 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.54 2014/06/08 07:37:40 graaff Exp $
30 +
31 +*httpclient-2.4.0 (08 Jun 2014)
32 +
33 + 08 Jun 2014; Hans de Graaff <graaff@g.o> +httpclient-2.4.0.ebuild:
34 + Version bump.
35
36 18 Apr 2014; Hans de Graaff <graaff@g.o> httpclient-2.3.4.1-r1.ebuild:
37 Add ruby21.
38
39
40
41 1.1 dev-ruby/httpclient/httpclient-2.4.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/httpclient-2.4.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/httpclient/httpclient-2.4.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: httpclient-2.4.0.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.4.0.ebuild,v 1.1 2014/06/08 07:37:40 graaff Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby19 ruby20 ruby21 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.md"
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/archive/v${PV}.tar.gz -> ${P}.tgz"
68
69 LICENSE="Ruby"
70 SLOT="0"
71
72 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
73 IUSE=""
74
75 RDEPEND="${RDEPEND}
76 !dev-ruby/http-access2"
77
78 ruby_add_rdepend "virtual/ruby-ssl"
79
80 ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
81
82 all_ruby_prepare () {
83 rm Gemfile || die
84 sed -i -e '/[bB]undler/s:^:#:' Rakefile || die
85
86 # Fix documentation task
87 sed -i -e 's/README.txt/README.md/' Rakefile || die
88
89 # Remove mandatory CI reports since we don't need this for testing.
90 sed -i -e '/reporter/s:^:#:' Rakefile || die
91
92 # Remove mandatory simplecov dependency
93 sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' test/helper.rb || die
94
95 # Comment out test requiring network access that makes assumptions
96 # about the environment, bug 395155
97 sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die
98
99 # Skip tests using rack-ntlm which is not packaged. Weirdly these
100 # only fail on jruby.
101 rm test/test_auth.rb || die
102 }
103
104 each_ruby_test() {
105 ${RUBY} -Ilib -S testrb test/test_*.rb || die
106 }