nexB / license-expression

Utility library to parse, normalize and compare License expressions for Python using a boolean logic engine. For expressions using SPDX or any other license id scheme.
http://aboutcode.org
Other
56 stars 22 forks source link

Support Yocto license expressions syntax #55

Open pombredanne opened 3 years ago

pombredanne commented 3 years ago

Based on https://github.com/openembedded/openembedded-core/blob/14241ed09f9ed317045cf75a6d08416d3579bb8d/meta/lib/oe/license.py#L217 and https://www.openembedded.org/wiki/Recipe_License_Fields these are license symbols using & for AND and | for OR which should be supported most likely mostly out of the box. See also:

pombredanne commented 3 years ago

@priv-kweihmann @rpurdie FYI this future update may be of some interest to you.