package/python-pyqt5-sip: new package

This packages adds the PyQt5.sip module.

The official documentation [1] mentions that this module is needed
during PyQt5 runtime. It is currently compiled without any
dependencies to Qt or PyQt5, but it seems quite useless without it.
The module was introduced together with PyQt 5.11 [2].

[1] https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#building-and-installing-from-source
[2] https://www.riverbankcomputing.com/static/Docs/PyQt5/incompatibilities.html#pyqt-v5-11

Signed-off-by: Ralf Dragon <hypnotoad@lindra.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 0281a71fe91ff0598be409b261cb38eda1d609a0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Ralf Dragon 2024-04-05 19:54:53 +02:00 committed by Peter Korsgaard
parent 7eeb2c77ab
commit 3ac71fa840
5 changed files with 32 additions and 0 deletions

View File

@ -2606,6 +2606,9 @@ F: package/gupnp-av/
F: package/let-me-create/
F: package/nanomsg/
N: Ralf Dragon <hypnotoad@lindra.de>
F: package/python-pyqt5-sip/
N: Ramon Fried <rfried.dev@gmail.com>
F: package/bitwise/

View File

@ -1279,6 +1279,7 @@ menu "External python modules"
source "package/python-pypng/Config.in"
source "package/python-pyqrcode/Config.in"
source "package/python-pyqt5/Config.in"
source "package/python-pyqt5-sip/Config.in"
source "package/python-pyratemp/Config.in"
source "package/python-pyroute2/Config.in"
source "package/python-pyrsistent/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_PYQT5_SIP
bool "python-pyqt5-sip"
help
This is the PyQt5.sip module which is needed at runtime for
the PyQt5 module from package python-pyqt5.
https://pypi.org/project/PyQt5-sip/

View File

@ -0,0 +1,7 @@
# from https://pypi.org/project/PyQt5-sip/12.30.0
sha256 7f321daf84b9c9dbca61b80e1ef37bdaffc0e93312edae2cd7da25b953971d91 PyQt5_sip-12.13.0.tar.gz
# Hash for license files:
md5 9cd437778ebd1c056a76b4ded73b3a6d LICENSE
md5 e91355d8a6f8bd8f7c699d62863c7303 LICENSE-GPL2
md5 7ea41d866d6638e430db5287a3f66090 LICENSE-GPL3

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-SIP-QT5
#
################################################################################
PYTHON_PYQT5_SIP_VERSION = 12.13.0
PYTHON_PYQT5_SIP_SITE = https://files.pythonhosted.org/packages/ee/81/fce2a475aa56c1f49707d9306b930695b6ff078c2242c9f2fd72a3214e1f
PYTHON_PYQT5_SIP_SOURCE = PyQt5_sip-$(PYTHON_PYQT5_SIP_VERSION).tar.gz
PYTHON_PYQT5_SIP_LICENSE = SIP license or GPL-2.0 or GPL-3.0
PYTHON_PYQT5_SIP_LICENSE_FILES = LICENSE LICENSE-GPL2 LICENSE-GPL3
PYTHON_PYQT5_SIP_SETUP_TYPE = setuptools
$(eval $(python-package))