Info2: << Package: ttfquery-py%type_pkg[python] Version: 1.0.5 Revision: 2 Type: python (2.7) Description: Retrieve data about TTF font files DescDetail: << TTFQuery builds on the FontTools package to allow the Python programmer to accomplish a number of tasks: - query the system to find installed fonts - retrieve metadata about any TTF font file (even those not yet installed) . abstract family type . proper font name . glyph outlines - build simple metadata registries for run-time font matching << DescPackaging: << Former maintainer: Martin Costabel << Maintainer: None License: BSD Homepage: http://ttfquery.sourceforge.net/ Source: https://files.pythonhosted.org/packages/source/t/ttfquery/TTFQuery-%v.tar.gz Source-Checksum: SHA256(d5b8d369903ee2754541819f27de8ea35486d124484e36a4869503d9a9ac7e4d) Depends: << python%type_pkg[python], fonttools-py%type_pkg[python], numpy-py%type_pkg[python] << BuildDepends: setuptools-tng-py%type_pkg[python] PatchScript: << perl -pi -e 's|\/usr\/bin\/env python|%p/bin/python%type_raw[python]|g' bin/{ttffamily,ttffiles,ttfgroups,ttfmetadata} << CompileScript: %p/bin/python%type_raw[python] setup.py build InstallScript: << #!/bin/sh -ev %p/bin/python%type_raw[python] setup.py install --root=%d mv %i/bin/ttffamily %i/bin/ttffamily-py%type_pkg[python] mv %i/bin/ttffiles %i/bin/ttffiles-py%type_pkg[python] mv %i/bin/ttfgroups %i/bin/ttfgroups-py%type_pkg[python] mv %i/bin/ttfmetadata %i/bin/ttfmetadata-py%type_pkg[python] << PostInstScript: << update-alternatives --install %p/bin/ttffamily ttffamily %p/bin/ttffamily-py%type_pkg[python] %type_pkg[python] \ --slave %p/bin/ttffiles ttffiles %p/bin/ttffiles-py%type_pkg[python] \ --slave %p/bin/ttfgroups ttfgroups %p/bin/ttfgroups-py%type_pkg[python] \ --slave %p/bin/ttfmetadata ttfmetadata %p/bin/ttfmetadata-py%type_pkg[python] << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove ttffamily %p/bin/ttffamily-py%type_pkg[python] fi << DocFiles: license.txt <<