blob: 13a97018bd8e42121ae88c43c7da2530d37d1d56 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-beautify/ruby-beautify-0.92.2.ebuild,v 1.1 2014/08/16 07:00:14 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
inherit ruby-fakegem
DESCRIPTION="a cli tool (and module) to beautify ruby code"
HOMEPAGE="https://github.com/erniebrodeur/ruby-beautify"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""
all_ruby_prepare() {
# Avoid failing tests for now. We are adding this for
# dev-ruby/gherkin and they seem happy with it.
# https://github.com/erniebrodeur/ruby-beautify/issues/2
sed -e '/not change the indentation of multiline string/,/^$/ s:^:#:' \
-e '/not indent multineline comment/,/^$/ s:^:#:' \
-i spec/fixtures/ruby.yml || die
}
|