| Summary: | dev-python/QtPy needs to depend on dev-python/PyQtWebEngine as alternative to/instead of dev-python/PyQt5[webengine?] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Daniel Dawson <danielcdawson> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | uncle |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info | ||
|
Description
Daniel Dawson
2019-06-16 22:12:31 UTC
Wait, the new summary is wrong. It already has that dependency, but I'm told it needs an alternative for dev-python/PyQtWebEngine. I'm not sure exactly what it would look like, though, which is why I didn't want to be too specific. (In reply to Daniel Dawson from comment #1) > Wait, the new summary is wrong. It already has that dependency, but I'm told > it needs an alternative for dev-python/PyQtWebEngine. I'm not sure exactly > what it would look like, though, which is why I didn't want to be too > specific. I'm using this locally, because the ebuild doesn't have to support older PyQt5: --- a/dev-python/QtPy/QtPy-1.4.0-r1.ebuild +++ b/dev-python/QtPy/QtPy-1.4.0-r2.ebuild @@ -17,7 +17,8 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="designer gui opengl svg testlib webkit webengine" RDEPEND=" - dev-python/PyQt5[${PYTHON_USEDEP},designer?,opengl?,svg?,webkit?,webengine?] + >=dev-python/PyQt5-5.12.1[${PYTHON_USEDEP},designer?,opengl?,svg?,webkit?] + webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] ) gui? ( dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] ) testlib? ( dev-python/PyQt5[${PYTHON_USEDEP},testlib] ) " (In reply to Jouni Kosonen from comment #2) > --- a/dev-python/QtPy/QtPy-1.4.0-r1.ebuild > +++ b/dev-python/QtPy/QtPy-1.4.0-r2.ebuild > @@ -17,7 +17,8 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" > IUSE="designer gui opengl svg testlib webkit webengine" > > RDEPEND=" > - > dev-python/PyQt5[${PYTHON_USEDEP},designer?,opengl?,svg?,webkit?,webengine?] > + > >=dev-python/PyQt5-5.12.1[${PYTHON_USEDEP},designer?,opengl?,svg?,webkit?] > + webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] ) > gui? ( dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] ) > testlib? ( dev-python/PyQt5[${PYTHON_USEDEP},testlib] ) > " Not sure if Gentoo wants to abandon old PyQt5 yet, but this works for me. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=594f2a57870e20d8ab968d73391d12b8e450c3b7 commit 594f2a57870e20d8ab968d73391d12b8e450c3b7 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-06-29 21:03:01 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-06-29 21:33:54 +0000 dev-python/QtPy: 1.4.2 version bump, EAPI-7, fixing USE=webengine Closes: https://bugs.gentoo.org/688184 Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-python/QtPy/Manifest | 1 + dev-python/QtPy/QtPy-1.4.2.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) |