New package: python-fonttools-3.43.1

This commit is contained in:
svenper 2019-06-30 17:51:23 +02:00 committed by Jürgen Buchmüller
parent 4e3af60137
commit d80082086a
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
# Template file for 'python-fonttools'
pkgname=python-fonttools
version=3.43.1
revision=1
wrksrc="${pkgname#python-}-${version}"
build_style=python-module
pycompile_module="fonttools"
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
makedepends="${hostmakedepends}"
short_desc="Library to manipulate font files from Python2"
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=12b05c56ac60fe15b2fce6958df1408e054a403270ddfc05d3a096afe73d9419
post_install() {
vlicense LICENSE
vlicense LICENSE.external
}
python3-fonttools_package() {
pycompile_module="fonttools"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
vmove "usr/bin/*3"
vlicense LICENSE
vlicense LICENSE.external
}
}

1
srcpkgs/python3-fonttools Symbolic link
View file

@ -0,0 +1 @@
python-fonttools