commit: 2400d07c2adbf5157abc7dde16892c4597d350e8 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Jan 7 22:56:05 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Jan 7 23:56:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2400d07c
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 <AT> gentoo.org> .../python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild b/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild index 73a70b8349a..e737b69a306 100644 --- a/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild +++ b/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild @@ -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 +}