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-r100
    ~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_12 python_targets_python3_13 python_targets_python3_14 python_targets_python3_15 test

    View      Download      Browse     License: MIT   
    Overlay: stuff
  • qtpy-2.4.3-r4
    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 python_targets_python3_14 python_targets_python3_15 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 0b9bcd8506f8addf0d1676fd0344fc97fde2553d
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Nov 9 13:16:42 2026 +0100

dev-python/qtpy: rebase the fork on ::gentoo's 2.4.3-r4, revbump

The fork was cut from 2.4.3-r2 and had drifted. pyqt6 6.12.0 dropped
its pdfium flag for the separate dev-python/pyqt6-pdf, so the fork's
pyqt6[pdfium] deps held USE=pdfium and test builds on pyqt6 6.11, and
they break once ::gentoo removes it. Rebuild the fork from r4, which
already uses pyqt6-pdf, and re-apply only the USE=pyqt5 backend; this
also takes r4's python3_15 target and its +dbus +printsupport
defaults.

The overlay's pyqt5 stops at python3_14, so the pyqt5 dep is
generated for 3.12 to 3.14 only and REQUIRED_USE rejects pyqt5 with
python3_15.

commit fc3e7558bdeac2520bdad584b78adc6711e39764
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 04:25:08 2026 +0200

dev-python/qtpy: trim 2.4.3-r99 comment prose

commit 860ae304154ec505465454d3bd4f07ccc99df5aa
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 13 14:35:27 2026 +0200

dev-python/qtpy: disable py3.11

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`.