Commit Graph

38 Commits

Author SHA1 Message Date
Wang Mingyu
5e84800e96
sip: upgrade 6.15.0 -> 6.15.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-24 13:18:30 -08:00
Wang Mingyu
84ea90031d sip: upgrade 6.14.0 -> 6.15.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-09 15:11:01 -08:00
Wang Mingyu
6e9d3bc12b sip: upgrade 6.13.1 -> 6.14.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-29 10:14:14 -07:00
Wang Mingyu
0040e2fb74
sip: upgrade 6.12.0 -> 6.13.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-14 09:00:25 -07:00
Wang Mingyu
1522313b61
sip: upgrade 6.11.0 -> 6.12.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-09 21:24:16 -07:00
Wang Mingyu
0be80951c9
sip: upgrade 6.10.0 -> 6.11.0
License-Update: Copyright year updated to 6.11.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-21 07:38:26 -07:00
Leon Anavi
595f8ae2dc
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>
2025-02-04 10:14:37 -08:00
Wang Mingyu
e7d4cb2406 sip: upgrade 6.9.0 -> 6.9.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:09 -08:00
Leon Anavi
06eacb769a
sip: Upgrade 6.8.6 -> 6.9.0
Upgrade to version 6.9.0:

- Generated bindings now require Python v3.9 or later.
- Type hints now conform to PEP 585.
- The latest sip module ABI versions are v12.16 and v13.9.
- Added support for the deprecated() decorator in .pyi files.
- PyQt-specific support for registering QFlags types.
- The handling of the SIP versions timeline was fixed.
- Annotations are now only validated if they are known to be needed.
- The buffer protocol support for byte objects was fixed.
- All outstanding compiler warnings were eliminated when building
  the sip module.
- Redundant % in trace output of this pointer in were removed.

The work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-10 13:43:54 -08:00
Leon Anavi
050ff12a41
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

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-19 20:26:41 -07:00
Wang Mingyu
7c5f04f8b5
sip: upgrade 6.8.2 -> 6.8.3
Changelog:
============
- The use of 'throw' specifiers is now deprecated and will be removed in SIP
  v7.  Instead of 'throw()', 'noexcept' should be used.  Other forms of
  'throw' are no longer required.
- Support for ABI v13.0 and ABI v12.8 and older is now deprecated and will be
  removed in SIP v7.
- Documentation fixes.
- Bug fixes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-20 08:46:30 -08:00
Wang Mingyu
dae0a0d77a
sip: upgrade 6.8.1 -> 6.8.2
Changelog:
=============
 - Added the --deprecations-are-errors command line option to all build tools.
 - All generated files are UTF-8 encoded.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:14 -08:00
Wang Mingyu
fa9122a2b8
sip: upgrade 6.8.0 -> 6.8.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-18 22:17:24 -08:00
Leon Anavi
61cd30fc78
sip: Upgrade 6.7.12 -> 6.8.0
Add runtime dependencies and upgrade sip to version 6.8.0:

- Added support for specifying the project metadata using the
  [project] section of pyproject.toml as defined in PEP 621. The
  use of the [tool.sip.metadata] is now deprecated.
- The latest version of ABI v13 is v13.7.0.
- The latest version of ABI v12 is v12.14.0.
- The conversion to a pure Python implementation is now complete.

The work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-07 14:25:11 -08:00
Leon Anavi
560f573d9c sip: upgrade 6.7.11 -> 6.7.12
Upgrade to version 6.7.12:

- Added sipPyTypeDictRef() to the v12 and v13 ABIs. sipPyTypeDict()
  is now deprecated and must not be used with Python v3.12 and later.
- Classes will automatically support being iterated over if they
  implement __getitem__() or operator[] and have a method annotated
  with __len__.
- The latest version of ABI v13 is v13.6.0.
- The latest version of ABI v12 is v12.13.0.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-18 08:47:09 -07:00
Khem Raj
7a1365b224 sip: upgrade 6.7.10 -> 6.7.11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-05 09:29:56 -07:00
Wang Mingyu
fc2f3e39e2 sip: upgrade 6.7.9 -> 6.7.10
Changelog:
===========
  - Added the --minimum-glibc-version command line option to sip-wheel.
  - The latest version of ABI v13 is v13.5.2.
  - The latest version of ABI v12 is v12.12.2.
  - Bug fixes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-01 08:46:48 -07:00
