diff mbox series

[meta-oe,styhead] sip: Upgrade 6.8.3 -> 6.8.6

Message ID 20250130142940.2771682-1-leon.anavi@konsulko.com
State New
Headers show
Series [meta-oe,styhead] sip: Upgrade 6.8.3 -> 6.8.6 | expand

Commit Message

Leon Anavi Jan. 30, 2025, 2:29 p.m. UTC
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

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 .../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%)

Comments

Gyorgy Sarvari Jan. 30, 2025, 2:58 p.m. UTC | #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
Leon Anavi Jan. 30, 2025, 4:16 p.m. UTC | #2
Hi Gyorgy,

On 30.01.25 г. 16:58 ч., Gyorgy Sarvari via lists.openembedded.org wrote:
>> @@ -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.

> 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

>
> [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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [leon.anavi@konsulko.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/sip/sip_6.8.3.bb b/meta-oe/recipes-devtools/sip/sip_6.8.6.bb
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
--- a/meta-oe/recipes-devtools/sip/sip_6.8.3.bb
+++ b/meta-oe/recipes-devtools/sip/sip_6.8.6.bb
@@ -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 \