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/eventmachine: ChangeLog eventmachine-0.12.10-r2.ebuild
Date: Mon, 19 Apr 2010 11:48:33
Message-Id: 20100419114828.EC6492C04A@corvid.gentoo.org
1 flameeyes 10/04/19 11:48:28
2
3 Modified: ChangeLog
4 Added: eventmachine-0.12.10-r2.ebuild
5 Log:
6 Add OpenSSL to dependencies, use a trick yo build in parallel, install examples unconditionally, document why jruby is not listed.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.10 dev-ruby/eventmachine/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/eventmachine/ChangeLog?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/eventmachine/ChangeLog?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/eventmachine/ChangeLog?r1=1.9&r2=1.10
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- ChangeLog 27 Dec 2009 19:49:50 -0000 1.9
23 +++ ChangeLog 19 Apr 2010 11:48:28 -0000 1.10
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-ruby/eventmachine
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.9 2009/12/27 19:49:50 a3li Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.10 2010/04/19 11:48:28 flameeyes Exp $
30 +
31 +*eventmachine-0.12.10-r2 (19 Apr 2010)
32 +
33 + 19 Apr 2010; Diego E. Pettenò <flameeyes@g.o>
34 + +eventmachine-0.12.10-r2.ebuild:
35 + Add OpenSSL to dependencies, use a trick yo build in parallel, install
36 + examples unconditionally, document why jruby is not listed.
37
38 *eventmachine-0.12.10-r1 (27 Dec 2009)
39
40
41
42
43 1.1 dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: eventmachine-0.12.10-r2.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/eventmachine/eventmachine-0.12.10-r2.ebuild,v 1.1 2010/04/19 11:48:28 flameeyes Exp $
53
54 EAPI="2"
55 # jruby → has shims for Java handling but tests fail badly, remaining
56 # stuck; avoid that for now.
57 USE_RUBY="ruby18 ruby19"
58
59 RUBY_FAKEGEM_DOCDIR="rdoc"
60 RUBY_FAKEGEM_EXTRADOC="docs/ChangeLog README"
61
62 inherit ruby-fakegem
63
64 DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby programs."
65 HOMEPAGE="http://rubyeventmachine.com"
66
67 LICENSE="|| ( GPL-2 Ruby )"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
70 IUSE=""
71
72 ruby_add_bdepend 'dev-ruby/rake'
73
74 DEPEND="${DEPEND}
75 dev-libs/openssl"
76 RDEPEND="${RDEPEND}
77 dev-libs/openssl"
78
79 all_ruby_prepare() {
80 # This test only works on BSD, and error handling fails on 1.8
81 rm tests/test_process_watch.rb || die "rm failed"
82
83 cat - > "${T}"/submake <<EOF
84 #!/bin/sh
85
86 myrealmake=${MAKE}
87 MAKE=\$myrealmake emake "\$@"
88
89 EOF
90 chmod +x "${T}"/submake || die
91 }
92
93 each_ruby_compile() {
94 MAKE="${T}"/submake ${RUBY} -S rake build || die "rake build failed"
95 }
96
97 all_ruby_install() {
98 all_fakegem_install
99
100 insinto /usr/share/doc/${PF}/
101 doins -r examples || die "Failed to install examples"
102 }