classes/buildhistory: fix splitting on + in package list fields
Ensure we do not erroneously split on + in RDEPENDS/RRECOMMENDS e.g. libstdc++-dev was being split into libstdc and -dev. (From OE-Core rev: cad533880df42ad4fe6f04d56d3a59cb4a033275) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1b7014ffc5
commit
e155952b4d
|
@ -124,7 +124,7 @@ python buildhistory_emit_pkghistory() {
|
|||
return None
|
||||
|
||||
def sortpkglist(string):
|
||||
pkgiter = re.finditer(r'[a-zA-Z0-9.-]+( \([><=]+ [^ )]+\))?', string, 0)
|
||||
pkgiter = re.finditer(r'[a-zA-Z0-9.+-]+( \([><=]+ [^ )]+\))?', string, 0)
|
||||
pkglist = [p.group(0) for p in pkgiter]
|
||||
pkglist.sort()
|
||||
return ' '.join(pkglist)
|
||||
|
|
Loading…
Reference in New Issue