gentoo-ebuilds/dev-ruby/kramdown-syntax-coderay/kramdown-syntax-coderay-1.0.1-r1.ebuild
Hans de Graaff a38252851e
dev-ruby/kramdown-syntax-coderay: enable ruby34
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2025-04-30 13:41:56 +02:00

22 lines
516 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
inherit ruby-fakegem
DESCRIPTION="Uses coderay to highlight code blocks/spans"
HOMEPAGE="https://github.com/kramdown/syntax-coderay"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~arm64"
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
}