Wang Mingyu
da78900c0c sip: upgrade 6.7.8 -> 6.7.9
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-23 21:55:52 -07:00
Wang Mingyu
016f6ae65c sip: upgrade 6.7.7 -> 6.7.8
Changelog:
==========
  - The latest version of ABI v13 is v13.5.0.
  - The latest version of ABI v12 is v12.12.0.
  - The 'wheel-includes' value of the 'tool.sip.project' section of
    pyproject.toml now supports the use of absolute file patterns.
  - Replaced the use of the 'toml' package with the standard library 'tomllib'
    package for Python v3.11 and later, and the 'tomli' package for earlier
    versions of Python.
  - Bug fixes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-17 09:53:32 -07:00
Wang Mingyu
cc6cce127c sip: upgrade 6.7.5 -> 6.7.7
Changelog:
Significantly reduced the memory requirements.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-22 01:03:38 -08:00
Khem Raj
2d0e47cd85 sip: Add recipe for 6.7.5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-06 09:23:33 -08:00
Alexander Kanavin
4dc1c6e16b sip3: remove the recipe
It is not compatible with python 3.11, and all
development on that series has ceased:
https://riverbankcomputing.com/software/sip/download

There is an actively maintained version
https://www.riverbankcomputing.com/news/SIP_v6.6.2_Released
https://pypi.org/project/sip/
but it probably needs a newly written recipe if someone has interest in it.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-27 08:55:20 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
S. Lockwood-Childs
5fe362171c sip3: simplify recipe
The custom configure block can be shared between target
and native if you just configure the sysroot option accordingly
and use STAGING_INCDIR to locate the python headers to build
against.

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-25 14:58:54 -08:00
Leon Anavi
358b398258 sip3: Upgrade 4.19.19 -> 4.19.23
Upgrade to release 4.19.23:

- Added some missing quotes to configure.py
- Fixed a race condition when calling the PyQt5-specific meta-call
  helper.
- Fixed the wrapping of methods that return a Py_Ssize_t.
- The code generator now distinguishes between the copy/assignment
  helper and the array helper when determining which helpers can
  be generated.
- Fixed the code generation when making a copy of C++ object on
  the stack to the heap when the class has no suitable ctor.
- Check there is a public copy ctor when we can't using an
  assigment operator as a workaround.
- Preserve any current exception in the implementation of the
  wrapper dealloc functions.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-17 15:11:21 -07:00
Leon Anavi
2bc281393a sip3: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
Fix the broken link for HOMEPAGE.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-17 15:11:21 -07:00
Khem Raj
c9e0f7dc69 sip: Delete python2 version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:35 -08:00
Khem Raj
5057746583 meta-oe: Remove using python2
This change makes the parsing go though, we still might have build
issues, which will be reported in world builds seprately

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:34 -08:00
Khem Raj
44f4f89d7d sip: Upgrade to 4.19.19
Needed for QT 5.13 based python modules

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-10 07:52:39 -08:00
Philip Balister
d42cce95a8 sip: Update to 4.19.16.
* Note SRC_URI changed from SourceForge to Riverbank

Signed-off-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-16 21:07:25 -07:00
Philip Balister
7d892a14ef sip: Add python3 version of the sip recipe.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-04 16:08:47 -07:00
Philip Balister
0597b5c0ba sip: Update to 4.19.13.
* Deleted patch is in new version.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-04 16:07:55 -07:00
Philip Balister
b82388509c sip: Fix packaging so python module ends up in the right place.
* The patch is generated by diffing the last release with the sip Hg
   repo tip. Also have to run the build script to update configure.py.

Signed-off-by: Philip Balister <philip@balister.org>
2018-09-24 18:10:43 -07:00
Philip Balister
26f251fb1e sip: Update from 4.19.8 to 4.19.12.
* This builds the private sip module for building PyQt5. In the
   future we should split into a -tools and -modules. But lets fix
   building for now

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 00:07:52 -07:00
Diego Rondini
50b0ed791d sip: update recipe to 4.19.8
Update sip to latest version to allow update of PyQt.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2018-05-01 18:12:48 -07:00
Philip Balister
229f824568 sip: update recipe to 4.19.2.
* Needed for PyQt-5.8.2, a recipe I am looking at again.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-23 15:49:39 +02:00
Andreas Müller
9b1ef52386 sip: re-add 4.19
* This recipe is based upon the version in meta-qt4 but that one requires qmake
  for configuration and qt4-x11 in dependencies.
  It was tested by building sip-native and sip from scratch: There is no need for
  a dependency on Qt.
* Since pyqt5 will be added in meta-qt5-extra and meta-qt4
  needs sip too: add it to a more common place.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 15:58:54 +01:00