void-packages/srcpkgs/fonttools/template
2019-12-16 18:20:34 +01:00

34 lines
1 KiB
Bash

# Template file for 'fonttools'
pkgname=fonttools
version=4.1.0
revision=3
archs=noarch
build_style=python3-module
pycompile_module="fonttools"
hostmakedepends="python3-devel 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=8c1919e11c3152446ec8de8283a6f43fffde6acdcab81b468d7fd6ad4b54e798
replaces="python-fonttools>=0 python3-fonttools>=0"
provides="python-fonttools>=${version}_${revision} python3-fonttools>=${version}_${revision}"
post_install() {
vlicense LICENSE
vlicense LICENSE.external
}
python-fonttools_package() {
depends="fonttools>=${version}_${revision}"
build_style=meta
short_desc+=" (transitional dummy package Python 2)"
}
python3-fonttools_package() {
depends="fonttools>=${version}_${revision}"
build_style=meta
short_desc+=" (transitional dummy package Python 3)"
}