Diff kramdown-2.4.0-r1 with a kramdown-2.5.2

/usr/portage/dev-ruby/kramdown/kramdown-2.5.2.ebuild 2026-11-03 20:01:06.007028112 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
USE_RUBY="ruby31 ruby32 ruby33"
5

  
6
USE_RUBY="ruby32 ruby33 ruby34"
6 7

  
7 8
RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS"
8 9

  
......
16 17
LICENSE="MIT"
17 18

  
18 19
SLOT="$(ver_cut 1)"
19
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos"
20
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos"
20 21
IUSE="latex unicode"
21 22

  
22 23
LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
23
RDEPEND+=" ${LATEX_DEPS}"
24
DEPEND+=" test? (
24
RDEPEND="${LATEX_DEPS}"
25
DEPEND="test? (
25 26
	${LATEX_DEPS}
26 27
	>=app-text/htmltidy-5.0.0
27 28
)"
28 29

  
29 30
ruby_add_rdepend "
30
	dev-ruby/rexml
31
	>=dev-ruby/rexml-3.4.4
31 32
	>=dev-ruby/rouge-3.26.0:2
32 33
	unicode? ( >=dev-ruby/stringex-1.5.1 )
33
	!!<dev-ruby/kramdown-1.17.0-r2:0"
34
"
34 35

  
35 36
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
36 37
	test? ( >=dev-ruby/minitest-5.0 )"
37 38

  
38 39
all_ruby_prepare() {
39
	if ! use latex; then
40
	if use latex; then
41
		# https://github.com/gettalong/kramdown/issues/820
42
		sed -e "/EXCLUDE_LATEX_FILES =/a'test/testcases/block/14_table/table_with_footnote.text'," \
43
			-i test/test_files.rb || die
44
	else
40 45
		# Remove latex tests. They will fail gracefully when latex isn't
41 46
		# present at all, but not when components are missing (most
42 47
		# notable ucs.sty).
Thank you!