1 |
commit: 33b532fbba69ce17355a7fe29c2b4512f99f6053 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 21 05:19:38 2021 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 21 05:19:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b532fb |
7 |
|
8 |
dev-python/PyQtWebEngine: add 5.15.5 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> |
12 |
|
13 |
dev-python/PyQtWebEngine/Manifest | 1 + |
14 |
.../PyQtWebEngine/PyQtWebEngine-5.15.5.ebuild | 76 ++++++++++++++++++++++ |
15 |
2 files changed, 77 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest |
18 |
index 788d8a3d02e..39b6be5766b 100644 |
19 |
--- a/dev-python/PyQtWebEngine/Manifest |
20 |
+++ b/dev-python/PyQtWebEngine/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST PyQtWebEngine-5.15.4.tar.gz 49022 BLAKE2B 0ac0b3424f22aabbfd733f2a876e502f133c81f639fbd87a4c7509865635b29d4bd3596ccc151b0919a28eff0015913c4fae1a831dbe774fe2d2aeee732e469b SHA512 25cf8578ffae8adbc1dd8d914921b4edf91f19fcf983c9c83c9c8934b4e918ba27bd34a6b9c8252773ec32e6f1f13a06f22cf7d7326a5aceaa91530ea4ee047e |
23 |
DIST PyQtWebEngine-5.15.5.dev2108100905.tar.gz 49043 BLAKE2B 01b75db0d9fa973ccd0a85f9336e16b7c1fb2a303a0d004d247f91744dc642edb836597877fce6c4f038afa6f87ba066eeaca1e3d467bc15689dbe82e8a9809e SHA512 1ea407832f062dc9b9a6c6312feb4c8f3553b55972e5a32c70c9d1c278918d32934791d60c022a56ab507b6215d5f78e1b4244b9fffa3256aad1f5f4afebd47a |
24 |
+DIST PyQtWebEngine-5.15.5.tar.gz 48610 BLAKE2B ea266c09965a6ee62e33d3970b145068271c9e1eb87839782e0100b5db2e90a0c002fc4d6f3d22ef9a5cb8c42a067bb45008b0392a0d8557bc6c5c9d77e6b75a SHA512 20eecd479ea757e3bf9855c7dafe0bbbc0cbc61be26509605a5c9a8026e54bb6e362069ecf4be74733dcf6eec154f6ed13933e334e4455b080e687abfd2659fa |
25 |
|
26 |
diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.5.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.5.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..42ee3f90e56 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.5.ebuild |
31 |
@@ -0,0 +1,76 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+inherit python-r1 qmake-utils |
39 |
+ |
40 |
+DESCRIPTION="Python bindings for QtWebEngine" |
41 |
+HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/ https://pypi.org/project/PyQtWebEngine/" |
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="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
48 |
+fi |
49 |
+S=${WORKDIR}/${MY_P} |
50 |
+ |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
54 |
+IUSE="debug" |
55 |
+ |
56 |
+REQUIRED_USE=" |
57 |
+ ${PYTHON_REQUIRED_USE} |
58 |
+" |
59 |
+ |
60 |
+DEPEND="${PYTHON_DEPS} |
61 |
+ >=dev-python/PyQt5-5.15.5[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] |
62 |
+ dev-qt/qtcore:5 |
63 |
+ dev-qt/qtgui:5 |
64 |
+ dev-qt/qtwebengine:5[widgets] |
65 |
+" |
66 |
+RDEPEND="${DEPEND} |
67 |
+ >=dev-python/PyQt5-sip-12.9:=[${PYTHON_USEDEP}] |
68 |
+" |
69 |
+BDEPEND=" |
70 |
+ >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/sip-6.2[${PYTHON_USEDEP}] |
72 |
+ dev-qt/qtcore:5 |
73 |
+" |
74 |
+ |
75 |
+src_configure() { |
76 |
+ configuration() { |
77 |
+ local myconf=( |
78 |
+ sip-build |
79 |
+ --verbose |
80 |
+ --build-dir="${BUILD_DIR}" |
81 |
+ --scripts-dir="$(python_get_scriptdir)" |
82 |
+ --qmake="$(qt5_get_bindir)"/qmake |
83 |
+ --no-make |
84 |
+ $(usev debug '--debug --qml-debug --tracing') |
85 |
+ ) |
86 |
+ echo "${myconf[@]}" |
87 |
+ "${myconf[@]}" || die |
88 |
+ |
89 |
+ # Run eqmake to respect toolchain and build flags |
90 |
+ run_in_build_dir eqmake5 -recursive ${PN}.pro |
91 |
+ } |
92 |
+ python_foreach_impl configuration |
93 |
+} |
94 |
+ |
95 |
+src_compile() { |
96 |
+ python_foreach_impl run_in_build_dir default |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ installation() { |
101 |
+ emake INSTALL_ROOT="${D}" install |
102 |
+ python_optimize |
103 |
+ } |
104 |
+ python_foreach_impl run_in_build_dir installation |
105 |
+ |
106 |
+ einstalldocs |
107 |
+} |