Skip to contentSkip to conversation

sip: Upgrade 6.8.3 -> 6.8.6

PATCH In review Leon Anavi 2 participants 3 messages Jan 30, 2025

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/1 sip: Upgrade 6.8.3 -> 6.8.6

Upgrade to version 6.8.6:

- Handle single number macOS deployment targets
- Support for architectures where char is unsigned
- Support for building from git archives
- Run the tests using the current Python version

The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fixes:
WARNING: sip-6.8.6-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

The work was sponsored by GOVCERT.LU.

License-Update: Update years

---
 .../recipes-devtools/sip/{sip_6.8.3.bb => sip_6.8.6.bb}   | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/sip/{sip_6.8.3.bb => sip_6.8.6.bb} (64%)
meta-oe/recipes-devtools/sip/sip_6.8.6.bb renamed from meta-oe/recipes-devtools/sip/sip_6.8.3.bb +5 -3
similarity index 64%
rename from meta-oe/recipes-devtools/sip/sip_6.8.3.bb
rename to meta-oe/recipes-devtools/sip/sip_6.8.6.bb
index d12130af43..157e404515 100644
@@ -6,12 +6,14 @@ SUMMARY = "A Python bindings generator for C/C++ libraries"
 HOMEPAGE = "https://www.riverbankcomputing.com/software/sip/"
 LICENSE = "GPL-2.0-or-later"
 SECTION = "devel"
-LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1d69a33480ebf4ff8a7a760826d84e"
 
-inherit pypi setuptools3 python3native
+inherit pypi python_setuptools_build_meta python3native
 
 PYPI_PACKAGE = "sip"
-SRC_URI[sha256sum] = "888547b018bb24c36aded519e93d3e513d4c6aa0ba55b7cc1affbd45cf10762c"
+SRC_URI[sha256sum] = "7fc959e48e6ec5d5af8bd026f69f5e24d08b3cb8abb342176f5ab8030cc07d7a"
+
+DEPENDS += "python3-setuptools-scm-native"
 
 RDEPENDS:${PN} = " \
     python3-core \
Signature · 1 line
2.39.5
#1 lore raw

meta-oe/recipes-devtools/sip/sip_6.8.6.bb SUMMARY = "A Python bindings generator for C/C++ libraries" · line 10

Quoted 7 lines
meta-oe/recipes-devtools/sip/sip_6.8.6.bb renamed from meta-oe/recipes-devtools/sip/sip_6.8.3.bb +1 -1
@@ -6,12 +6,14 @@ SUMMARY = "A Python bindings generator for C/C++ libraries"
  HOMEPAGE = "https://www.riverbankcomputing.com/software/sip/"
  LICENSE = "GPL-2.0-or-later"
  SECTION = "devel"
-LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1d69a33480ebf4ff8a7a760826d84e"
 

That license hash change looks significant: apparently it was relicensed to BSD at version 6.8.4[1]. Also, it has a new homepage: https://github.com/Python-SIP/sip

[1]: https://github.com/Python-SIP/sip/commit/f32039b07c47280039dcdcd0f8a2b1323fda912e

author
#2 lore raw

Hi Gyorgy,

Quoted 10 lines · Gyorgy Sarvari via lists.openembedded.org
Quoted 9 lines
(quoted diff) +0 -0
@@ -6,12 +6,14 @@ SUMMARY = "A Python bindings generator for C/C++ 

libraries"
  HOMEPAGE = "https://www.riverbankcomputing.com/software/sip/" LICENSE = "GPL-2.0-or-later"
  SECTION = "devel"
-LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1d69a33480ebf4ff8a7a760826d84e"

That license hash change looks significant: apparently it was relicensed to BSD at version 6.8.4[1].

Hm, this is cherry-picked patch from branch master and Scarthgap as it is needed PyQt 6.8. I will have a look at the license change as it will require modification of the recipe in other branches, too.

Quoted 1 line

Also, it has a new homepage: https://github.com/Python-SIP/sip

OK, probably worth changing this too. I see in the mean time the homepage has been also updated in the pypi.org info.

Best regards, Leon

Quoted 11 lines

[1]: https://github.com/Python-SIP/sip/commit/f32039b07c47280039dcdcd0f8a2b1323fda912e

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115153): https://lists.openembedded.org/g/openembedded-devel/message/115153
Mute This Topic: https://lists.openembedded.org/mt/110897852/2167311
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-