1 |
commit: 45635a3d83085be19f7ac6603233684c853fff21 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 5 06:01:39 2019 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 5 06:01:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45635a3d |
7 |
|
8 |
dev-python/PyQtWebEngine: add 5.13.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> |
12 |
|
13 |
dev-python/PyQtWebEngine/Manifest | 1 + |
14 |
.../PyQtWebEngine/PyQtWebEngine-5.13.2.ebuild | 74 ++++++++++++++++++++++ |
15 |
2 files changed, 75 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest |
18 |
index f5377218dce..ab69f1ae2cc 100644 |
19 |
--- a/dev-python/PyQtWebEngine/Manifest |
20 |
+++ b/dev-python/PyQtWebEngine/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
+DIST PyQtWebEngine-5.13.2.tar.gz 45234 BLAKE2B 4ad3aa63856cf3627c2f4ba29d93394f13297deb5e54bdd200bd419f71322d541ae72e45d70cff09cc53808f0d2430f8922d44f18bbf177c42a6b9c827854d6e SHA512 778aff78ea731230029e8dd993f4bc59a32bf74d65f06a8b3d1467efdc67e3b3caf0d9a968682c6c275c8ffdb8d85d9c756cb51727769949656620e944c736d3 |
23 |
DIST PyQtWebEngine_gpl-5.12.1.tar.gz 42474 BLAKE2B 6cb333d8e429ae6b9f8c20a7486754767639693351605e85c0226ab3f1f065a549d40d69669d91f501fdf2c30346304a547e36b416d275a8bfe4ea621c0633b7 SHA512 2bcb0e4da51de9cfb5128e03c03ada77f2d4b99b0885da910584717681b96759ce4301c325cbbf43602d46746e2d37d81ed62f77dd63b33359fd5fae74d7f010 |
24 |
DIST PyQtWebEngine_gpl-5.13.2.dev1909181828.tar.gz 45197 BLAKE2B 203dacf4322e8293221a59fd9a2f34a42981aefd5861e47141b3cc58770ff9cff2c0922de1f03c0eaff4b0d1c42bf26b172787cb3fbbc9367e9d8b717e927d50 SHA512 ebb1b6de8cba1619c96a4a120b51bfe885b737669f246f4e5c2cd5023320e74f0927a62a0b87586b519ab5767e0bd7b01444e7298381ffecc036682b4f1fcaae |
25 |
|
26 |
diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.13.2.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.13.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..9614f515fa2 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.13.2.ebuild |
31 |
@@ -0,0 +1,74 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
38 |
+inherit python-r1 qmake-utils |
39 |
+ |
40 |
+DESCRIPTION="Python bindings for QtWebEngine" |
41 |
+HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" |
42 |
+ |
43 |
+MY_P=${PN}-${PV/_pre/.dev} |
44 |
+if [[ ${PV} == *_pre* ]]; then |
45 |
+ SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" |
46 |
+else |
47 |
+ SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${PN}/${PV}/${MY_P}.tar.gz" |
48 |
+fi |
49 |
+ |
50 |
+LICENSE="GPL-3" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
53 |
+IUSE="debug" |
54 |
+ |
55 |
+REQUIRED_USE=" |
56 |
+ ${PYTHON_REQUIRED_USE} |
57 |
+" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ ${PYTHON_DEPS} |
61 |
+ >=dev-python/PyQt5-5.13.1[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] |
62 |
+ >=dev-python/PyQt5-sip-4.19.14:=[${PYTHON_USEDEP}] |
63 |
+ dev-qt/qtcore:5 |
64 |
+ dev-qt/qtwebengine:5[widgets] |
65 |
+" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ >=dev-python/sip-4.19.14[${PYTHON_USEDEP}] |
68 |
+" |
69 |
+ |
70 |
+S=${WORKDIR}/${MY_P} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ configuration() { |
74 |
+ local myconf=( |
75 |
+ "${PYTHON}" |
76 |
+ "${S}"/configure.py |
77 |
+ --qmake="$(qt5_get_bindir)"/qmake |
78 |
+ $(usex debug '--debug --trace' '') |
79 |
+ --verbose |
80 |
+ ) |
81 |
+ echo "${myconf[@]}" |
82 |
+ "${myconf[@]}" || die |
83 |
+ |
84 |
+ # Fix parallel install failure |
85 |
+ sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets' ${PN}.pro || die |
86 |
+ |
87 |
+ # Run eqmake to respect toolchain and build flags |
88 |
+ eqmake5 -recursive ${PN}.pro |
89 |
+ } |
90 |
+ python_foreach_impl run_in_build_dir configuration |
91 |
+} |
92 |
+ |
93 |
+src_compile() { |
94 |
+ python_foreach_impl run_in_build_dir default |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ installation() { |
99 |
+ emake INSTALL_ROOT="${D}" install |
100 |
+ python_optimize |
101 |
+ } |
102 |
+ python_foreach_impl run_in_build_dir installation |
103 |
+ |
104 |
+ einstalldocs |
105 |
+} |