diff options
-rw-r--r-- | dev-ruby/eventmachine/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/eventmachine/eventmachine-0.12.10-r1.ebuild | 39 |
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-ruby/eventmachine/ChangeLog b/dev-ruby/eventmachine/ChangeLog index c3a4b4fe67f5..6c2975d1d1e0 100644 --- a/dev-ruby/eventmachine/ChangeLog +++ b/dev-ruby/eventmachine/ChangeLog @@ -1,6 +1,12 @@ # 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.8 2009/12/09 19:09:53 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.9 2009/12/27 19:49:50 a3li Exp $ + +*eventmachine-0.12.10-r1 (27 Dec 2009) + + 27 Dec 2009; Alex Legler <a3li@gentoo.org> + +eventmachine-0.12.10-r1.ebuild: + Revision bump, migration to -fakegem, license update, description update 09 Dec 2009; Hans de Graaff <graaff@gentoo.org> -eventmachine-0.12.8.ebuild: diff --git a/dev-ruby/eventmachine/eventmachine-0.12.10-r1.ebuild b/dev-ruby/eventmachine/eventmachine-0.12.10-r1.ebuild new file mode 100644 index 000000000000..fa65133f7a38 --- /dev/null +++ b/dev-ruby/eventmachine/eventmachine-0.12.10-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 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-r1.ebuild,v 1.1 2009/12/27 19:49:50 a3li Exp $ + +EAPI="2" +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="examples" + +ruby_add_bdepend 'dev-ruby/rake' + +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" +} + +each_ruby_compile() { + ${RUBY} /usr/bin/rake build || die "rake build failed" +} + +all_ruby_install() { + all_fakegem_install + + use examples || return + + insinto /usr/share/doc/${PF}/ + doins -r examples || die "Failed to install examples" +} |