Commit Graph

7 Commits

Author SHA1 Message Date
Loïc Bartoletti ecb5b21c9e 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: antoine
2020-12-15 17:56:00 +00:00
Loïc Bartoletti 47b26d9293 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:        antoine
2020-12-08 20:03:07 +00:00
Diane Bruce 572280e45a Update to 4.8
Sync up with cura and cura-engine

fixes to Uranium
Tooltip areas should not steal mouse events
This prevents us from using the tooltip area in a pop-up where the Z
coordinates are not a good solution.

Round coordinates when sampling pixel for selection ray
Pixel coordinates must be integer for the Python bindings of Qt.
2020-11-21 02:39:11 +00:00
Diane Bruce 5019d0a382 This patch updates Cura and all associated dependencies to 4.7.1.
Also, it adds math/py-numpy-stl - an optional dependency that makes
loading STL files much faster. Without it, Cura was complaining:

2020-09-20 02:19:31,877 - WARNING - [MainThread] STLReader.STLReader.<module> [32]: Could not find numpy-stl, falling back to slower code.

I'm not sure where the 6.x version in cad/fdm_materials came from, seems
like now that project has its version in sync with the Cura version,
so I chose to increment PORTEPOCH for that. [Greg]

- fdm_materials adds some new materials usable with Cura
- I had to bump PORTEPOCH on a couple of ports
- py-numpy-stl was added on a separate commit
- Bump version checking in Cura on some dependancies
[db]

PR:		ports/249468
Submitted by:	greg@unrelenting.technology
2020-09-26 19:53:09 +00:00
Diane Bruce 987c7d4bc0 Report:
If you attempt to start cad/cura, it will fail with UM/View/GL/OpenGL.py
being unable to include OpenGL.

Maintainer:
I bumped PORTREVSION

PR:		ports/245129
Submitted by:	vvelox@vvelox.net
2020-03-28 19:41:50 +00:00
Diane Bruce 49471275d5 Updated pkg-descr
The Uranium framework consists of several parts, divided over several modules.
These modules are Core, Backend, Math, Mesh, Scene, Settings and View.
In addition, there are two toolkit-specific modules that implement a lot
of UI bits for the applications.
2020-03-26 12:10:43 +00:00
Diane Bruce 91447773b9 Uranium is a Python framework for building 3D printing related applications.
WWW: https://github.com/Ultimaker/uranium/wiki
2020-03-25 23:04:33 +00:00