[meta-python][PATCH] python3-wxgtk4: Use valid SPDX identifier for the wxWindows license

Khem Raj <[email protected]> Mon, 20 Jul 2026 23:07:52 -0700
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
"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 <[email protected]>
---
 .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb
index 1ee6e5b93b..a84648266e 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit."
 HOMEPAGE = "https://www.wxpython.org"

-LICENSE = "BSD-2-Clause AND LGPL-2.0-only AND wxWindows"
+LICENSE = "BSD-2-Clause AND LGPL-2.0-only AND LGPL-2.0-or-later WITH WxWindows-exception-3.1"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=102f37a0d23aa258e59e4cc8b5380b35"

 DEPENDS = "python3-attrdict3-native python3-six-native wxwidgets-native \