1 |
commit: 2400d07c2adbf5157abc7dde16892c4597d350e8 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 7 22:56:05 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 23:56:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2400d07c |
7 |
|
8 |
dev-python/python-poppler-qt5: Use qmake-utils |
9 |
|
10 |
Closes: https://bugs.gentoo.org/764065 |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild | 11 ++++++++++- |
15 |
1 file changed, 10 insertions(+), 1 deletion(-) |
16 |
|
17 |
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 |
18 |
index 73a70b8349a..e737b69a306 100644 |
19 |
--- a/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild |
20 |
+++ b/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild |
21 |
@@ -4,7 +4,7 @@ |
22 |
EAPI=7 |
23 |
|
24 |
PYTHON_COMPAT=( python3_{6,7,8,9} ) |
25 |
-inherit distutils-r1 |
26 |
+inherit distutils-r1 qmake-utils |
27 |
|
28 |
DESCRIPTION="Python binding for libpoppler-qt5" |
29 |
HOMEPAGE="https://github.com/frescobaldi/python-poppler-qt5" |
30 |
@@ -21,3 +21,12 @@ RDEPEND=" |
31 |
>=dev-python/sip-4.19:=[${PYTHON_USEDEP}] |
32 |
" |
33 |
DEPEND="${RDEPEND}" |
34 |
+ |
35 |
+python_compile() { |
36 |
+ distutils-r1_python_compile build_ext --qmake-bin=$(qt5_get_bindir)/qmake |
37 |
+} |
38 |
+ |
39 |
+python_install() { |
40 |
+ export PATH=$(qt5_get_bindir):$PATH |
41 |
+ distutils-r1_python_install |
42 |
+} |