dev-python / PyQt6

Python bindings for the Qt framework

Official package sites : https://www.riverbankcomputing.com/software/pyqt/ ·

v6.6.1 :: 0 :: gentoo

Modified
License
GPL-3
Keywords
amd64 ~arm64
USE flags
bluetooth dbus debug designer examples gles2-only gui help multimedia network nfc opengl pdfium positioning printsupport qml quick quick3d sensors serialport spatialaudio speech sql ssl svg testlib webchannel websockets widgets xml

General

bluetooth
Build bindings for the QtBluetooth module
dbus
Build bindings for the QtDBus module
debug
Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
designer
Build bindings for the QtDesigner module and enable the designer plugin
examples
Install examples, usually source code
gles2-only
Use GLES 2.0 (OpenGL for Embedded Systems) or later instead of full OpenGL (see also: gles2)
gui
Build bindings for the QtGui module
help
Build bindings for the QtHelp module
multimedia
Build bindings for the QtMultimedia module
network
Build bindings for the QtNetwork module
nfc
Build bindings for the QtNfc module
opengl
Build bindings for the QtOpenGL module
pdfium
Build bindings for the QtPdf module (uses pdfium from dev-qt/qtwebengine)
positioning
Build bindings for the QtPositioning module
printsupport
Build bindings for the QtPrintSupport module
qml
Build bindings for the QtQml module and enable the qml plugin
quick
Build bindings for the QtQuick module
quick3d
Build bindings for the QtQuick3D module
sensors
Build bindings for the QtSensors module
serialport
Build bindings for the QtSerialPort module
spatialaudio
Build bindings for the QtSpatialAudio module
speech
Build bindings for the QtTextToSpeech module
sql
Build bindings for the QtSql module
ssl
Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
svg
Build bindings for the QtSvg module
testlib
Build bindings for the QtTest module
webchannel
Build bindings for the QtWebChannel module
websockets
Build bindings for the QtWebSockets module
widgets
Build bindings for the QtWidgets module
xml
Build bindings for the QtXml module

python_targets

python3_10
Build with Python 3.10
python3_11
Build with Python 3.11
python3_12
Build with Python 3.12

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-python / dbus-python : Python bindings for the D-Bus messagebus

dev-qt / qtbase : Cross-platform application development framework

dev-qt / qtconnectivity : Bluetooth and NFC support library for the Qt6 framework

dev-qt / qtdeclarative : Qt Declarative (Quick 2)

dev-qt / qtmultimedia : Multimedia (audio, video, radio, camera) library for the Qt6 framework

dev-qt / qtpositioning : Physical position determination library for the Qt6 framework

dev-qt / qtquick3d : Qt module and API for defining 3D content in Qt QuickTools

dev-qt / qtsensors : Hardware sensor access library for the Qt6 framework

dev-qt / qtserialport : Serial port abstraction library for the Qt6 framework

dev-qt / qtspeech : Text-to-speech library for the Qt6 framework

dev-qt / qtsvg : SVG rendering library for the Qt6 framework

dev-qt / qttools : Qt Tools Collection

dev-qt / qtwebchannel : Qt WebChannel

dev-qt / qtwebengine : Library for rendering dynamic web content in Qt6 C++ and QML applications

dev-qt / qtwebsockets : Implementation of the WebSocket protocol for the Qt6 framework

media-libs / libglvnd : The GL Vendor-Neutral Dispatch library

sys-apps / dbus : A message bus system, a simple way for applications to talk to each other

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-python / PyQt6-sip : sip module support for PyQt6

dev-python / dbus-python : Python bindings for the D-Bus messagebus

dev-qt / qtbase : Cross-platform application development framework

dev-qt / qtconnectivity : Bluetooth and NFC support library for the Qt6 framework

dev-qt / qtdeclarative : Qt Declarative (Quick 2)

dev-qt / qtmultimedia : Multimedia (audio, video, radio, camera) library for the Qt6 framework

dev-qt / qtpositioning : Physical position determination library for the Qt6 framework

dev-qt / qtquick3d : Qt module and API for defining 3D content in Qt QuickTools

dev-qt / qtsensors : Hardware sensor access library for the Qt6 framework

dev-qt / qtserialport : Serial port abstraction library for the Qt6 framework

dev-qt / qtspeech : Text-to-speech library for the Qt6 framework

dev-qt / qtsvg : SVG rendering library for the Qt6 framework

dev-qt / qttools : Qt Tools Collection

dev-qt / qtwebchannel : Qt WebChannel

dev-qt / qtwebengine : Library for rendering dynamic web content in Qt6 C++ and QML applications

dev-qt / qtwebsockets : Implementation of the WebSocket protocol for the Qt6 framework

media-libs / libglvnd : The GL Vendor-Neutral Dispatch library

sys-apps / dbus : A message bus system, a simple way for applications to talk to each other

app-editors / retext : Simple editor for Markdown and reStructuredText

app-misc / anki : A spaced-repetition memory training program (flash cards)

