Commit Graph
8 Commits
Author SHA1 Message Date
Markus Volk 7ff29cc050 python3-wxgtk4: drop the six and attrdict3 dependencies
wxPython's build no longer imports six or attrdict; both native
dependencies are stale.

Built for intel-corei7-64.

AI-Generated: Uses Claude Code (Claude Opus 5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-22 11:36:19 -07:00
Ross Burton 370780c0fd meta-python: remove obsolete dependencies on python3-six
These recipes no longer use six, so remove the dependency.

The list of recipes that still use six is a somewhat useful proxy for
packages that are no longer maintained...

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-21 08:13:54 -07:00
Ross Burton e2f053038c meta-python: remove redundant UPSTREAM_CHECK_PYPI_PACKAGE
Remove redundant UPSTREAM_CHECK_PYPI_PACKAGE assignments of PYPI_PACKAGE,
which is the default value.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:37 -07:00
Khem Raj 00052f9d29 python3-wxgtk4: Drop the --baselib option from WX_CONFIG
wx-config gained --baselib from 0005-wx-config-fix-libdir-for-multilib.patch
in the wxwidgets recipe. The 3.2.11 upgrade dropped that patch, since
upstream reworked the install paths to derive from CMAKE_INSTALL_LIBDIR
and no longer needs it. wx-config therefore no longer accepts the option
and the build fails:

|   *** Error: Unrecognised option: '--baselib=lib'
|   Use wx-config --help for information on command line options.

Nothing else needs it: wxwidgets' do_compile:append already rewrites
libdir in wx-config to an absolute ${STAGING_LIBDIR}, so the lib
component never comes from the prefix here.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-14 09:06:29 -07:00
Khem Raj 41f6014d1f python3-wxgtk4: Skip the pep517-backend QA check
wxPython's pyproject.toml declares setuptools.build_meta, so do_check_backend
warns:

  QA Issue: inherits setuptools3 but has pyproject.toml with
  setuptools.build_meta, use the correct class [pep517-backend]

Switching to python_setuptools_build_meta is not possible though. The sdist
ships a build.py in its top level directory which shadows the "build" module
that pyproject-build imports itself, so do_compile dies before it even looks
at the recipe:

  File ".../recipe-sysroot-native/usr/bin/pyproject-build", line 5, in <module>
    from build.__main__ import entrypoint
  ModuleNotFoundError: No module named 'build.__main__'; 'build' is not a package

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-28 22:48:28 -07:00
Khem Raj e815f8d545 python3-wxgtk4: Use valid SPDX identifier for the wxWindows license
"wxWindows" is not a valid SPDX license identifier and has no generic
license file, so do_populate_lic fails the license-exists QA check:

  No generic license file exists for: wxWindows in any provider

Spell it as the current SPDX expression, matching the wxwidgets recipe
this binds to: LGPL-2.0-or-later WITH WxWindows-exception-3.1.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-20 23:08:09 -07:00
Khem Raj 8f3df8b447 recipes: Convert licenses to SPDX expressions
- Automatically convert all licenses to valid SPDX license expressions
  using convert-spdx-licenses.py

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-20 22:35:47 -07:00
Liu Yiding 012b5306a2 python3-wxgtk4: upgrade 4.2.4 -> 4.2.5
Remove customization of ${S} as package name has restored to wxpython-${PV}.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-02 19:25:59 -08:00