From c93994f1bb601c57548b588d4f77a044d90822cf Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 6 Feb 2025 18:40:29 +0200 Subject: sip: Upgrade 6.8.3 -> 6.8.6 After the migration from Mercurial to GitHub the homepage has changed and SIP has been licensed under the BSD-2-Clause license since Feb 9, 2024. 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] Please note SIP version 6.8.6 is present for branch Scarthgap and it is required for PyQt6 6.8 from layer meta-qt6 (branch 6.8). The work was sponsored by GOVCERT.LU. License-Update: SIP is licensed under the BSD-2-Clause license. Signed-off-by: Leon Anavi Signed-off-by: Armin Kuster --- meta-oe/recipes-devtools/sip/sip_6.8.3.bb | 24 ------------------------ meta-oe/recipes-devtools/sip/sip_6.8.6.bb | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 24 deletions(-) delete mode 100644 meta-oe/recipes-devtools/sip/sip_6.8.3.bb create mode 100644 meta-oe/recipes-devtools/sip/sip_6.8.6.bb diff --git a/meta-oe/recipes-devtools/sip/sip_6.8.3.bb b/meta-oe/recipes-devtools/sip/sip_6.8.3.bb deleted file mode 100644 index d12130af43..0000000000 --- a/meta-oe/recipes-devtools/sip/sip_6.8.3.bb +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (C) 2022 Khem Raj -# Released under the MIT license (see COPYING.MIT for the terms) - -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" - -inherit pypi setuptools3 python3native - -PYPI_PACKAGE = "sip" -SRC_URI[sha256sum] = "888547b018bb24c36aded519e93d3e513d4c6aa0ba55b7cc1affbd45cf10762c" - -RDEPENDS:${PN} = " \ - python3-core \ - python3-packaging \ - python3-logging \ - python3-tomllib \ - python3-setuptools \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-devtools/sip/sip_6.8.6.bb b/meta-oe/recipes-devtools/sip/sip_6.8.6.bb new file mode 100644 index 0000000000..1defe29b08 --- /dev/null +++ b/meta-oe/recipes-devtools/sip/sip_6.8.6.bb @@ -0,0 +1,26 @@ +# Copyright (C) 2022 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "A Python bindings generator for C/C++ libraries" + +HOMEPAGE = "https://github.com/Python-SIP/sip" +LICENSE = "BSD-2-Clause" +SECTION = "devel" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1d69a33480ebf4ff8a7a760826d84e" + +inherit pypi python_setuptools_build_meta python3native + +PYPI_PACKAGE = "sip" +SRC_URI[sha256sum] = "7fc959e48e6ec5d5af8bd026f69f5e24d08b3cb8abb342176f5ab8030cc07d7a" + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN} = " \ + python3-core \ + python3-packaging \ + python3-logging \ + python3-tomllib \ + python3-setuptools \ +" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf