blob: 43c35e35b5fcf3e32476f6075832377dd5968a09 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontypython/fontypython-0.4.4.ebuild,v 1.1 2013/02/05 01:18:32 dirtyepic Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython 2.7-pypy-*"
inherit distutils-r1 multilib toolchain-funcs
DESCRIPTION="Font preview application"
HOMEPAGE="http://savannah.nongnu.org/projects/fontypython"
SRC_URI="http://download.savannah.nongnu.org/releases/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Crashes w/ debug build of wxGTK (#201315)
DEPEND="virtual/python-imaging
dev-python/wxpython:2.8
x11-libs/wxGTK:2.8[-debug]"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="fontypythonmodules"
PATCHES=(
"${FILESDIR}/${P}-fix-pil-imports.patch"
"${FILESDIR}/${P}-select-wx-2.8.patch"
)
python_install_all() {
distutils-r1_python_install_all
doman "${S}"/fontypython.1
}
|