* [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/PyQtWebEngine/
@ 2021-08-15 7:46 Davide Pesavento
0 siblings, 0 replies; 2+ messages in thread
From: Davide Pesavento @ 2021-08-15 7:46 UTC (permalink / raw
To: gentoo-commits
commit: 3505313b1bc80620f331af7d76f8c23eb76a32a3
Author: Chris Pritchard <chris <AT> christopherpritchard <DOT> co <DOT> uk>
AuthorDate: Sun Aug 15 07:35:32 2021 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Aug 15 07:46:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3505313b
dev-python/PyQtWebEngine: add 5.15.5_pre2108100905, EAPI 8
Switch build system to sip-build
Bug: https://bugs.gentoo.org/805965
Closes: https://github.com/gentoo/gentoo/pull/21854
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Chris Pritchard <chris <AT> christopherpritchard.co.uk>
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>
dev-python/PyQtWebEngine/Manifest | 1 +
.../PyQtWebEngine-5.15.5_pre2108100905.ebuild | 76 ++++++++++++++++++++++
profiles/package.mask | 1 +
3 files changed, 78 insertions(+)
diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest
index e8c22cbea35..3c7ba7fdf37 100644
--- a/dev-python/PyQtWebEngine/Manifest
+++ b/dev-python/PyQtWebEngine/Manifest
@@ -1,2 +1,3 @@
DIST PyQtWebEngine-5.15.2.tar.gz 48608 BLAKE2B a03f77b0cde0d1031e8f1c4c6b5d13a342c28cf814ebaaf4a2cdb4608ce40cdd8163783932abc76cda583c0fed7191653b537598a9ab65f6509ef88008538e31 SHA512 7e6d95833b1a9e5bb5275eff01e1923419da35d13862fc4cbb231cbf950ed45e628bc7e161b0b6b66c718ee439a1a8e66dd754cee9adcdf69ab1b8ffab58901e
DIST PyQtWebEngine-5.15.4.tar.gz 49022 BLAKE2B 0ac0b3424f22aabbfd733f2a876e502f133c81f639fbd87a4c7509865635b29d4bd3596ccc151b0919a28eff0015913c4fae1a831dbe774fe2d2aeee732e469b SHA512 25cf8578ffae8adbc1dd8d914921b4edf91f19fcf983c9c83c9c8934b4e918ba27bd34a6b9c8252773ec32e6f1f13a06f22cf7d7326a5aceaa91530ea4ee047e
+DIST PyQtWebEngine-5.15.5.dev2108100905.tar.gz 49043 BLAKE2B 01b75db0d9fa973ccd0a85f9336e16b7c1fb2a303a0d004d247f91744dc642edb836597877fce6c4f038afa6f87ba066eeaca1e3d467bc15689dbe82e8a9809e SHA512 1ea407832f062dc9b9a6c6312feb4c8f3553b55972e5a32c70c9d1c278918d32934791d60c022a56ab507b6215d5f78e1b4244b9fffa3256aad1f5f4afebd47a
diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.5_pre2108100905.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.5_pre2108100905.ebuild
new file mode 100644
index 00000000000..ab576366582
--- /dev/null
+++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.5_pre2108100905.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit python-r1 qmake-utils
+
+DESCRIPTION="Python bindings for QtWebEngine"
+HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/ https://pypi.org/project/PyQtWebEngine/"
+
+MY_P=${PN}-${PV/_pre/.dev}
+if [[ ${PV} == *_pre* ]]; then
+ SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="debug"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+"
+
+DEPEND="${PYTHON_DEPS}
+ >=dev-python/PyQt5-5.15.5_pre2107091435[gui,network,printsupport,webchannel,widgets,${PYTHON_USEDEP}]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwebengine:5[widgets]
+"
+RDEPEND="${DEPEND}
+ >=dev-python/PyQt5-sip-12.9:=[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}]
+ >=dev-python/sip-6.2.0_pre2106291255[${PYTHON_USEDEP}]
+ dev-qt/qtcore:5
+"
+
+src_configure() {
+ configuration() {
+ local myconf=(
+ sip-build
+ --verbose
+ --build-dir="${BUILD_DIR}"
+ --scripts-dir="$(python_get_scriptdir)"
+ --qmake="$(qt5_get_bindir)"/qmake
+ --no-make
+ $(usev debug '--debug --qml-debug --tracing')
+ )
+ echo "${myconf[@]}"
+ "${myconf[@]}" || die
+
+ # Run eqmake to respect toolchain and build flags
+ run_in_build_dir eqmake5 -recursive ${PN}.pro
+ }
+ python_foreach_impl configuration
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_install() {
+ installation() {
+ emake INSTALL_ROOT="${D}" install
+ python_optimize
+ }
+ python_foreach_impl run_in_build_dir installation
+
+ einstalldocs
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index 4c13256bfe7..99eb485b04d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -462,6 +462,7 @@ sys-libs/db:5.1
# Masked for revdep testing.
>=dev-python/sip-6
>=dev-python/PyQt5-5.15.5_pre
+>=dev-python/PyQtWebEngine-5.15.5_pre
>=dev-python/qscintilla-python-2.13
# Sam James <sam@gentoo.org> (2021-06-12)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/pyqtwebengine/
@ 2025-05-23 23:59 Andreas Sturmlechner
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2025-05-23 23:59 UTC (permalink / raw
To: gentoo-commits
commit: 5cb9bb400ecd21889b44625b61cb662998969291
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri May 23 23:57:22 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri May 23 23:58:31 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb9bb40
dev-python/pyqtwebengine: treeclean
Closes: https://bugs.gentoo.org/926684
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-python/pyqtwebengine/Manifest | 1 -
dev-python/pyqtwebengine/metadata.xml | 27 ------------
.../pyqtwebengine/pyqtwebengine-5.15.7.ebuild | 50 ----------------------
profiles/package.mask | 5 ---
4 files changed, 83 deletions(-)
diff --git a/dev-python/pyqtwebengine/Manifest b/dev-python/pyqtwebengine/Manifest
deleted file mode 100644
index 3325b09b9312..000000000000
--- a/dev-python/pyqtwebengine/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST PyQtWebEngine-5.15.7.tar.gz 32223 BLAKE2B 81c318e9117ccfad9f883e9282cdb93d936c7ee4def1ab927af2d1090e79f513f24e91455fa5b769fd5bb1094061e10a7f001f9c6172e51df4f50efac16a77e3 SHA512 0eede365bd0fa6eb60aa09443298a7afdb94497960ae31bf050311aec919c02a17ea13e57abe37e55f74d458acf34a6c3ab7f5895914742adc90e90a8c0eb442
diff --git a/dev-python/pyqtwebengine/metadata.xml b/dev-python/pyqtwebengine/metadata.xml
deleted file mode 100644
index 38c3ab157a5c..000000000000
--- a/dev-python/pyqtwebengine/metadata.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>qt@gentoo.org</email>
- <name>Gentoo Qt Project</name>
- </maintainer>
- <maintainer type="person">
- <email>steils@gentoo.org</email>
- <name>Stefan Strogin</name>
- </maintainer>
- <longdescription lang="en">
- PyQtWebEngine is a set of Python bindings for The Qt Company's
- Qt WebEngine libraries. The bindings sit on top of PyQt5 and
- are implemented as a set of three modules. Prior to v5.12 these
- bindings were part of PyQt5 itself.
- </longdescription>
- <upstream>
- <maintainer status="active">
- <email>phil@riverbankcomputing.com</email>
- <name>Phil Thompson</name>
- </maintainer>
- <doc>https://www.riverbankcomputing.com/static/Docs/PyQt5/</doc>
- <bugs-to>mailto:pyqt@riverbankcomputing.com</bugs-to>
- <remote-id type="pypi">PyQtWebEngine</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/pyqtwebengine/pyqtwebengine-5.15.7.ebuild b/dev-python/pyqtwebengine/pyqtwebengine-5.15.7.ebuild
deleted file mode 100644
index 56256a9f05ae..000000000000
--- a/dev-python/pyqtwebengine/pyqtwebengine-5.15.7.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=sip
-PYPI_NO_NORMALIZE=1
-PYPI_PN=PyQtWebEngine
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils
-
-DESCRIPTION="Python bindings for QtWebEngine"
-HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-IUSE="debug"
-
-DEPEND="
- >=dev-python/pyqt5-5.15.5[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}]
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtwidgets:5
- dev-qt/qtwebengine:5[widgets]
-"
-RDEPEND="
- ${DEPEND}
- >=dev-python/pyqt5-sip-12.15:=[${PYTHON_USEDEP}]
-"
-BDEPEND="
- >=dev-python/pyqt-builder-1.9[${PYTHON_USEDEP}]
- >=dev-python/sip-6.8.6[${PYTHON_USEDEP}]
- dev-qt/qtcore:5
-"
-
-python_configure_all() {
- append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1
-
- DISTUTILS_ARGS=(
- --jobs="$(makeopts_jobs)"
- --qmake="$(qt5_get_bindir)"/qmake
- --qmake-setting="$(qt5_get_qmake_args)"
- --verbose
- $(usev debug '--debug --qml-debug --tracing')
- )
-}
diff --git a/profiles/package.mask b/profiles/package.mask
index 6ab2cdb22468..96125d2f6844 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -279,11 +279,6 @@ x11-libs/qwt:5
# Removal on 2025-05-24 - with a good chance to be kept if ported by then.
www-client/otter
-# Andreas Sturmlechner <asturm@gentoo.org> (2025-04-24)
-# Requires Qt5WebEngine; no more revdeps. Bug #926684
-# Removal on 2025-05-24.
-dev-python/pyqtwebengine
-
# Michał Górny <mgorny@gentoo.org> (2025-04-22)
# Metapackage used for pypy3 target in the past.
# Removal on 2025-05-22.
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-23 23:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-15 7:46 [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/PyQtWebEngine/ Davide Pesavento
-- strict thread matches above, loose matches on Subject: below --
2025-05-23 23:59 [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/pyqtwebengine/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox