python-fonttools: fix conflicts from python version branch-off

This commit is contained in:
svenper 2019-08-25 16:46:23 +02:00 committed by Helmut Pozimski
parent 70ca460b62
commit 1b819d4a62
1 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-fonttools'
pkgname=python-fonttools
version=3.44.0
revision=2
revision=3
wrksrc="${pkgname#python-}-${version}"
build_style=python2-module
pycompile_module="fonttools"
@ -13,8 +13,19 @@ 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=9dadbca88a5a841d821f6892fa9f4715ec03afd53980aaf4d61bd4be345b24ed
alternatives="
fonttools:fonttools:/usr/bin/fonttools2
fonttools:pyftmerge:/usr/bin/pyftmerge2
fonttools:pyftsubset:/usr/bin/pyftsubset2
fonttools:ttx:/usr/bin/ttx2
fonttools:ttx.1:/usr/share/man/man1/ttx2.1"
post_install() {
mv ${DESTDIR}/usr/bin/fonttools{,2}
mv ${DESTDIR}/usr/bin/pyftmerge{,2}
mv ${DESTDIR}/usr/bin/pyftsubset{,2}
mv ${DESTDIR}/usr/bin/ttx{,2}
mv ${DESTDIR}/usr/share/man/man1/ttx{,2}.1
vlicense LICENSE
vlicense LICENSE.external
}