void-packages/srcpkgs/fonttools/template

29 lines
894 B
Bash

# Template file for 'fonttools'
pkgname=fonttools
version=4.28.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Library to manipulate font files from Python"
maintainer="svenper <svenper@tuta.io>"
license="MIT, OFL-1.1, BSD-3-Clause"
homepage="https://github.com/fonttools/fonttools"
distfiles="https://github.com/fonttools/fonttools/archive/${version}.tar.gz"
checksum=972be7e3d573cfda4880cd4534ba7695d6c3c4186aab22cee50d3863e25fb4c9
replaces="python-fonttools>=0 python3-fonttools>=0"
provides="python-fonttools-${version}_${revision} python3-fonttools-${version}_${revision}"
# Tests have unpackaged dependencies
make_check=no
post_install() {
vlicense LICENSE
vlicense LICENSE.external
}
python3-fonttools_package() {
depends="fonttools>=${version}_${revision}"
build_style=meta
short_desc+=" (transitional dummy package)"
}