[OE-core] [PATCH v2 0/1] license: Add support for SPDX 2.0 operators
Sergei Miroshnichenko
sergeimir at emcraft.com
Mon Jul 11 08:47:34 UTC 2016
ping
Thanks,
Sergei
On 07/04/2016 11:25 AM, Sergei Miroshnichenko wrote:
> Composite SPDX license expressions can be constructed using "OR",
> "AND" and "WITH" operators: map them to "|" and "&" operators
> accordingly.
>
> Recognize long form license identifiers: "[DocumentRef-XXX:][LicenseRef-]YYY".
>
> Tested on the following expressions:
> LICENSE = "Artistic-1.0"
> LICENSE = "LicenseRef-Artistic-1.0 AND NASA-1.3"
> LICENSE = "(LicenseRef-Artistic-1.0 WITH GPL-3.0-with-GCC-exception)
> OR (DocumentRef-spdx-tool-1.2:LicenseRef-NASA-1.3 AND GPL-2.0+)"
>
> Reference:
> https://spdx.org/sites/spdx/files/SPDX-2.0.pdf Appendix IV: SPDX License Expression
>
> Sergei Miroshnichenko (1):
> license: Add support for SPDX 2.0 operators
>
> meta/classes/license.bbclass | 17 ++++++++++-------
> meta/lib/oe/license.py | 21 ++++++++++++++++-----
> 2 files changed, 26 insertions(+), 12 deletions(-)
>
More information about the Openembedded-core
mailing list