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

2011-05-28 Thread Khem Raj
On 5/27/2011 3:13 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 create an ast. I then dump the ast and using a Lice

[OE-core] [PATCH 1/1][v3] 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