blob: 301de1daf923641f1ee87d5f1b5c3824f528bf90 (
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
32
33
34
35
36
37
38
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/fonttools/fonttools-2.2-r1.ebuild,v 1.5 2010/02/07 20:37:15 pva Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit eutils distutils
DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts"
HOMEPAGE="http://fonttools.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ia64 ppc x86"
IUSE=""
DEPEND=""
RDEPEND=">=dev-python/numpy-1.0.2
dev-python/pyxml"
RESTRICT_PYTHON_ABIS="3*"
PYTHON_MODNAME="FontTools"
DOCS="README.txt Doc/*.txt"
src_prepare() {
distutils_src_prepare
sed '/data_files/{s:man/man1:share/man/man1:}' -i setup.py #247154
epatch "${FILESDIR}/${P}-fix_syntax.patch"
}
src_install() {
distutils_src_install
dohtml Doc/*.html
}
|