dev-python/fonttools: Bump to 4.65.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-09-11 06:32:58 +02:00
parent 501a05265e
commit a08c61f760
2 changed files with 63 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST fonttools-4.63.0.gh.tar.gz 4031830 BLAKE2B 8cdb1d9018a44898fd792ee538c88443ecda34d7c896d280578d96b80c2f80064ad057b1e4bcb4a865dd706eb3605e86768eb141317fdcf5947a99fc873a7421 SHA512 a2d8df4fd11f36c45e838953d6c8bf1e25999382422d5fc3fe3418c985c06f30b52073f738278cb2a7b19da6e227e5ae709f016661a17e7ae96023b7a762365e
DIST fonttools-4.64.0.gh.tar.gz 4106541 BLAKE2B 5bdddac2b811e47567948a48bef0de7c74510b3334bf0710d08986c41f2c9b4d41a16fbc2266ed55923197602b2ecc8525ed0ebfd4636518eb64ee13db4fee9b SHA512 1cf3d8ab10931e6eca3f54e2d365a946413d90e2a8fe0405252db14a51e2908c109c6a65f7b0fb5fabaeb0e30eb27b5b737bf2d1b75a3137806bc88f140a0faa
DIST fonttools-4.65.0.gh.tar.gz 4113728 BLAKE2B a8315b819ae12417b6757956d237fa9fffb4a2e75dc893c00be0dafe529880e161070f9496594b3414a0ef0932fe84092d1910ca2f292acc6cf9f1ba07506347 SHA512 b6066e438e5237ff18e9b44343d3533ccd4468ac4e685b066a1f5da035161c082468c025ff79832eec534e29a8bbac7cc558301b13abdb763c61f91d0ceecafa

View File

@@ -0,0 +1,62 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )
PYTHON_REQ_USE="xml(+)"
inherit distutils-r1 virtualx
DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts"
HOMEPAGE="
https://github.com/fonttools/fonttools/
https://pypi.org/project/fonttools/
"
SRC_URI="
https://github.com/fonttools/fonttools/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="+native-extensions"
BDEPEND="
native-extensions? (
$(python_gen_cond_dep '
dev-python/cython[${PYTHON_USEDEP}]
' 'python*')
)
test? (
dev-python/brotlicffi[${PYTHON_USEDEP}]
dev-python/munkres[${PYTHON_USEDEP}]
app-arch/zopfli
)
"
EPYTEST_PLUGINS=( pytest-rerunfailures )
# woff2 tests are extremely flaky
EPYTEST_RERUNS=20
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_compile() {
local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions)
[[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0
distutils-r1_python_compile
}
src_test() {
# virtualx used when matplotlib is installed causing plot module tests to run
virtx distutils-r1_src_test
}
python_test() {
# nonfatal for virtx
nonfatal epytest Tests fontTools ||
die -n "Tests failed with ${EPYTHON}"
}