Re: [OE-core] [PATCH 1/1][v2] license.bbclass: Sane Parsing of licenses

2011-05-27 Thread Elizabeth Flanagan
Scratch this. I forgot to remove some debug. -b On 05/27/2011 03:00 PM, Elizabeth Flanagan wrote: This is a first pass at sane license parsing, using python abstract syntax trees. A few notes on this since ast is not generally used. I massage the LICENSE field to be more pythonesque and then

[OE-core] [PATCH 1/1][v2] license.bbclass: Sane Parsing of licenses

2011-05-27 Thread Elizabeth Flanagan
This is a first pass at sane license parsing, using python abstract syntax trees. A few notes on this since ast is not generally used. I massage the LICENSE field to be more pythonesque and then create an ast. I then dump the ast and using a LicenseVisitor class, recurse through the tree, looki