summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-06-19 15:04:48 +0200
committerHans de Graaff <graaff@gentoo.org>2020-06-19 15:09:39 +0200
commitfdd51c030be26c98213c7289940f885fb2a3ae0f (patch)
treeb46c7d09ef40936a65ec82fe3bbb63fb4ae36ed9 /www-apps
parentwww-apps/jekyll: add 4.1.0 (diff)
downloadgentoo-fdd51c030be26c98213c7289940f885fb2a3ae0f.tar.gz
gentoo-fdd51c030be26c98213c7289940f885fb2a3ae0f.tar.bz2
gentoo-fdd51c030be26c98213c7289940f885fb2a3ae0f.zip
www-apps/jekyll-sass-converter: add 2.1.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22 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.1.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/www-apps/jekyll-sass-converter/Manifest b/www-apps/jekyll-sass-converter/Manifest
index 6a1e3169dd8f..f19674eef717 100644
--- a/www-apps/jekyll-sass-converter/Manifest
+++ b/www-apps/jekyll-sass-converter/Manifest
@@ -1 +1,2 @@
DIST jekyll-sass-converter-1.5.2.tar.gz 9004 BLAKE2B a5c0e9a3aa51e47efcc7af90682c3fdb5ab23ba8142768afb175c1edaf2edd4feb8a867aebc72d3c89cc39fe40ed1ec7d1334a473d6023c95478411178e33758 SHA512 370ac6bd150a51afc766e4eb065b55d8965e7c39070fd133ea5422db1c559d4bf84d59bd601a3565792fd90a99c32ea1ccb5ecbed0cc8e1a3a343e7923250cb2
+DIST jekyll-sass-converter-2.1.0.tar.gz 13136 BLAKE2B 9a0a477004a1967a51f894f9bdb99f5c311cbfedfa2b1f0ba1aa7756c8550099361d24347bd3ba8d61fdc5c6c0058cc06be0c87145bb52e67fb65348112f5937 SHA512 336420ee5cf099af94c6f6d9a1cf5bae971f4720f625040f722f502acf05b94e17fdfaac4ccab8b1e58768b653df6c4640dfc835a6425a56a41ddfe709e7009d
diff --git a/www-apps/jekyll-sass-converter/jekyll-sass-converter-2.1.0.ebuild b/www-apps/jekyll-sass-converter/jekyll-sass-converter-2.1.0.ebuild
new file mode 100644
index 000000000000..dd31e7061403
--- /dev/null
+++ b/www-apps/jekyll-sass-converter/jekyll-sass-converter-2.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26"
+
+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"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/sassc-2.0.1:2"
+ruby_add_bdepend "test? ( >=www-apps/jekyll-2 )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find -type f -print0/' ${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
+}