gentoo/dev-python/python-poppler-qt4/python-poppler-qt4-0.18.1.ebuild
Robin H. Johnson 61b861acd7
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-02-28 11:50:50 -08:00

27 lines
662 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,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
}