From 877cefa1a58acd20c6ce62989f8cc3b2c482b87f Mon Sep 17 00:00:00 2001 From: Christopher Kerr Date: Sun, 18 Sep 2022 21:12:01 +0300 Subject: [PATCH] Add ppc64 support to QtPy with PyQt5 Disable using PySide2 with package.use.mask because this package is not keyworded on ppc64 --- dev-python/QtPy/QtPy-2.1.0-r4.ebuild | 2 +- dev-python/QtPy/QtPy-2.2.0.ebuild | 2 +- profiles/arch/powerpc/package.use.mask | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-python/QtPy/QtPy-2.1.0-r4.ebuild b/dev-python/QtPy/QtPy-2.1.0-r4.ebuild index ddebeff472..32112f3583 100644 --- a/dev-python/QtPy/QtPy-2.1.0-r4.ebuild +++ b/dev-python/QtPy/QtPy-2.1.0-r4.ebuild @@ -91,7 +91,7 @@ BDEPEND=" dev-python/mock[${PYTHON_USEDEP}] pyqt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location] + dev-python/PyQt5[dbus,declarative,designer,gui,help,location] dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport] dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel] dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns] diff --git a/dev-python/QtPy/QtPy-2.2.0.ebuild b/dev-python/QtPy/QtPy-2.2.0.ebuild index 6c8adb1b00..2d7cbf5a3e 100644 --- a/dev-python/QtPy/QtPy-2.2.0.ebuild +++ b/dev-python/QtPy/QtPy-2.2.0.ebuild @@ -114,7 +114,7 @@ BDEPEND=" dev-python/mock[${PYTHON_USEDEP}] pyqt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location] + dev-python/PyQt5[dbus,declarative,designer,gui,help,location] dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport] dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel] dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns] diff --git a/profiles/arch/powerpc/package.use.mask b/profiles/arch/powerpc/package.use.mask index 86718906cf..27ad559d81 100644 --- a/profiles/arch/powerpc/package.use.mask +++ b/profiles/arch/powerpc/package.use.mask @@ -210,7 +210,7 @@ dev-db/percona-server -numa # Davide Pesavento (2016-07-28) # The corresponding Qt5 modules are not keyworded on ppc, and we don't want to # keyword them solely because of PyQt5 while there are no other in-tree users. -dev-python/PyQt5 bluetooth location speech +dev-python/PyQt5 bluetooth # Michael Palimaka (2016-07-07) # Requires unkeyworded dependencies @@ -365,3 +365,6 @@ media-tv/mythtv vdpau # Brent Baude # masking zephyr USE on pidgin net-im/pidgin zephyr + +# PySide2 is not keyworded on ppc64, so disabling the optional dependency +dev-python/QtPy pyside2 -- 2.35.1