| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/evented-spec/evented-spec-0.9.0.ebuild,v 1.1 2012/07/28 18:24:01 graaff Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
USE_RUBY="ruby18 ruby19 ree18 jruby" |
| 7 |
|
| 8 |
RUBY_FAKEGEM_TASK_DOC="" |
| 9 |
RUBY_FAKEGEM_EXTRADOC="README.textile" |
| 10 |
|
| 11 |
RUBY_FAKEGEM_RECIPE_TEST="rspec" |
| 12 |
|
| 13 |
inherit versionator ruby-fakegem |
| 14 |
|
| 15 |
DESCRIPTION="A set of helpers to help you test your asynchronous code." |
| 16 |
HOMEPAGE="https://github.com/ruby-amqp/evented-spec" |
| 17 |
|
| 18 |
LICENSE="MIT" |
| 19 |
SLOT="0" |
| 20 |
KEYWORDS="~amd64 ~x86" |
| 21 |
IUSE="test" |
| 22 |
|
| 23 |
# Tests require a running AMQP server and AMQP installed. Since |
| 24 |
# currently AMQP is the only package using evented-spec we just skip the |
| 25 |
# tests here altogether to avoid circular dependencies. |
| 26 |
RESTRICT="test" |
| 27 |
|
| 28 |
all_ruby_prepare() { |
| 29 |
sed -i -e '/[Bb]undler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die |
| 30 |
} |