This diff follow ups https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247369. I wanted to fix and update www/py-qt5-webengine and... that escalated quickly.
I discovered that RiverBankComputing doesn't offer links to download latest version of some ports (for example PyQt 5.15), I use pypi links as on arch. So, we have latest versions of all pyqt stuff.
py-sip is now mostly a bin set tools and PyQt5 requires PyQt5_Sip (which I added in devel/py-qt5-sip [1]) to run [2] and to build [3].
BTW, I've made some changes in Mk/Uses/pyqt.mk, alphabetize USE_PYQT and strip lib installed by PyQt.
New PyQt modules added are:
- comms/py-qt5-sensors
- devel/py-qt5-location
- devel/py-qt5-remoteobjects
- net/py-qt5-networkauth
For your information, QtQuick3d and some others are missing so I couldn't add their py-qt versions.
In theory, devel/py-qt5-qscintilla2 can be built with setuptools and devel/py-qtbuilder. After a few tries, I went back to using configure.py. So I don't know if devel/py-qtbuilder worth to be added in the ports tree.
Last but not least, sip5 drops sipconfig and even if it is a depreciated module since 2014 it is still in use [4]. It will be necessary to look at how many ports will be broken by this change and if it is not easier for the moment to stay on SIP 4.
The diff is still in its raw state and needs polishing.
[1] I'm unsure about theses names. Maybe it's worth renaming devel/py-sip?
[2] Confirmed with QtCore
[3] Per devel/py-qt5-qscintilla2 and www/py-qt5-webengine
[4] There are discussions and work to fix graphics/qgis and graphics/krita https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1753208.html