app-text / calibre : Ebook management application

app-text / sigil : Multi-platform WYSIWYG ebook editor for ePub format

dev-python / PyQt6-WebEngine : Python bindings for QtWebEngine

dev-python / QtPy : Abstraction layer on top of PyQt and PySide with additional custom QWidgets

dev-python / qscintilla-python : Python bindings for QScintilla

net-analyzer / nagstamon : systray monitor for displaying realtime status of several monitoring systems

net-wireless / nanovna-saver : tool for reading, displaying and saving data from the NanoVNA

www-client / qutebrowser : Keyboard-driven, vim-like browser based on Python and Qt

Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: adjust qmake hack comment
Was looking for a better workaround for this, but then realized that it did not fail for the reason I thought it did. Perhaps could be improved in PyQt-builder. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Mart Raudsepp · gentoo
dev-python/PyQt6: keyword 6.6.1 for ~arm64
Bug: https://bugs.gentoo.org/907080 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: cleanup unnecessary (-)
Flag was added in qtwebengine-6.5.3 and this PyQt6 version checks for >=6.6.0, so it does not matter anymore. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.5.3
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/PyQt6: Stabilize 6.6.1 amd64, #920154
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.6.0-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: fix build with upcoming qtbase-6.7.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.6.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: restore qtbase binding operator
Not sure where these are coming from (does not use _p headers?), but while testing Qt6.6.1 with PyQt6 built against 6.6.0: QtCore.abi3.so: undefined symbol: <snip>, version Qt_6_PRIVATE_API (and from a quick grep, only uses these from qtbase). So let's just keep it even if rebuilds may not always be necessary, esp. if it's going to happen on minor versions too. Sparing revbump for PyQt6-6.5.3 to avoid long mostly unnecessary rebuilds in stable given PyQt6-6.6.0 will be stabled together with qtbase-6.6.1 either way. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.5.2, 6.5.2-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/PyQt6: Stabilize 6.5.3 amd64, #915549
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Lucio Sauer · gentoo
dev-python/PyQt6: depend on qtdeclarative[opengl] for USE=quick
42b4c9f60670 did not fix v6.5.3. Skipping revbump due to long rebuilds, and technically it shouldn't matter given (as far as I can tell) it'll pass loading this bit at runtime without USE=opengl being set on PyQt6 (which would ensure it is set on qtdeclarative through qtbase/qtdeclarative[opengl=]). Note that this does not affect PyQt5 despite also using the header given qtdeclarative:5 always installs this that I can see. Bug: https://bugs.gentoo.org/916889 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/33678 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: depend on qtdeclarative[opengl] for USE=quick
Skipping revbump due to long rebuilds, and technically it shouldn't matter given (as far as I can tell) it'll pass loading this bit at runtime without USE=opengl being set on PyQt6 (which would ensure it is set on qtdeclarative through qtbase/qtdeclarative[opengl=]). Note that this does not affect PyQt5 despite also using the header given qtdeclarative:5 always installs this that I can see. Closes: https://bugs.gentoo.org/916889 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.6.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: depend on newer sip for 6.5.3
Closes: https://bugs.gentoo.org/915945 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.5.3
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: fix USE=sql build with qt6.6
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: pin 6.5.2-r0 to <Qt6.6 for bluetooth+sql
Both fail to build. No revbump needed given it should be usable with 6.6 if it was built against an older version like 6.5. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: tentatively drop qtbase's binding operator
Believe symbol issues had in the past were more of a fluke than the norm, not to mention this does not actually use _p.h headers. Takes a while to rebuild and forcing a rebuild on every Qt bump may not be worthwhile (back when added this, Qt used 0/a.b rather than 0/a.b.c so it was not that bad). May revert if get issues again. (would still cause one more rebuild but -r1 happened in an earlier commit either way) Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: check for qtdeclarative[widgets?]
qtbase[widgets] forces it on qtdeclarative either way, but could "potentially" lead portage to believe it can schedule enabling widgets on qtdeclarative after PyQt6. No revbump needed for this edge case. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: support QtPdf with IUSE=pdfium.
QtPdf is enabled in qtwebengine-6.5.3+. Not using IUSE=pdf given qtwebengine tend to need special treatment, and this makes it easier to mask the USE globally on arches where it is not supported. Furthermore IUSE=pdf is default on some profiles and would pull the heavy qtwebengine for users that may not want it. Revbumping at same time as 6.5.3 given binding operator will cause a rebuild either way. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: stabilize 6.5.2 for amd64
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add QtBluetooth, Nfc, TextToSpeech, and Sensors
Nothing that needs this in PyQt6 currently, but there is no harm in adding off-by-default support now that these are packaged. Only ones still missing are: - QtLocation: still disabled in project.py, so waiting on upstream - QtPdf: needs enabling & testing in qtwebengine first - QtRemoteObjects: thought to package this but failing to find anything that is going to need it currently, will wait until someone requests (remoteobjects sound interesting but seemingly scarcely used) - QtAxContainer: this is for Windows (ActiveX), so nothing to do here Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: update permissions feature comment
Not a todo, had a closer look at the feature and it's enabled for "APPLE OR ANDROID OR WASM", so not really our thing. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.5.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.5.2, enable py3.12
No tests provided like other packages from this chain from this upstream, so using qutebrowser[qt6]'s tests as reference to know if it works with py3.12. qutebrowser did have 3.12 issues with 6.5.1, which got fixed in 6.5.2 -- so from this assuming that the chain's latest versions have likely been tested by upstream with 3.12 now and should be mostly safe to add. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: remove gcc dependency, update hack
Turns out that this *can* use clang++ but only if qtbase was built with clang++ as well, otherwise it still uses g++ even with CXX=clang++ But given the former, there is little reason to enforce the dependency. Ideally would use CXX but that would require more elaborate testing to know what it is and what qtbase was built with (perhaps if ever add the hack to qmake-utils.eclass). No revbump given PyQt* bindings are a slowish build and depcleaning gcc is a bit niche, the few interested can handle this manually until next bump. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.5.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: use qmake-utils new qt6 functions
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.5.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.4.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: use binding operator for qtbase
Seems to rarely be an issue but hit symbol problems when using PyQt6-6.4.2 with Qt6.5 without a rebuild (otherwise works with 6.5 just fine). Could happen with 6.6+ too, albeit mitigated by PyQt6 bumps happening around same time and forcing the rebuild either way. Going to skip revbump for now given the above and being a slow build (plus it's masked), uncertain whether it'll even be needed for 6.6. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: simplify using python_configure_all
Didn't really make a difference before, but now it does, Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: respect CPPFLAGS
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: set DISTUTILS_EXT=1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: adjust deps for gles2-only
Interestly this seems to only use libglvnd directly if gles2-only (for libGLESv2), otherwise uses GL seemingly only through qtbase. Not worth a revbump, still masked and libglvnd is still guaranteed through qtbase either way -- just a nitpick from iwdevtools reporting the DT_NEEDED entry. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: fix build with qtbase[-opengl]
On top of disabling the QtOpenGL bindings with USE=-opengl, also need to fully disable the OpenGL feature given it's also used in QtGui. Still not sure if this is all handled right for gles2-only, the logic is misleading. Closes: https://bugs.gentoo.org/904676 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.5.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: use pypi.eclass
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.4.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.4.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.4.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.4.1
Switch to using /usr/bin/qmake6 which is now provided by qtbase. Also bump QT_PV to use $(ver_cut 1-2), not always necessary but this makes it unnecessary to keep track of new Qt features usage. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: revert IUSE defaults for opengl
Forgot IUSE=opengl is not default on qtbase, will leave that one to desktop profiles to enable it. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: match IUSE defaults with qtbase further
Feel this is the generally sane way to handle defaults as don't get far without base modules. This adds opengl and printsupport on top of the rest, both already used by qutebrowser (albeit still misses qml which needs a non-base module). Exception for testlib as it's afaik useless outside tests. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: drop 6.3.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add 6.4.0
qt-6.4.0 is only in the ::qt overlay the moment, but this works just fine with 6.3.2 that I can see. Adding but may be better to wait to match 6.x as a precaution in the future, notably confuses 1 qutebrowser test but it has no real consequence. Eitherway, given it's masked not too woried about this and want to get some testing out of these things to know effects of mismatch. PyQt6-6.4.0 adds support for QtTextToSpeech and QtPdf but neither can be enabled at the moment. - pdf: from qtwebengine:6 but is currently disabled in its ebuild - speech: not available in <qt-6.4.0 and qtspeech:6 is not packaged in the qt overlay either yet, skips the need to bump QT_PV to 6.4:6 here for now Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: call qmake over qmake6 for now
qmake6 will be either moved or symlinked in /usr/bin (so could `type -P qmake6`), but the former would break this until updated unless use no-suffix qmake (same file). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: add bugref for qmake6 path
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6: adjust IUSE default comment
Still unsure what want to do with this. Right now using qtbase's defaults as a baseline rather than what qutebrowser needs (aka pulls no extra deps, albeit each USE still add a lot to compile time), but if the qtbase package is ever split this may be questionable. PyQt5 sets nothing which is simple, but without anything set these packages are near useless and ensures users will need to set something. May revisit when this gain other consumers and/or when getting close to unmasking. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Ionen Wolkens · gentoo
dev-python/PyQt6-sip: rename from dev-python/PyQt6_sip
Was meant to match to skip MY_P (like dev-python often does), but on second thought it doesn't feel entirely right here given (ignoring pypi tarballs) official website doesn't use underscore and old PyQt5-sip didn't either. Could probably skip pkgmove (qt6 still masked), but feels messy not to so doing it anyway. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/PyQt6: new package, add 6.3.1
May still be rough around the edges, currently only tested with qutebrowser so please report if missing anything for other consumers. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>