# py3qt6/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. As of 2025, it's no longer possible for this Linux distro to build "py3qt6" using "pip". The "pip" approach is very slow and crashes. However, a "uv" approach works. The "uv" approach is also very slow but doesn't crash yet. One oddity of the "uv" approach is that "uv" requires Rust in order to build. #--------------------------------------------------------------------- [buildtimes] 03.88 hours (or 232.82 minutes) - ThinkPad W530 i7 4x2 32GB RAM - clang # Obsolete times: 00.15 hours (or 009.17 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.22 hours (or 013.02 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.28 hours (or 016.58 minutes) - HP EliteBook 8560w 32GB RAM 00.48 hours (or 028.67 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.50 hours (or 030.12 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.57 hours (or 034.20 minutes) - ThinkPad W530 i7 4x2 32GB RAM 01.54 hours (or 092.17 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM 01.57 hours (or 094.32 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] compiler = clang # Follow the setting used for "qt6" configure = none defer = glibc64 # Needs Rust fortran = disabled license = tbd proddir = none purge = no shareddir = yes tmpsize = 147M unpack = none dontfind = qt4 qt5 setpaths = \ fontconfig freetype2 gtkcore qt6 \ qt6 xorg zlib zstd \ python3-core #--------------------------------------------------------------------- [depends] coreutils:strict expat fontconfig freetype2 gtkcore libxml2 # May not be needed python:strict python3-core:strict python3-tcltk qt6:strict rust sqlite2 # May not be needed sqlite3 # Ditto upx zlib zstd #--------------------------------------------------------------------- [build] export HOME=`pwd` rm -fr $PRODTREE/python3/lib/*/site-packages/PyQt6* # This part is needed due to a quirk of "uv". cd $PRODTREE/coreutils/bin/ || exit 1 upx -d ls >& /dev/null || true cd $HOME export LTS_CPU=1 export RUSTC_BOOTSTRAP=1 export UV_FIND_LINKS=/src/piprepo3 export UV_OFFLINE=1 export UV_SYSTEM_PYTHON=true uv venv source .venv/bin/activate echo ==== Building pyqt6-sip echo yes | uv --offline pip install pyqt6-sip echo ==== Building pyqt6 echo yes | uv --offline pip install pyqt6 #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://www.riverbankcomputing.com/software/pyqt/ url_lfs = n/a url_tarball = special # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 210326 Updated from 5.12.1 to 5.15.4 230223 Updated to 5.15.9 240320 Updated to 5.15.10 240722 Split "py3qt6" off from "py3qt5" 240722 Updated to 6.7.1 250217 Updated to 6.8.1 250305 "pip" builds of "py3qt6" no longer work 250305 Switched to "uv" builds for "py3qt6" 250331 Reworked build procedure