commit: fdd51c030be26c98213c7289940f885fb2a3ae0f Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Jun 19 13:04:48 2020 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Fri Jun 19 13:09:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdd51c03
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 <AT> gentoo.org> www-apps/jekyll-sass-converter/Manifest | 1 + .../jekyll-sass-converter-2.1.0.ebuild | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/www-apps/jekyll-sass-converter/Manifest b/www-apps/jekyll-sass-converter/Manifest index 6a1e3169dd8..f19674eef71 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 00000000000..dd31e706140 --- /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 +}