You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
508 B
22 lines
508 B
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
USE_RUBY="ruby27 ruby30 ruby31"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="Uses coderay to highlight code blocks/spans"
|
|
HOMEPAGE="https://github.com/kramdown/syntax-coderay"
|
|
LICENSE="MIT"
|
|
|
|
KEYWORDS="~amd64 ~arm64"
|
|
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
|
|
}
|