summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2023-03-22 08:38:59 +0100
committerHans de Graaff <hans@degraaff.org>2023-03-22 08:38:59 +0100
commit131185269f957e8776c74bef7add1b4040cfdaa8 (patch)
treed3d8bde865469c265ffa37cdb46388c0625be15b /dev-util
parentdev-ruby/erb_lint: add github upstream metadata (diff)
downloadgraaff-131185269f957e8776c74bef7add1b4040cfdaa8.tar.gz
graaff-131185269f957e8776c74bef7add1b4040cfdaa8.tar.bz2
graaff-131185269f957e8776c74bef7add1b4040cfdaa8.zip
dev-util/scss-lint: add 0.60.0
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/scss-lint/Manifest1
-rw-r--r--dev-util/scss-lint/scss-lint-0.60.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-util/scss-lint/Manifest b/dev-util/scss-lint/Manifest
index 62209c7e..eef4274f 100644
--- a/dev-util/scss-lint/Manifest
+++ b/dev-util/scss-lint/Manifest
@@ -1 +1,2 @@
DIST scss_lint-0.59.0.gem 112128 BLAKE2B ecf59ac9685aeb858530aad22fb034377cdc0279cb163652bf9ad3c294bb486a8bf852bb5005fbc7b5ce79f71cd908e2e1e5adc5e7bd050150c98ee9885e2ac3 SHA512 e8c11d9a0dca30d94ca38e3f5a432378f20effb65dda624d43a60d01983d4aabd4815684a870af40a92022f225d9816a3c45b22403eb37597ce9a33f80868381
+DIST scss_lint-0.60.0.gem 112640 BLAKE2B e96e5d16c33143ff290555adbadc435f7301ee05d72fbbf13c9480f2ac572db6ec70b4d91c1e58f9a379b1240a35b1aa29ec11a879ca319162b2bdd2e6cbd4ab SHA512 b6fec2dbb71fff4ad7388f022fd60bb3e3430889f408606134f1b46285c26d019f3db426068204f3f625502906c90e5a80b9c00020cb65ecf7bd872fb81c3e2e
diff --git a/dev-util/scss-lint/scss-lint-0.60.0.ebuild b/dev-util/scss-lint/scss-lint-0.60.0.ebuild
new file mode 100644
index 00000000..f8fb4269
--- /dev/null
+++ b/dev-util/scss-lint/scss-lint-0.60.0.ebuild
@@ -0,0 +1,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
+}