mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
dev-python/fonttools: Bump to 4.63.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST fonttools-4.62.1.gh.tar.gz 4012183 BLAKE2B a0ce63a4ee0a77ec52b00da7b2772f0e4916a41c58c9ce9eaa43c1120cace352ed244219dd0f9657ae7142c4a9c4d25d9c42746e941896ab10223c023820d9ae SHA512 6cd85502ea215c8d76918f82a633eae5e8961ad529f137e1064ab321c75167d86764198e9ae7bcdcbe6aed07ea6353a8e8ce318df58193afd2564a6f1d849b49
|
||||
DIST fonttools-4.63.0.gh.tar.gz 4031830 BLAKE2B 8cdb1d9018a44898fd792ee538c88443ecda34d7c896d280578d96b80c2f80064ad057b1e4bcb4a865dd706eb3605e86768eb141317fdcf5947a99fc873a7421 SHA512 a2d8df4fd11f36c45e838953d6c8bf1e25999382422d5fc3fe3418c985c06f30b52073f738278cb2a7b19da6e227e5ae709f016661a17e7ae96023b7a762365e
|
||||
|
||||
@@ -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=( 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}]
|
||||
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}"
|
||||
}
|
||||
Reference in New Issue
Block a user