dev-python / PyQt6

Python bindings for the Qt framework

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

v6.5.2 :: 0 :: gentoo

Modified
License
GPL-3
Keywords
amd64
USE flags
bluetooth dbus debug designer examples gles2-only gui help multimedia network nfc opengl 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 or later instead of full OpenGL
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
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 / 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 / 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-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

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

913493
dev-python/PyQt6-6.5.2 Project ERROR: Cannot run compiler 'g++'. Output:
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>