diff --git a/meta-sokol-flex-distro/dynamic-layers/meta-python/recipes-devtools/python/python3-unidiff_%.bbappend b/meta-sokol-flex-distro/dynamic-layers/meta-python/recipes-devtools/python/python3-unidiff_%.bbappend index 7c4e9f67c..dd10793df 100644 --- a/meta-sokol-flex-distro/dynamic-layers/meta-python/recipes-devtools/python/python3-unidiff_%.bbappend +++ b/meta-sokol-flex-distro/dynamic-layers/meta-python/recipes-devtools/python/python3-unidiff_%.bbappend @@ -3,3 +3,12 @@ # --------------------------------------------------------------------------------------------------------------------- BBCLASSEXTEND += "native" + +# Upgrade from 0.7.3 to 0.7.4 to pick up https://github.com/matiasb/python-unidiff/pull/97 +python () { + if d.getVar('PV') == '0.7.3': + d.setVar('PV', '0.7.4') + d.setVarFlag('SRC_URI', 'sha256sum', '2bbcbc986e1fb97f04b1d7b864aa6002ab02f4d8a996bf03aa6e5a81447d1fc5') + else: + bb.fatal('Expected version 0.7.3, please fix the python3-unidiff bbappends.') +}