mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/python-poppler-qt5: Use qmake-utils
Closes: https://bugs.gentoo.org/764065 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="Python binding for libpoppler-qt5"
|
||||
HOMEPAGE="https://github.com/frescobaldi/python-poppler-qt5"
|
||||
@@ -21,3 +21,12 @@ RDEPEND="
|
||||
>=dev-python/sip-4.19:=[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile build_ext --qmake-bin=$(qt5_get_bindir)/qmake
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export PATH=$(qt5_get_bindir):$PATH
|
||||
distutils-r1_python_install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user