blob: c7b894215ec9356a887ccad1ec34fb5d5c8511d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/adhearsion/adhearsion-1.2.5.ebuild,v 1.1 2012/05/09 06:27:58 graaff Exp $
EAPI=4
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_TEST="spec"
RUBY_FAKEGEM_TASK_DOC="yard"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG EVENTS README.markdown"
inherit ruby-fakegem
DESCRIPTION="'Adhesion you can hear' for integrating VoIP"
HOMEPAGE="http://adhearsion.com"
IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc64 ~x86"
SRC_URI="https://github.com/adhearsion/adhearsion/tarball/v${PV} -> ${P}.tgz"
RUBY_S="adhearsion-adhearsion-*"
ruby_add_bdepend "doc? ( dev-ruby/yard )"
ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.4.0:2 dev-ruby/flexmock )"
ruby_add_rdepend "
>=dev-ruby/activesupport-2.1.0
dev-ruby/i18n
>=dev-ruby/log4r-1.0.5
>=dev-ruby/bundler-1.0.10
dev-ruby/json
dev-ruby/thor
dev-ruby/pry
dev-ruby/rake"
all_ruby_prepare() {
rm Gemfile || die
sed -i -e '/reporter/ s:^:#:' Rakefile
}
each_ruby_test() {
SKIP_RCOV=true ${RUBY} -S rspec spec || die
}
all_ruby_install() {
all_fakegem_install
insinto /usr/share/doc/${PF}
doins -r examples || die
}
|