summaryrefslogtreecommitdiff
blob: f7da6dd57f5ab6b95a0c9c3e36784ee9c1fd0633 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/travis-yaml/travis-yaml-0.1.0.ebuild,v 1.1 2014/06/30 17:00:33 mrueg Exp $

EAPI=5
USE_RUBY="ruby19 ruby20"

RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_TASK_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md"

inherit ruby-fakegem

DESCRIPTION="Parses and validates your .travis.yml, fast and secure"
HOMEPAGE="https://github.com/travis-ci/travis-yaml"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

ruby_add_rdepend "dev-ruby/psych"

all_ruby_prepare() {
	sed -i -e "/bundler/d" -e "/coverage/d" spec/support.rb || die
	sed -i -e "1igem \"psych\"" -e "2irequire \"psych\"" spec/support/environment.rb || die
}