# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" WX_GTK_VER=3.0 PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 multilib wxwidgets DESCRIPTION="Font preview application" HOMEPAGE="https://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="dev-python/pillow[${PYTHON_USEDEP}] dev-python/wxpython:${WX_GTK_VER}[${PYTHON_USEDEP}] x11-libs/wxGTK:${WX_GTK_VER}[-debug]" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${PN}-pillow.patch" "${FILESDIR}"/0001-Do-not-crash-on-empty-pogs-list.patch ) src_prepare() { eapply_user distutils-r1_src_prepare need-wxwidgets unicode } src_install() { distutils-r1_src_install doman "${S}"/fontypython.1 }