Diff fontconfig-2.18.1 with a fontconfig-2.18.2

/usr/portage/media-libs/fontconfig/fontconfig-2.18.2.ebuild 2026-07-28 20:03:04.108450650 +0300
16 16
LICENSE="MIT"
17 17
SLOT="1.0"
18 18
if ! [[ $(ver_cut 3) -ge 90 ]] ; then
19
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
19
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
20 20
fi
21 21
IUSE="doc nls test"
22 22
RESTRICT="!test? ( test )"
......
56 56
		app-text/docbook-sgml-utils[jadetex]
57 57
	)
58 58
	nls? ( >=sys-devel/gettext-0.19.8 )
59
	test? (
60
		$(python_gen_any_dep '
61
			dev-python/pytest-tap[${PYTHON_USEDEP}]
62
		')
63
	)
59 64
"
60 65
PDEPEND="virtual/ttf-fonts"
61 66
# We need app-eselect/eselect-fontconfig in IDEPEND to update ROOT
......
65 70
PATCHES=(
66 71
	# bug #130466 + make liberation default
67 72
	"${FILESDIR}"/${PN}-2.14.0-latin-update.patch
68
	# Avoid network access and unpackaged pytest-tap
69
	"${FILESDIR}"/${PN}-2.18.1-network-test.patch
70 73
	# Fix build failure with -ggdb3
71 74
	"${FILESDIR}"/${PN}-2.17.0-macro-preprocess.patch
72 75

  
......
78 81
overwritten. If you need to reset your configuration to upstream defaults,
79 82
delete the directory ${EROOT}/etc/fonts/conf.d/ and re-emerge fontconfig."
80 83

  
84
python_check_deps() {
85
	use test || return 0
86

  
87
	python_has_version "dev-python/pytest-tap[${PYTHON_USEDEP}]"
88
}
89

  
81 90
src_prepare() {
82 91
	default
83 92

  
......
129 138
		$(meson_native_use_feature nls)
130 139
		$(meson_feature test tests)
131 140
		-Dtests-bwrap=disabled
141
		-Dtests-external-fonts=disabled
132 142

  
133 143
		-Dcache-build=disabled
134 144
		-Dcache-dir="${EPREFIX}"/var/cache/fontconfig
Thank you!