blob: bbb1585056b15b6010d7f94ca32ea1972f02103f (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ttfquery/ttfquery-1.0.0-r1.ebuild,v 1.1 2007/07/18 23:37:05 hawking Exp $
inherit distutils
MY_PN="TTFQuery"
DESCRIPTION="Font metadata and glyph outline extraction utility library"
HOMEPAGE="http://ttfquery.sourceforge.net/"
SRC_URI="mirror://sourceforge/ttfquery/${MY_PN}-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86" # should work on all architectures
IUSE=""
DEPEND="virtual/python
>=dev-python/fonttools-2.0_beta1-r1
>=dev-python/numpy-1.0.2"
S="${WORKDIR}/${MY_PN}-${PV}"
src_unpack() {
distutils_src_unpack
sed -i \
-e "s/Numeric/numpy.oldnumeric/" \
glyph.py || die "sed failed"
}
pkg_postinst() {
ewarn "This version uses numpy.oldnumeric instead of the numeric module."
ewarn "If this causes any unforeseen problems please file a bug on"
ewarn "http://bugs.gentoo.org."
}
|