* [Buildroot] [PATCH 1/1] package/python-pyqt5-sip: bump version to 12.15.0
@ 2024-10-26 17:27 Julien Olivain
2024-10-26 20:05 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Julien Olivain @ 2024-10-26 17:27 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain, James Hilliard, Ralf Dragon, Asaf Kahlon
The versioning scheme of this package is not trivial: the PyQt5-sip
version number does not corresponds to the actual version tag name in
its Python-SIP source repository. For that reason, this commit adds a
comment explaining this peculiar mapping. This comment will help, in
future maintenance tasks.
To better understand the upstream changes in this package explained in
this commit log, it is worth mentioning that:
- PyQt5-sip 12.13.0 was generated with Python-SIP 6.7.12, and
- PyQt5-sip 12.15.0 was generated with Python-SIP 6.8.6.
The package license has changed to BSD-2-Clause, in upstream commits:
https://github.com/Python-SIP/sip/commit/0ba3b233ec8ed7f22f2f2f950b64f61b50ddfc00
https://github.com/Python-SIP/sip/commit/4dde1491f7b8ace15833cffb86bee82d60683968
https://github.com/Python-SIP/sip/commit/f32039b07c47280039dcdcd0f8a2b1323fda912e
This commit updates the _LICENSE and _LICENSE_FILES macro
accordingly. The license hash file is also updated. While at it, this
commit also adds the MD5 hash published upstream.
This commit also introduces minor improvements to better follow
Buildroot package conventions:
- the .mk file header is changed to lower case,
- hash file comments are updated,
- the locally calculated license file hash is changed from MD5 to
SHA256.
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
.../python-pyqt5-sip/python-pyqt5-sip.hash | 11 +++++-----
package/python-pyqt5-sip/python-pyqt5-sip.mk | 20 ++++++++++++++-----
2 files changed, 20 insertions(+), 11 deletions(-)
diff --git a/package/python-pyqt5-sip/python-pyqt5-sip.hash b/package/python-pyqt5-sip/python-pyqt5-sip.hash
index fb4a8cb04d..909ee2ef33 100644
--- a/package/python-pyqt5-sip/python-pyqt5-sip.hash
+++ b/package/python-pyqt5-sip/python-pyqt5-sip.hash
@@ -1,7 +1,6 @@
-# from https://pypi.org/project/PyQt5-sip/12.30.0
-sha256 7f321daf84b9c9dbca61b80e1ef37bdaffc0e93312edae2cd7da25b953971d91 PyQt5_sip-12.13.0.tar.gz
+# From https://pypi.org/pypi/PyQt5-sip/json
+md5 9e0909e79f40619b0f2d3d3c33b4d4f7 PyQt5_sip-12.15.0.tar.gz
+sha256 d23fdfcf363b5cedd9d39f8a9c5710e7d52804f5b08a58e91c638b36eafcb702 PyQt5_sip-12.15.0.tar.gz
-# Hash for license files:
-md5 9cd437778ebd1c056a76b4ded73b3a6d LICENSE
-md5 e91355d8a6f8bd8f7c699d62863c7303 LICENSE-GPL2
-md5 7ea41d866d6638e430db5287a3f66090 LICENSE-GPL3
+# Locally calculated
+sha256 3859cfca971e429d6b79bdfeb1dc9e43aa9592f7295bf28fdd62824097909383 LICENSE
diff --git a/package/python-pyqt5-sip/python-pyqt5-sip.mk b/package/python-pyqt5-sip/python-pyqt5-sip.mk
index e52081ab45..49762ec58c 100644
--- a/package/python-pyqt5-sip/python-pyqt5-sip.mk
+++ b/package/python-pyqt5-sip/python-pyqt5-sip.mk
@@ -1,14 +1,24 @@
################################################################################
#
-# python-SIP-QT5
+# python-sip-qt5
#
################################################################################
-PYTHON_PYQT5_SIP_VERSION = 12.13.0
-PYTHON_PYQT5_SIP_SITE = https://files.pythonhosted.org/packages/ee/81/fce2a475aa56c1f49707d9306b930695b6ff078c2242c9f2fd72a3214e1f
+# Note about the package version:
+# This module version corresponds in fact to the "sip" ABI
+# version (not the version of its generator). See:
+# https://github.com/Python-SIP/sip/blob/6.8.6/sipbuild/module/source/12/sip.h.in#L43
+# The source git repository of this module is located at:
+# https://github.com/Python-SIP/sip/tree/main/sipbuild/module/source
+# The Python-SIP version/tag which generated a given "sip" module is
+# recorded in the PyPI source file "sip.h", in the SIP_VERSION_STR
+# macro. For example, PyQt5-sip 12.15.0 was generated with Python-SIP
+# 6.8.6.
+PYTHON_PYQT5_SIP_VERSION = 12.15.0
+PYTHON_PYQT5_SIP_SITE = https://files.pythonhosted.org/packages/1b/15/78318d50f10062c428e97e7ce387e772616a4673c356018b905f247a6a85
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_LICENSE = BSD-2-Clause
+PYTHON_PYQT5_SIP_LICENSE_FILES = LICENSE
PYTHON_PYQT5_SIP_SETUP_TYPE = setuptools
$(eval $(python-package))
--
2.47.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/python-pyqt5-sip: bump version to 12.15.0
2024-10-26 17:27 [Buildroot] [PATCH 1/1] package/python-pyqt5-sip: bump version to 12.15.0 Julien Olivain
@ 2024-10-26 20:05 ` Thomas Petazzoni via buildroot
2024-10-28 8:05 ` Ralf Dragon
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-26 20:05 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot, James Hilliard, Ralf Dragon, Asaf Kahlon
On Sat, 26 Oct 2024 19:27:41 +0200
Julien Olivain <ju.o@free.fr> wrote:
> The versioning scheme of this package is not trivial: the PyQt5-sip
> version number does not corresponds to the actual version tag name in
> its Python-SIP source repository. For that reason, this commit adds a
> comment explaining this peculiar mapping. This comment will help, in
> future maintenance tasks.
>
> To better understand the upstream changes in this package explained in
> this commit log, it is worth mentioning that:
> - PyQt5-sip 12.13.0 was generated with Python-SIP 6.7.12, and
> - PyQt5-sip 12.15.0 was generated with Python-SIP 6.8.6.
>
> The package license has changed to BSD-2-Clause, in upstream commits:
> https://github.com/Python-SIP/sip/commit/0ba3b233ec8ed7f22f2f2f950b64f61b50ddfc00
> https://github.com/Python-SIP/sip/commit/4dde1491f7b8ace15833cffb86bee82d60683968
> https://github.com/Python-SIP/sip/commit/f32039b07c47280039dcdcd0f8a2b1323fda912e
>
> This commit updates the _LICENSE and _LICENSE_FILES macro
> accordingly. The license hash file is also updated. While at it, this
> commit also adds the MD5 hash published upstream.
>
> This commit also introduces minor improvements to better follow
> Buildroot package conventions:
> - the .mk file header is changed to lower case,
> - hash file comments are updated,
> - the locally calculated license file hash is changed from MD5 to
> SHA256.
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> .../python-pyqt5-sip/python-pyqt5-sip.hash | 11 +++++-----
> package/python-pyqt5-sip/python-pyqt5-sip.mk | 20 ++++++++++++++-----
> 2 files changed, 20 insertions(+), 11 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/python-pyqt5-sip: bump version to 12.15.0
2024-10-26 20:05 ` Thomas Petazzoni via buildroot
@ 2024-10-28 8:05 ` Ralf Dragon
0 siblings, 0 replies; 3+ messages in thread
From: Ralf Dragon @ 2024-10-28 8:05 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot, James Hilliard, Asaf Kahlon, Thomas Petazzoni
Thank you for the cleanups and clarifications!
Ralf
Am 26.10.24 um 22:05 schrieb Thomas Petazzoni:
> On Sat, 26 Oct 2024 19:27:41 +0200
> Julien Olivain <ju.o@free.fr> wrote:
>
>> The versioning scheme of this package is not trivial: the PyQt5-sip
>> version number does not corresponds to the actual version tag name in
>> its Python-SIP source repository. For that reason, this commit adds a
>> comment explaining this peculiar mapping. This comment will help, in
>> future maintenance tasks.
>>
>> To better understand the upstream changes in this package explained in
>> this commit log, it is worth mentioning that:
>> - PyQt5-sip 12.13.0 was generated with Python-SIP 6.7.12, and
>> - PyQt5-sip 12.15.0 was generated with Python-SIP 6.8.6.
>>
>> The package license has changed to BSD-2-Clause, in upstream commits:
>> https://github.com/Python-SIP/sip/commit/0ba3b233ec8ed7f22f2f2f950b64f61b50ddfc00
>> https://github.com/Python-SIP/sip/commit/4dde1491f7b8ace15833cffb86bee82d60683968
>> https://github.com/Python-SIP/sip/commit/f32039b07c47280039dcdcd0f8a2b1323fda912e
>>
>> This commit updates the _LICENSE and _LICENSE_FILES macro
>> accordingly. The license hash file is also updated. While at it, this
>> commit also adds the MD5 hash published upstream.
>>
>> This commit also introduces minor improvements to better follow
>> Buildroot package conventions:
>> - the .mk file header is changed to lower case,
>> - hash file comments are updated,
>> - the locally calculated license file hash is changed from MD5 to
>> SHA256.
>>
>> Signed-off-by: Julien Olivain <ju.o@free.fr>
>> ---
>> .../python-pyqt5-sip/python-pyqt5-sip.hash | 11 +++++-----
>> package/python-pyqt5-sip/python-pyqt5-sip.mk | 20 ++++++++++++++-----
>> 2 files changed, 20 insertions(+), 11 deletions(-)
> Applied to master, thanks.
>
> Thomas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-28 8:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-26 17:27 [Buildroot] [PATCH 1/1] package/python-pyqt5-sip: bump version to 12.15.0 Julien Olivain
2024-10-26 20:05 ` Thomas Petazzoni via buildroot
2024-10-28 8:05 ` Ralf Dragon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox