summaryrefslogtreecommitdiff
blob: 0b64dd9f98b1ca680fd4b9e76479e3625e8cea14 (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-2009 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.1 2009/08/14 15:45:10 arfrever Exp $

EAPI="2"
SUPPORT_PYTHON_ABIS="1"

inherit 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
}