summaryrefslogtreecommitdiffstats
blob: 41b430ef949a081167d37812b9b53fc76587c866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Package: fonttools
Version: 2.2
Revision: 0.1
HomePage: http://fonttools.sourceforge.net
License: BSD
Maintainer: Remko Troncon <dev@el-tramo.be>
Description: Library and tools for manipulating fonts
DescDetail: <<
FontTools is a library for manipulating fonts, written in Python. It supports
TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats.
FontTools comes with TTX, a tool to convert OpenType and TrueType fonts to and
from XML. 
<<

Source: mirror:sourceforge:fonttools/fonttools-%v.tar.gz
Source-MD5: 639c68113cc04e8f30ae8997d6cc480a
SourceDirectory: fonttools-%v

PatchScript: <<
#!/bin/sh -ev
sed -i.bak -e 's,^from fontTools import,sys.path.append('\''%p/lib/%n/FontTools'\'')\
&,' Tools/ttx
<<
CompileScript: <<
/usr/bin/python setup.py build
<<
InstallScript: <<
/usr/bin/python setup.py install --prefix %p --root %d --install-lib %p/lib/%n --install-data %p/share
<<

DocFiles: LICENSE.txt README.txt