summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-05-20 12:35:22 +0200
committerHans de Graaff <graaff@gentoo.org>2022-05-20 12:36:34 +0200
commitc088c70a79a3d842633908e8dfdc25224314cb5c (patch)
tree57526996414a9b8dd3b0a493cb148ff585cabd19 /www-apps
parentwww-apps/jekyll: add 4.2.2 (diff)
downloadgentoo-c088c70a79a3d842633908e8dfdc25224314cb5c.tar.gz
gentoo-c088c70a79a3d842633908e8dfdc25224314cb5c.tar.bz2
gentoo-c088c70a79a3d842633908e8dfdc25224314cb5c.zip
www-apps/jekyll-sass-converter: add 2.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/jekyll-sass-converter/Manifest1
-rw-r--r--www-apps/jekyll-sass-converter/jekyll-sass-converter-2.2.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/www-apps/jekyll-sass-converter/Manifest b/www-apps/jekyll-sass-converter/Manifest
index 3913ab5d0a4d..45e1f750ca36 100644
--- a/www-apps/jekyll-sass-converter/Manifest
+++ b/www-apps/jekyll-sass-converter/Manifest
@@ -1 +1,2 @@
DIST jekyll-sass-converter-2.1.0.tar.gz 13136 BLAKE2B 9a0a477004a1967a51f894f9bdb99f5c311cbfedfa2b1f0ba1aa7756c8550099361d24347bd3ba8d61fdc5c6c0058cc06be0c87145bb52e67fb65348112f5937 SHA512 336420ee5cf099af94c6f6d9a1cf5bae971f4720f625040f722f502acf05b94e17fdfaac4ccab8b1e58768b653df6c4640dfc835a6425a56a41ddfe709e7009d
+DIST jekyll-sass-converter-2.2.0.tar.gz 16359 BLAKE2B ed242d053c0c474bee9b86ca4987cb1348b3596c4c41415c229b454bc4aabf46c25c19ed69c4a206298bccde012935f10ec292d421c6506f22fa19fdd943d1ee SHA512 2704defb5ded854afb3620e876045e222e3f4bf03344f9a060fcfc0b1f2e6bebfef776aff69e592ba8484516060d4c5a75499fc343fcab5f9c96cc2f6658f344
diff --git a/www-apps/jekyll-sass-converter/jekyll-sass-converter-2.2.0.ebuild b/www-apps/jekyll-sass-converter/jekyll-sass-converter-2.2.0.ebuild
new file mode 100644
index 000000000000..220685d20eb3
--- /dev/null
+++ b/www-apps/jekyll-sass-converter/jekyll-sass-converter-2.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md History.markdown"
+
+RUBY_FAKEGEM_GEMSPEC="jekyll-sass-converter.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A basic Sass converter for Jekyll"
+HOMEPAGE="https://github.com/jekyll/jekyll-sass-converter"
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/sassc-2.0.1:2"
+ruby_add_bdepend "test? ( >=www-apps/jekyll-2 )"
+
+all_ruby_prepare() {
+ sed -e 's/git ls-files -z/find * -type f -print0/' \
+ -e 's:_relative ": "./:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -i -e "1irequire 'tmpdir'" spec/scss_converter_spec.rb || die
+
+ # Avoid specs that require the minima theme
+ sed -i -e '/with valid sass paths in a theme/,/^ end/ s:^:#:' spec/scss_converter_spec.rb || die
+}