mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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:
committed by
Richard Purdie
parent
1b7014ffc5
commit
e155952b4d
@@ -124,7 +124,7 @@ python buildhistory_emit_pkghistory() {
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def sortpkglist(string):
|
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 = [p.group(0) for p in pkgiter]
|
||||||
pkglist.sort()
|
pkglist.sort()
|
||||||
return ' '.join(pkglist)
|
return ' '.join(pkglist)
|
||||||
|
|||||||
Reference in New Issue
Block a user