blob: f8fb426949fdb3dbb5363c23ce36e543d499bbfc (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby27 ruby30 ruby31"
RUBY_FAKEGEM_NAME="scss_lint"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRAINSTALL="data config"
inherit ruby-fakegem
DESCRIPTION="Configurable tool for writing clean and consistent SCSS"
HOMEPAGE="https://github.com/causes/scss-lint"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""
ruby_add_rdepend "
>=dev-ruby/sass-3.5.5:* =dev-ruby/sass-3*:*
"
all_ruby_prepare() {
# Skip tests that fail on legacy exist? method
rm -f spec/scss_lint/plugins/linter_gem_spec.rb || die
sed -i -e '/simplecov/ s:^:#:' \
-e '1igem "sass", ">= 3.5"' spec/spec_helper.rb || die
}
|