Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 815461 Details for
Bug 874045
dev-python/qtconsole: Add ~ppc64 keyword
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to qtconsole ebuild to allow testing with only one of pyqt5 and pyside2
0002-Allow-testing-dev-python-qtconsole-with-only-one-of-.patch (text/plain), 2.20 KB, created by
Chris Kerr
on 2022-10-02 12:50:18 UTC
(
hide
)
Description:
Patch to qtconsole ebuild to allow testing with only one of pyqt5 and pyside2
Filename:
MIME Type:
Creator:
Chris Kerr
Created:
2022-10-02 12:50:18 UTC
Size:
2.20 KB
patch
obsolete
>From 0f07221423412fb63a89e80fb7cd9618a90f3a26 Mon Sep 17 00:00:00 2001 >From: Christopher Kerr <chris.kerr@mykolab.ch> >Date: Sun, 2 Oct 2022 10:36:01 +0300 >Subject: [PATCH 2/2] Allow testing dev-python/qtconsole with only one of pyqt5 > and pyside2 > >Add package.use.mask to block pyside2 on ppc64 >--- > dev-python/qtconsole/qtconsole-5.3.2.ebuild | 19 ++++++++++++++++--- > profiles/arch/powerpc/package.use.mask | 1 + > 2 files changed, 17 insertions(+), 3 deletions(-) > >diff --git a/dev-python/qtconsole/qtconsole-5.3.2.ebuild b/dev-python/qtconsole/qtconsole-5.3.2.ebuild >index e065753cbc..f9ebda4087 100644 >--- a/dev-python/qtconsole/qtconsole-5.3.2.ebuild >+++ b/dev-python/qtconsole/qtconsole-5.3.2.ebuild >@@ -21,6 +21,13 @@ LICENSE="BSD" > SLOT="0" > KEYWORDS="~amd64 ~arm ~arm64 ~x86" > >+IUSE="+pyqt5 pyside2" >+ >+REQUIRED_USE=" >+ || ( pyqt5 pyside2 ) >+" >+ >+ > RDEPEND=" > >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] > dev-python/ipython_genutils[${PYTHON_USEDEP}] >@@ -29,12 +36,12 @@ RDEPEND=" > dev-python/pygments[${PYTHON_USEDEP}] > >=dev-python/pyzmq-17.1[${PYTHON_USEDEP}] > >=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}] >- >=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},gui,printsupport,svg] >+ >=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},gui,printsupport,pyqt5?,pyside2?,svg] > " > # The test suite tests both against pyqt5 *and* pyside2 > BDEPEND=" > test? ( >- dev-python/QtPy[pyqt5,pyside2,${PYTHON_USEDEP},svg,testlib] >+ dev-python/QtPy[testlib] > ) > " > # required by the tests that are removed: >@@ -55,5 +62,11 @@ python_test() { > qtconsole/tests/test_00_console_widget.py > qtconsole/tests/test_jupyter_widget.py > ) >- epytest >+ if use pyqt5; then >+ QT_API="pyqt5" epytest >+ fi >+ if use pyside2; then >+ QT_API="pyside2" epytest >+ fi >+ > } >diff --git a/profiles/arch/powerpc/package.use.mask b/profiles/arch/powerpc/package.use.mask >index 9bae8e0ed4..cab1084126 100644 >--- a/profiles/arch/powerpc/package.use.mask >+++ b/profiles/arch/powerpc/package.use.mask >@@ -5,6 +5,7 @@ > # Only PyQt5 is keyworded on pcc64 at the moment. > # Mask the other Qt4Python implementations > dev-python/QtPy pyside2 pyqt6 pyside6 >+dev-python/qtconsole pyside2 > > # Matt Turner <mattst88@gentoo.org> (2022-04-18) > # app-text/nuspell is not keyworded >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 874045
: 815461