30 lines
770 B
Bash
30 lines
770 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-poppler-qt4/python-poppler-qt4-0.16.2.ebuild,v 1.3 2012/08/09 09:40:54 patrick Exp $
|
|
|
|
EAPI=4
|
|
|
|
PYTHON_DEPEND="2:2.6"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
RESTRICT_PYTHON_ABIS="2.5 3.* *-pypy-*"
|
|
|
|
inherit distutils eutils
|
|
|
|
DESCRIPTION="A python binding for libpoppler-qt4"
|
|
HOMEPAGE="http://code.google.com/p/python-poppler-qt4/"
|
|
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="app-text/poppler[qt4]
|
|
dev-python/PyQt4
|
|
>=dev-python/sip-4.9.1"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-poppler020.patch
|
|
distutils_src_prepare
|
|
}
|