dev-ruby/kramdown-syntax-coderay: import 1.0.1

New test dependency for www-apps/jekyll

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2020-06-19 15:09:38 +02:00
parent 731d7f35b3
commit f0372fd601
3 changed files with 30 additions and 0 deletions
@@ -0,0 +1,21 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26"
inherit ruby-fakegem
DESCRIPTION="Uses coderay to highlight code blocks/spans"
HOMEPAGE="https://github.com/kramdown/syntax-coderay"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="$(ver_cut 1)"
IUSE="doc"
ruby_add_rdepend ">=dev-ruby/coderay-1.1:0 dev-ruby/kramdown:2"
each_ruby_test() {
${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
}