32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'fonttools'
|
|
pkgname=fonttools
|
|
version=4.47.0
|
|
revision=1
|
|
build_style=python3-module
|
|
make_check_args="--deselect Tests/otlLib/optimize_test.py::test_main
|
|
--deselect Tests/ttx/ttx_test.py::test_ttcompile_timestamp_calcs
|
|
--ignore Tests/misc/plistlib_test.py --ignore Tests/pens --ignore Tests/ufoLib"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
checkdepends="python3-Brotli python3-pytest-xdist"
|
|
short_desc="Library to manipulate font files from Python"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT, OFL-1.1, BSD-3-Clause"
|
|
homepage="https://github.com/fonttools/fonttools"
|
|
changelog="https://raw.githubusercontent.com/fonttools/fonttools/main/NEWS.rst"
|
|
distfiles="https://github.com/fonttools/fonttools/archive/refs/tags/${version}.tar.gz"
|
|
checksum=a0d7c2f90b533cba85cd2a4d7a0baa25c11badce3a8ac001d9540ae9b526eaf8
|
|
replaces="python-fonttools>=0 python3-fonttools>=0"
|
|
provides="python-fonttools-${version}_${revision} python3-fonttools-${version}_${revision}"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vlicense LICENSE.external
|
|
}
|
|
|
|
python3-fonttools_package() {
|
|
depends="fonttools>=${version}_${revision}"
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
}
|