python-fonttools: branch off python3 package

This commit is contained in:
svenper 2019-08-24 15:21:21 +02:00 committed by Helmut Pozimski
parent 4b280e7f01
commit f1c7429a6f
2 changed files with 3 additions and 15 deletions

View file

@ -1,11 +1,11 @@
# Template file for 'python-fonttools' # Template file for 'python-fonttools'
pkgname=python-fonttools pkgname=python-fonttools
version=3.44.0 version=3.44.0
revision=1 revision=2
wrksrc="${pkgname#python-}-${version}" wrksrc="${pkgname#python-}-${version}"
build_style=python-module build_style=python2-module
pycompile_module="fonttools" pycompile_module="fonttools"
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" hostmakedepends="python-devel python-setuptools"
makedepends="${hostmakedepends}" makedepends="${hostmakedepends}"
short_desc="Library to manipulate font files from Python2" short_desc="Library to manipulate font files from Python2"
maintainer="svenper <svenper@tuta.io>" maintainer="svenper <svenper@tuta.io>"
@ -18,14 +18,3 @@ post_install() {
vlicense LICENSE vlicense LICENSE
vlicense LICENSE.external 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
}
}

View file

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