void-packages/srcpkgs/fonttools/template

34 lines
1 KiB
Bash
Raw Normal View History

2019-11-20 06:38:07 +00:00
# Template file for 'fonttools'
pkgname=fonttools
2020-04-06 12:10:07 +00:00
version=4.7.0
2020-01-23 13:14:45 +00:00
revision=1
2019-11-20 06:38:07 +00:00
archs=noarch
build_style=python3-module
2020-02-08 14:12:10 +00:00
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
2019-11-20 06:38:07 +00:00
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"
2020-04-06 12:10:07 +00:00
checksum=8f9b1e55e3883df87e02d3dd0ef7e596331006caf9c77d9881ff346555b71790
2019-11-20 06:38:07 +00:00
replaces="python-fonttools>=0 python3-fonttools>=0"
2019-12-20 21:08:49 +00:00
provides="python-fonttools-${version}_${revision} python3-fonttools-${version}_${revision}"
2019-11-20 06:38:07 +00:00
post_install() {
vlicense LICENSE
vlicense LICENSE.external
}
python-fonttools_package() {
2019-12-16 06:43:48 +00:00
depends="fonttools>=${version}_${revision}"
2019-11-20 06:38:07 +00:00
build_style=meta
short_desc+=" (transitional dummy package Python 2)"
}
python3-fonttools_package() {
2019-12-16 06:43:48 +00:00
depends="fonttools>=${version}_${revision}"
2019-11-20 06:38:07 +00:00
build_style=meta
short_desc+=" (transitional dummy package Python 3)"
}