mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-01 23:07:28 -08:00
28 lines
673 B
Bash
28 lines
673 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
|
|
|
inherit distutils-r1 eutils
|
|
|
|
DESCRIPTION="A python binding for libpoppler-qt4"
|
|
HOMEPAGE="https://github.com/wbsoft/python-poppler-qt4"
|
|
SRC_URI="https://github.com/wbsoft/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="app-text/poppler:=[qt4]
|
|
dev-python/PyQt4[${PYTHON_USEDEP}]
|
|
>=dev-python/sip-4.9.1[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-update_for_new_PyQt4_build.patch
|
|
distutils-r1_src_prepare
|
|
}
|