commit: 4b58942a9298aa4bfbe23b9060fead68496afcbb Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Aug 6 10:35:30 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Aug 6 10:35:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b58942a
net-misc/electrum: GUI is now PyQt6 Closes: https://bugs.gentoo.org/959825 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> net-misc/electrum/electrum-4.6.0.ebuild | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/net-misc/electrum/electrum-4.6.0.ebuild b/net-misc/electrum/electrum-4.6.0.ebuild index f47395f5c282..f6e4eb78b0ad 100644 --- a/net-misc/electrum/electrum-4.6.0.ebuild +++ b/net-misc/electrum/electrum-4.6.0.ebuild @@ -26,8 +26,8 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" +IUSE="cli ncurses qrcode +qt6" +REQUIRED_USE="|| ( cli ncurses qt6 )" # setuptools (distutils) & pyperclip vendored RDEPEND=" @@ -48,8 +48,8 @@ RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/pyqt5[gui,widgets,${PYTHON_USEDEP}] + qt6? ( + dev-python/pyqt6[gui,widgets,${PYTHON_USEDEP}] ) ncurses? ( $(python_gen_impl_dep 'ncurses') ) " @@ -67,11 +67,6 @@ EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest -EPYTEST_IGNORE=( - # test for qml/PyQt6 GUI that doesn't work anyway - tests/test_qml_types.py -) - VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/electrum.asc src_prepare() { @@ -92,7 +87,7 @@ src_prepare() { sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || die local bestgui - if use qt5; then + if use qt6; then bestgui=qt elif use ncurses; then bestgui=text
