gpo.zugaina.org

Search Portage & Overlays:

dev-python/qtpy

Abstraction layer on top of PyQt and PySide with additional custom QWidgets

Screenshots

  • qtpy-2.4.3_pre99
    amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86
    +pyqt6 pyside6 bluetooth dbus designer +gui help multimedia +network nfc opengl pdfium positioning printsupport qml quick quick3d remoteobjects scxml sensors serialport spatialaudio speech +sql svg testlib vulkan webchannel webengine websockets +widgets +xml test python_targets_python3_12 python_targets_python3_13 test

    View      Download      Browse     License: MIT   
    Overlay: pkalin
  • qtpy-2.4.3-r99
    ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86
    pyqt5 +pyqt6 pyside6 bluetooth dbus designer +gui help multimedia +network nfc opengl pdfium positioning printsupport qml quick quick3d remoteobjects scxml sensors serialport spatialaudio speech +sql svg testlib vulkan webchannel webengine websockets +widgets +xml test python_targets_python3_11 python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 test

    View      Download      Browse     License: MIT   
    Overlay: stuff
  • qtpy-2.4.3-r2
    amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86
    +pyqt6 pyside6 bluetooth dbus designer +gui help multimedia +network nfc opengl pdfium positioning printsupport qml quick quick3d remoteobjects scxml sensors serialport spatialaudio speech +sql svg testlib vulkan webchannel webengine websockets +widgets +xml test python_targets_python3_11 python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 test

    View      Download      Browse     License: MIT   
    Overlay: gentoo
  • qtpy-2.4.3
    ~amd64 ~x86
    test python_targets_python3_11 python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: MIT   
    Overlay: pypi

ChangeLog

commit d7685cec369735bd8563a9c8e495e2564e5a568b
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Apr 30 12:25:48 2026 +0200

dev-python/qtpy: fork ::gentoo with USE=pyqt5 backend support

::gentoo's dev-python/qtpy-2.4.3-r2 unconditionally seds qtpy/__init__.py
to make the PyQt5 import path raise ImportError, as part of Gentoo's
Qt5 deprecation policy. Any qtpy consumer that targets Qt5 - notably
sci-physics/mantid - then dies on `from qtpy.QtWidgets import
QDesktopWidget` because qtpy falls through to PyQt6, and PyQt6 removed
QDesktopWidget along with the rest of the Qt5-era widget API.

This fork (-r99 to leave room above ::gentoo's revision tail) gates the
PyQt5-disabling sed on `! use pyqt5`, adds a USE=pyqt5 flag with a
matching dev-python/pyqt5 RDEPEND block, and updates REQUIRED_USE so
pyqt5 alone can satisfy it. Default behaviour matches ::gentoo (PyQt5
disabled); QT_API=pyqt5 actually selects PyQt5 only when a consumer
opts in via USE=pyqt5.

Verified against system PyQt5-5.15.11 + the mantid install: with
USE=pyqt5, `QT_API=pyqt5 python -c "from qtpy.QtWidgets import
QDesktopWidget"` succeeds and qtpy reports `API_NAME = PyQt5`.