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/patron: ChangeLog patron-0.4.6-r1.ebuild patron-0.4.6.ebuild
Date: Fri, 20 Aug 2010 13:31:41
Message-Id: 20100820133135.8FD402004C@flycatcher.gentoo.org
1 graaff 10/08/20 13:31:35
2
3 Modified: ChangeLog
4 Added: patron-0.4.6-r1.ebuild
5 Removed: patron-0.4.6.ebuild
6 Log:
7 Install shared object where patron itself expects it to be.
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 dev-ruby/patron/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/patron/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/patron/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/patron/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/patron/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 24 Jul 2010 06:04:09 -0000 1.1
24 +++ ChangeLog 20 Aug 2010 13:31:35 -0000 1.2
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-ruby/patron
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/patron/ChangeLog,v 1.1 2010/07/24 06:04:09 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/patron/ChangeLog,v 1.2 2010/08/20 13:31:35 graaff Exp $
30 +
31 +*patron-0.4.6-r1 (20 Aug 2010)
32 +
33 + 20 Aug 2010; Hans de Graaff <graaff@g.o> -patron-0.4.6.ebuild,
34 + +patron-0.4.6-r1.ebuild:
35 + Install shared object where patron itself expects it to be.
36 +
37
38 *patron-0.4.6 (24 Jul 2010)
39
40
41
42
43 1.1 dev-ruby/patron/patron-0.4.6-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/patron/patron-0.4.6-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/patron/patron-0.4.6-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: patron-0.4.6-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/patron/patron-0.4.6-r1.ebuild,v 1.1 2010/08/20 13:31:35 graaff Exp $
53
54 EAPI=2
55 USE_RUBY="ruby18"
56
57 RUBY_FAKEGEM_TASK_TEST="spec"
58 RUBY_FAKEGEM_EXTRADOC="README.txt"
59
60 inherit multilib ruby-fakegem
61
62 DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl."
63 HOMEPAGE="http://toland.github.com/patron/"
64
65 LICENSE="MIT"
66 SLOT="0"
67 KEYWORDS="~amd64"
68 IUSE=""
69
70 ruby_add_bdepend "doc? ( dev-ruby/jeweler )"
71 #ruby_add_bdepend "test? ( dev-ruby/jeweler dev-ruby/rspec )"
72
73 DEPEND="${DEPEND} net-misc/curl"
74 RDEPEND="${RDEPEND} net-misc/curl"
75
76 # Tests require a live web service that is not included in the distribution.
77 RESTRICT="test"
78
79 each_ruby_configure() {
80 ${RUBY} -Cext/patron extconf.rb || die
81 }
82
83 each_ruby_compile() {
84 emake -Cext/patron || die
85 cp ext/patron/session_ext$(get_modname) lib/patron/ || die "Unable to cp shared object file"
86 }