sip: Upgrade 6.9.1 -> 6.10.0

After the migration from Mercurial to GitHub the homepage has
changed and SIP is now licensed under the BSD-2-Clause license. The
upgrade to version 6.10.0 brings the following changes:

- SIP_ABI_VERSION has been added as a module attribute of the sip
  module. This is an integer that represents the ABI version that
  the module implements as a 3 part hexadecimal number.
  This has been implemented in ABIs v12.17 and v13.10.
- The ability of sip-module to generate sdists for older ABI
  versions has been restored. The oldest that can be generated are
  v12.9 and v13.1 which are the oldest non-deprecated versions.
- The default minor ABI version to use is now the latest minor
  version for a particular major version (rather than 0 as it was
  previously).
- The --abi-version command line option has been added to sip-build,
  sip-install and sip-wheel to specify the ABI version of the sip
  module to generate code for.
- The %MinimumABIVersion directive is used to specify the minimum
  sip module ABI to target in order to ensure that all calls to the
  public API from handwritten code are available.
  A consequence of this change is that passing string values to the
  /Deprecated/ annotation no longer requires an ABI version that
  supports them to be targeted. If the targeted ABI version does
  not support them they are simply ignored.
- The value of a string annotation uses the ; and : characters to
  allow platform- and feature-specific values to be defined. These
  special characters can now be escaped using a leading \\. This
  capability has now been documented.
- The license designator in setup.py for the latest versions of the
  sip module are now correctly specified as BSD-2-Clause.
- The code generation has been fixed for classes created by
  instantiating mapped type templates using a typedef with the
  /NoTypeName/ annotation.

This work was sponsored by GOVCERT.LU.

License-Update: SIP is now licensed under the BSD-2-Clause license.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2025-02-04 15:28:43 +02:00
committed by Khem Raj
parent 6c176d69c1
commit 595f8ae2dc
@@ -3,15 +3,15 @@
SUMMARY = "A Python bindings generator for C/C++ libraries" SUMMARY = "A Python bindings generator for C/C++ libraries"
HOMEPAGE = "https://www.riverbankcomputing.com/software/sip/" HOMEPAGE = "https://github.com/Python-SIP/sip"
LICENSE = "GPL-2.0-or-later" LICENSE = "BSD-2-Clause"
SECTION = "devel" SECTION = "devel"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1d69a33480ebf4ff8a7a760826d84e" LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1d69a33480ebf4ff8a7a760826d84e"
inherit pypi python_setuptools_build_meta python3native inherit pypi python_setuptools_build_meta python3native
PYPI_PACKAGE = "sip" PYPI_PACKAGE = "sip"
SRC_URI[sha256sum] = "7904be5190d7879952563b78a3af0e58fa27d9525af7f53f93eac7a83b433e7b" SRC_URI[sha256sum] = "fa0515697d4c98dbe04d9e898d816de1427e5b9ae5d0e152169109fd21f5d29c"
DEPENDS += "python3-setuptools-scm-native" DEPENDS += "python3-setuptools-scm-native"