mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ruby/kramdown: cleanup
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST kramdown-1.13.2.gem 249856 BLAKE2B 33aacadc09a1f720cf9876690647d2005272c571e861f9f69852e7bbfaa2cbd36802def1f732e9762e9c5c417f85a4eaa63d72a70e37cd9a6b6dd6bed5a099e0 SHA512 dd2194184a7761bc490535a9d5631b78441b83f040e37dafc25b956dd680fe398d19ae75aff06dc2ec6a7573ac198169e175ef78a95743f0f7b4874bf28cebf8
|
||||
DIST kramdown-1.14.0.gem 250368 BLAKE2B 78d3638ec58a5c237a9350cad1edabf2d4fa0307013a0ced18f6835c4a8cdd623e4825b06670d5c588147013b191912f93e51e74ab1fe007761c117334f378aa SHA512 bd6295db2fe0d3a7dca936d47f0aaf7f939a86361dfdd3203a52683a9eb11a68075cad7d068cc56a315db3c14e73cf5aebb87531ba3086301a7521c5a86f9905
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition"
|
||||
HOMEPAGE="https://kramdown.gettalong.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE="latex"
|
||||
|
||||
LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
|
||||
RDEPEND+=" ${LATEX_DEPS}"
|
||||
DEPEND+=" test? ( ${LATEX_DEPS} app-text/htmltidy )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/prawn:2
|
||||
>=dev-ruby/prawn-table-0.2.2 =dev-ruby/prawn-table-0.2*
|
||||
>=dev-ruby/rouge-1.8:0
|
||||
>=dev-ruby/itextomml-1.5
|
||||
>=dev-ruby/coderay-1.0.0
|
||||
>=dev-ruby/ritex-1.0
|
||||
>=dev-ruby/stringex-1.5.1"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
|
||||
test? ( >=dev-ruby/minitest-5.0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
if ! use latex; then
|
||||
# Remove latex tests. They will fail gracefully when latex isn't
|
||||
# present at all, but not when components are missing (most
|
||||
# notable ucs.sty).
|
||||
sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die
|
||||
fi
|
||||
|
||||
# Avoid tests requiring node to be installed with mathjaxnode.
|
||||
rm -f test/testcases/span/math/mathjaxnode* \
|
||||
test/testcases/block/15_math/mathjaxnode* || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/man1/kramdown.1
|
||||
}
|
||||
Reference in New Issue
Block a user