diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-04-19 11:48:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-04-19 11:48:28 +0000 |
commit | d9105b9f1525c8d6fa5ce83a3f3c11f07b27e836 (patch) | |
tree | 3883a43bf85beab83c8d0f62cd638f1b831e2639 /dev-ruby/eventmachine | |
parent | Maintenance. Add missing deps. Fix LICENSE. EAPI=3 (diff) | |
download | gentoo-2-d9105b9f1525c8d6fa5ce83a3f3c11f07b27e836.tar.gz gentoo-2-d9105b9f1525c8d6fa5ce83a3f3c11f07b27e836.tar.bz2 gentoo-2-d9105b9f1525c8d6fa5ce83a3f3c11f07b27e836.zip |
Add OpenSSL to dependencies, use a trick yo build in parallel, install examples unconditionally, document why jruby is not listed.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/eventmachine')
-rw-r--r-- | dev-ruby/eventmachine/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild | 53 |
2 files changed, 62 insertions, 2 deletions
diff --git a/dev-ruby/eventmachine/ChangeLog b/dev-ruby/eventmachine/ChangeLog index 6c2975d1d1e0..b88411c31357 100644 --- a/dev-ruby/eventmachine/ChangeLog +++ b/dev-ruby/eventmachine/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/eventmachine -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.9 2009/12/27 19:49:50 a3li Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.10 2010/04/19 11:48:28 flameeyes Exp $ + +*eventmachine-0.12.10-r2 (19 Apr 2010) + + 19 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +eventmachine-0.12.10-r2.ebuild: + Add OpenSSL to dependencies, use a trick yo build in parallel, install + examples unconditionally, document why jruby is not listed. *eventmachine-0.12.10-r1 (27 Dec 2009) diff --git a/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild b/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild new file mode 100644 index 000000000000..3a29d143f62a --- /dev/null +++ b/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI="2" +# jruby → has shims for Java handling but tests fail badly, remaining +# stuck; avoid that for now. +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="docs/ChangeLog README" + +inherit ruby-fakegem + +DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby programs." +HOMEPAGE="http://rubyeventmachine.com" + +LICENSE="|| ( GPL-2 Ruby )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend 'dev-ruby/rake' + +DEPEND="${DEPEND} + dev-libs/openssl" +RDEPEND="${RDEPEND} + dev-libs/openssl" + +all_ruby_prepare() { + # This test only works on BSD, and error handling fails on 1.8 + rm tests/test_process_watch.rb || die "rm failed" + + cat - > "${T}"/submake <<EOF +#!/bin/sh + +myrealmake=${MAKE} +MAKE=\$myrealmake emake "\$@" + +EOF + chmod +x "${T}"/submake || die +} + +each_ruby_compile() { + MAKE="${T}"/submake ${RUBY} -S rake build || die "rake build failed" +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/ + doins -r examples || die "Failed to install examples" +} |