x11-toolkits/py-qt[56]-chart: Rename to *-charts Move x11-toolkits/py-qt[56]-chart to x11-toolkits/py-qt[56]-charts to be consistent with the names of their C++ counterparts. Qt has always pluralized the Charts module, but PyQt didn't pluralize it until Qt6. With the upcomming addition of the PyQt Graphs module, keeping this singular would be even more awkwark. While here: Add all pyqt5 components except webengine to the devel/py-qt5 metaport to be consistent with the devel/py-qt6 metaport.9b61d832f9
Port details
devel/py-qt55.15.11_1
Python bindings for the Qt 5 toolkit (meta port)
- Maintainer
- kde@FreeBSD.org
- Packages
- py312-qt5 5.15.11_1
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://riverbankcomputing.com/software/pyqt
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (39)
PyQt5: Update to latest versions - PyQt5: Update to 5.15.10 - PyQt-builder: Update to 1.15.3 - PyQt5-sip: Update to 12.13.0 - sip: Update to 6.7.1208cac15470
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9caudio/opus: bump consumers after update to 1.4feb1fa34f5
PyQt: Update to latest versions - PyQt5: update to 5.15.9 - PyQt6: upate to 6.4.2 - PyQt6-sip: update to 13.4.1 - PyQt5-sip: update to 12.11.1 - PyQt-builder: update to 1.14.1 - sip: upate to 6.7.7 PR: 269751 Exp-run by: antoine6d3a647cc0
*/*pyqt*: Add pyqt6 ports Reviewed by: tcberner, lbartoletti, fluffy Approved by: kde (tcberner, lbartoletti, fluffy), portmgr (tcberner) Differential Revision: https://reviews.freebsd.org/D37191bac27439dc
*/*: Update PyQt, Sip, QSCintlla2 PR: 267203 Exp-run by: antoine9f4f33134a
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
PyQt: Update sip to 6.5.0, reintroduce sip4 and simplify PyQt framework. SIP: As mentioned in the update from sip to sip5, this is a transitional version to remove what is deprecated in sip4. Sip6 completely removes the deprecated parts. Unfortunately, some ports — mostly cura things — can not use sip6, so we reintroduce sip4. PyQt: At the same time, we took the opportunity to simplify PyQT and propose only one package as for devel/pyside2. */py-qt5-* have been merged — excepted chart, networkauth and webengine — into devel/py-qt5-pyqt. This allows us to be in adequacy with the packages that the author of these libraries proposes, namely: PyQt - devel/py-qt5-pyqt PyQt-Charts - x11-toolkits/py-qt5-chart PyQt-NetworkAuth – net/py-qt5-networkauth PyQt-WebEngine – www/py-qt5-webengine SIP – devel/py-sip py-sip - devel/py-qt5-sip PyQt-builder - devel/py-qtbuilder Qscintilla - devel/py-qt5-qscintilla2 Reviewed by: diizzy, kde Tested by: kai, rhurlin, arrowd, madpilot Approved by: makc, tcberner, kde Differential Revision: https://reviews.freebsd.org/D33237 Exp-run by: antoine4f0a5e1540
*/py-qt5-*: Remove Digia's mention in pkg-descr There was Trolltech, Nokia, Qt Project, Digia and today The Qt Company. To avoid replacing the name at each structure, we will simply mention that: "PyQt5 is a set of Python bindings for Qt5 application framework"8a3ac3c128
devel/py-qt5-positioning: New port - Provide PyQt5 QtPositioning module The QtPositioning module contains classes to determine a position by using a variety of possible sources, including satellite, or wifi, or a text file, and so on. That information can then be used to, for example, determine a position on a map. In addition satellite information can be retrieved and area based monitoring can be performed. https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtpositioning/qtpositioning-module.html Reviewed by: lbartoletti, #portmgr! Approved by: lbartoletti (kde@) Differential Revision: https://reviews.freebsd.org/D3082906e8213fe9
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
PyQt5: Update PyQt5 to 5.15.4 and py-qtbuilder to 1.9.1 PR: 254218 Exp-run by: antoine0b7a24020a
PyQt5: Update PyQt5 to 5.15.3, QScintilla2 to 2.12.0, py-qtbuilder to 1.9.0 * PyQt5: update to 5.15.3 This is a minor feature and bug-fix release. There are corresponding releases of the other PyQt5-related packages. - Added the missing QImage.setAlphaChannel(). - Support for the QtNetworkAuth library has been moved to a separate PyQtNetworkAuth package. - Wheels no longer bundle the corresponding Qt libraries and instead automatically install them from an external wheel. * QScintilla2: update to 2.12.0 This adds support for Qt6 and removes support for Qt4. - Change the new distname (again)i due to a conflict - Use the new sip-build system * devel/py-qtbuilder: update to 1.9.0 * devel/py-sip: fix flavor for sip-distinfo PR: 253865 Exp-run by: antoine108f234f7f
Update PyQt5 to 5.15.2, sip to 5.5.0, py-qtbuilder to 1.6.0 and py-qt5-sip to 12.8.1 PR: 251764 Exp-run by: antoineecb5b21c9e
Update Qt/PySide2 to 5.15.2 / PyQt to 5.15.1 / SIP to 5.4.0 This commit combines several updates.
- Update Qt to 5.12.2
- Update PyQt to 5.15.1
- Since PySide 5.15.1 is broken with Qt 5.15.2, so PySide and Shiboken are also updated to 5.15.2.
- Update sip to 5.4.0
SIP is a collection of tools to create Python bindings for C and C++ libraries and used by PyQt and wxPython. There are some changes with sip5 [1]:
- python 3.5+ is required
- sip drops support of old deprecated methods as sipdistutils & cie.
- this version breaks also PyQt5 extension ABI. SIP files will be installed in ${PYTHON_SITELIBDIR}/PyQt${_PYQT_VERSION}/bindings
- some ports will use the new pyqtbuilder package with the pyproject.toml setup. Instead if the project have a setup.py, you should use sip-build to build it.
- if a port needs sip, it should also needs pysip. BTW, py-qt5-core requires pysip, so that should be enough for PyQt packages.
List of ports impacted by this change. Most of the patches have been integrated or are in the process of being integrated upstream:
- devel/libsavitar
- graphics/py-python-poppler-qt5
- net-im/scudcloud
- net/libarcus
- print/py-frescobaldi
- science/py-veusz
- graphics/qgis and graphics/qgis-ltr
- deskutils/calibre
A special note regarding calibre. New versions require sip>=5, we update it to the latest version (thanks to madpilot@)
science/scidavis will remove the PyQt binding soon and there is no patch planned, so we remove the python option (ok makc@)
While here, convert some ports to USE_PYQT (cad/cura, cad/uranium, devel/eric6, ...)
Thanks to tcberner and adridg!
[1] https://www.riverbankcomputing.com/static/Docs/sip/
PR: 250853
Exp-run by: antoine47b26d9293Update PyQt to 5.15.0, py-sip to 4.19.24 and qscintilla2 to 2.11.5 - Update PyQt to 5.15.0, py-sip to 4.19.24 and qscintilla2 to 2.11.5 - Use pypi for PYQT [1] - Add devel/py-qt5-sip (Don't use it for now. It will be used in future updates of PyQt with py-sip >= 5) - Add missing py-qt5 ports: comms/py-qt5-sensors, devel/py-qt5-location, devel/py-qt5-remoteobjects, net/py-qt5-networkauth - Strip libs - Refactor *_PATH and *_PORT parts [1] RiverBankComputing doesn't offer links to download latest version of some ports PR: 247369 Reviewed by: tcberner Differential Revision: https://reviews.freebsd.org/D25749 Exp-run by: antoine2933bb22c3
devel/py-qt5: Canonicalize option names /!\ py36-qt5-5.13.1: Makefile warnings, please consider fixing /!\ These options name have characters outside of [-_A-Z0-9]: core dbus dbussupport demo designer designerplugin gui multimedia multimediawidgets network opengl printsupport qml qscintilla2 quickwidgets serialport sql svg test webchannel webengine webkit webkitwidgets widgets xml xmlpatterns - While here add missing options for py-sip and py-qt5-help Approved by: kde (tcberner) Differential Revision: https://reviews.freebsd.org/D2254024fabd36ae
Upgrade PyQt to 5.13.1 (and sip 4.19.19) PR: 241323 Exp-run by: antoine40820d528b
PyQt: Update to 5.13.0 Updates - PyQt to 5.13.0 - sip to 4.19.18 - qscintilla to 2.11.2 PR: 239023 Exp-run by: antoine3aef0d5211
Update pyqt to 5.12.2 (with it sip to 4.19.17) Exp-run by: antoine PR: 23788954c94e46cd
Update PyQt5 to 5.12.1 - Upgrade sip to 4.19.15 - Upgrade qscintilla2 to 2.11.1 - Upgrade PyQt to 5.12.1 - From this version on www/py-qt5-webengine is unbundled and ships its own distfile PR: 236894 Exp-run by: antoineeaee14a38f
Fix Qt5 symbol version scripts to put the catch-all clause first. When a symbol matches multiple clauses the last one takes precedence. If the catch-all is last it captures everything. In the case of Qt5 libraries this caused all symbols to have a Qt_5 label while some should have Qt_5_PRIVATE_API. This only affects lld because GNU ld always gives the catch-all lowest priority. Older versions of Qt5Webengine exported some memory allocation symbols from the bundled Chromium. Version 5.9 stopped exporting these [1] but the symbols were kept as weak wrappers for the standard allocation functions to maintain binary compatibility. [2][3] The problem is that the call to the standard function in these weak wrappers is only resolved to the standard function if there's a call to this standard function in other parts of Qt5Webengine, because only then is there a non-weak symbol that takes precedence over the weak one. If there's no such non-weak symbol the call in the weak wrapper resolves to the weak wrapper itself creating an infinite call loop that overflows the stack and causes a crash. Some of the allocation functions are variants of C++ new and delete and it probably depends on the compiler whether these variants are used in other parts of Qt5Webengine. Remove the weak wrappers (make them Linux specific). This isn't binary compatible but we are already breaking that with the changes to the symbol versions. [1] https://github.com/qt/qtwebengine/commit/5c2cbfccf9aafb547b0b30914c4056abd25942a4 [2] https://github.com/qt/qtwebengine/commit/2ed5054e3a800fa97c2c9e920ba1e6ea4b6ef2a5 [3] https://github.com/qt/qtwebengine/commit/009f5ebb4bd6e50188671e0815a5dae6afe39db5 Bump all ports that depend on Qt5. PR: 234070 Exp-run by: antoine Approved by: kde (adridg)1bf487d3e7
Update PyQt5 to 5.11.3 - sip upgrade to 4.19.13 - qscintilla2 upgrade to 2.10.8 - PyQt5 upgrade to 5.11.3 This has been worked on by arrowd and myself. PR: 233954 Exp-run by: antoineb9ead510b9
pyqt: Change install directories for Python flavor support * PyQt could not be installed for multiple Python versions at the same time, as there were conflicting files. This patch creates Python-version versioned directories for all these, and further installs binaries with a version number. * Note, there might be some hickups for software that depends on on of the .so's provided by PyQt5, which might not be found anymore autmotically, and maybe need some LD-flaggery. * Update PyQt5 to 5.10.1 * Mark www/py-qt5-webengine broken. It is unforuntately no longer compatible with the old qt5-webengine-5.9.4 we ship. PR: 232745 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D8714cc8a667aa2
Add x11-toolkits/py-qt5-quickwidgets, Python bindings for QtQuickWidgets module Reviewed by: tcberner (kde) Approved by: tcberner (kde) Differential Revision: https://reviews.freebsd.org/D15903af3ce47a68
Update the QScintilla2 ports to 2.10.4ddd37ce3fd
Bump PORTREVISION in the PyQt5 ports after r460809.5ebd680c09
- Update WWWs for all py-qt4* and py-qt5* ports - Fix plists for py-qt5* for python3 case, adding missing .pyi files Approved by: portmgr blanketb4b8a14c29
New ports: www/py-qt5-webchannel and www/py-qt5-webengine Reviewed by: mat, tcberner Approved by: tcberner Differential Revision: https://reviews.freebsd.org/D129647fb154ca8f
Update SIP to 4.19.6, PyQt4 to 4.12.1 and PyQt5 to 5.9.2. Upstream no longer ships the contents of misc/py-qt5-doc, so the port has been removed. This is also a requirement for updating the Qt5 ports, as the PyQt5 version currently in the tree has license conflicts with later Qt versions. Big thanks to tcberner for doing most of the work here, and antoine for the exp-run. PR: 224739a9709471be
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464551be3c723- Remove empty lines after .include <bsd.port.mk>: devel/py3-pyasn1 devel/py3-pytest-xdist devel/py3-urwid emulators/i386-wine-staging net/py3-pysocks net/py3-urllib3 - Fix distinfo: devel/py-qt5 - Remove quotes from IGNORE: devel/gcc-arm-embedded Approved by: portmgr blanket0428715088
Update py-sip to 4.19.2, py-qt4 to 4.12 and py-qt5 to 5.7.1 * This is mostly based on the work by Adriaan de Groot <groot@kde.org> in our development repo. PR: 217305 PR: 218539 Submitted by: Adriaan de Groot <groot@kde.org> Reviewed by: rakuco, mat Approved by: rakuco (mentor) Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D9771aa9ba55255
Udpate PyQt5 to 5.6.2 Update PyQt from 5.5.1 to 5.6.2 to match the Qt updates that have already landed in the ports tree. PR: 214355 Submitted by: Adriaan de Groot <groot@kde.org> Reviewed by: rakuco, tcberner Approved by: rakuco (mentor) Exp-Run by: antoine Differential Revision: https://reviews.freebsd.org/D8408b899264b8b
devel/py-qt5: refactor PR: 209326 Submitted by: rakuco, T.C.Berner <tcberner@gmail.com>, Ralf Nolden <nolden@kde.org>6eb713b48d
At very long last land PyQt5 5.5.1 ports. Add the required bits to Uses/pyqt.mk along with all the PyQt5 ports. Thankfully this commit is mostly adding new ports, as the hard work was already done in r403297 and r403662. Huge kudos to Tobias Berner <tcberner@gmail.com> and, most importantly, Guido Falsi (madpilot@) for their initial work on these ports (see D2910 in Phabricator for an earlier version of the PyQt5 patch set). PR: 2046725b3f3dd953