Skip to contentSkip to conversation

python3-wxgtk4: Use valid SPDX identifier for the wxWindows license

PATCH New Khem Raj 1 participant 1 message Jul 21

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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.

---
 .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb +1 -1
index 1ee6e5b93b..a84648266e 100644
@@ -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 \