2019-11-20 07:38:07 +01:00
|
|
|
# Template file for 'fonttools'
|
|
|
|
pkgname=fonttools
|
2019-12-18 05:03:15 +01:00
|
|
|
version=4.2.2
|
|
|
|
revision=1
|
2019-11-20 07:38:07 +01:00
|
|
|
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"
|
2019-12-18 05:03:15 +01:00
|
|
|
checksum=393a579cc1e2e666882949fcdf06e88a57a48a1daafa057eff602ac01cd016c2
|
2019-11-20 07:38:07 +01:00
|
|
|
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() {
|
2019-12-16 07:43:48 +01:00
|
|
|
depends="fonttools>=${version}_${revision}"
|
2019-11-20 07:38:07 +01:00
|
|
|
build_style=meta
|
|
|
|
short_desc+=" (transitional dummy package Python 2)"
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-fonttools_package() {
|
2019-12-16 07:43:48 +01:00
|
|
|
depends="fonttools>=${version}_${revision}"
|
2019-11-20 07:38:07 +01:00
|
|
|
build_style=meta
|
|
|
|
short_desc+=" (transitional dummy package Python 3)"
|
|
|
|
}
|