void-packages/srcpkgs/fonttools/template
2020-03-15 01:10:04 +00:00

33 lines
1 KiB
Bash

# Template file for 'fonttools'
pkgname=fonttools
version=4.4.3
revision=1
archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
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=89606497418a71ed1db6ca50c43b805ce14225bc1c7a821924a7d3fb2906639d
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)"
}