python/python-fonttools: Fix python3 support.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Andrew Clemons 2019-03-25 10:10:02 +13:00 committed by Willy Sudiarto Raharjo
parent 77cfd57a3a
commit 225b4e6b2c
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -74,7 +74,7 @@ python setup.py install --root=$PKG
# Python 3 support.
if $(python3 -c 'import sys' 2>/dev/null); then
BINARIES="fonttools pyftinspect pyftmerge pyftsubset ttx"
BINARIES="fonttools pyftmerge pyftsubset ttx"
# backup the python2 binaries
for f in $BINARIES ; do
mv "$PKG/usr/bin/$f"{,2}