dev-python/fonttools: Bump to 4.60.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-30 06:44:21 +02:00
parent a5fd2b9b51
commit d682e1493b
2 changed files with 69 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST fonttools-4.59.0.gh.tar.gz 3973909 BLAKE2B 7b53b12b37be67cb764bfe2a0bcc7af85650431277678e63976d2a1d82a9386c6d1fa07485307fa114b0067c170998c31713cbe67a88b4ddab380d308570ff41 SHA512 552c7ebb5d8d6ce8cc37d2d20a52a213a5ccf52d532c166ad07182e3a2e5f5ac82b3ab9b45787fd1e7cfc3b588568507a006fd1b0b763402064b89ae71a86e91
DIST fonttools-4.59.2.gh.tar.gz 3982477 BLAKE2B e0c5747efed1d8d402ccfe0f603ce9ba4360355193a4968ad2e8e58e7b5155bde890f5db573dd7c3ec449701311f22d51a97213dd560cc4cf7b694f0ab715d1d SHA512 34a36048680e2494f49a0fd5b94352face4cd5727e8748cbfccb6ec71f44d69d155bba43de7b9244d91723c762101216f4b057e4f64a577197f79c1db269eaff
DIST fonttools-4.60.0.gh.tar.gz 3990380 BLAKE2B f42611c4270e4b9407a4f8750f9ef2492ca9e9560ca2cdbb1a2cee5800ad799fed52de80dd7c17a4722bb9cf62265c33d5483f0f7376ca2ba54f700336295900 SHA512 9c692a6b4a349a2b37ab74d5e2ceef66d561eebb0cb30c2feb29eecc29bfd9430821ed5587b8f6d204e02c0d33f59540cc47a02d9bc40c2d0916d7c4934ed8ee
DIST fonttools-4.60.1.gh.tar.gz 3997441 BLAKE2B 44d5e9e2eacc70b09782ee82c654c6dabdcfce6d1d32eb3e9c03bb466d6056b885cc50f615d9ad5909a7c201f0b461ea89c77c468da02e7879bb0e876e3d149e SHA512 50e887f7cfa3a35ba5ca606fe0ce4766185272804bbd05e880cc47b0b73b4af865d902e5a34391bca1fed45275bd1b7922c0bb2b1c6685b9a2aa7026ae70d104

View File

@@ -0,0 +1,68 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
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}]
$(python_gen_cond_dep '
>=dev-python/fs-2.4.9[${PYTHON_USEDEP}]
' 3.11 3.12 3.13)
dev-python/munkres[${PYTHON_USEDEP}]
app-arch/zopfli
)
"
EPYTEST_PLUGINS=( pytest-rerunfailures )
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() {
local EPYTEST_DESELECT=(
# flaky test
Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables
)
# nonfatal for virtx
nonfatal epytest --reruns=5 Tests fontTools ||
die -n "Tests failed with ${EPYTHON}"
}