mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/fonttools: Bump to 4.59.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST fonttools-4.58.4.gh.tar.gz 3964173 BLAKE2B a4813bb4bb2929c0e3f95389fd2da572
|
||||
DIST fonttools-4.58.5.gh.tar.gz 3964953 BLAKE2B 55604a10796af825a71e0937032285d4a03c061408474f3af3172aea9155fbccafd314282ca357e539e24f32235927adbbe4e3e1b62c2d6a4a50c2492924a802 SHA512 02a5796b6041561c9f6b7f5a27a5b8de926f5243288ce28f98ec175d890e011427e3be1e0d1a2f259e556225ef0d6f24c7fc5ee03983692beb5486120fb8acc5
|
||||
DIST fonttools-4.59.0.gh.tar.gz 3973909 BLAKE2B 7b53b12b37be67cb764bfe2a0bcc7af85650431277678e63976d2a1d82a9386c6d1fa07485307fa114b0067c170998c31713cbe67a88b4ddab380d308570ff41 SHA512 552c7ebb5d8d6ce8cc37d2d20a52a213a5ccf52d532c166ad07182e3a2e5f5ac82b3ab9b45787fd1e7cfc3b588568507a006fd1b0b763402064b89ae71a86e91
|
||||
DIST fonttools-4.59.1.gh.tar.gz 3975993 BLAKE2B 7e56e6e72e74318466b7ee673e4a9d057072413b1f2e68ae01708fa3bf2bec8c0972389e22629cc1705a7e141e7480df2203f4ab51dbc5dbc8d644924e7cf30b SHA512 834a8df4c30d75d9028ef799fa5eae5de97fce8fd3723997a537d90a4f4e4bcbd5a6f5bf62aecb902b8f547fa211bf8a401d7c77602d9ec504ecf46f5db8c749
|
||||
DIST fonttools-4.59.2.gh.tar.gz 3982477 BLAKE2B e0c5747efed1d8d402ccfe0f603ce9ba4360355193a4968ad2e8e58e7b5155bde890f5db573dd7c3ec449701311f22d51a97213dd560cc4cf7b694f0ab715d1d SHA512 34a36048680e2494f49a0fd5b94352face4cd5727e8748cbfccb6ec71f44d69d155bba43de7b9244d91723c762101216f4b057e4f64a577197f79c1db269eaff
|
||||
|
||||
68
dev-python/fonttools/fonttools-4.59.2.ebuild
Normal file
68
dev-python/fonttools/fonttools-4.59.2.ebuild
Normal 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}"
|
||||
}
|
||||
Reference in New Issue
Block a user