Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/1] license: Add support for SPDX 2.0 operators
@ 2016-07-04  8:25 Sergei Miroshnichenko
  2016-07-04  8:25 ` [PATCH v2 1/1] " Sergei Miroshnichenko
  2016-07-11  8:47 ` [PATCH v2 0/1] " Sergei Miroshnichenko
  0 siblings, 2 replies; 3+ messages in thread
From: Sergei Miroshnichenko @ 2016-07-04  8:25 UTC (permalink / raw)
  To: openembedded-core
  Cc: WolfgangDenkwd, Alexander Dyachenko, Roger Meier,
	Sergei Miroshnichenko

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(-)

-- 
2.1.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-11  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-04  8:25 [PATCH v2 0/1] license: Add support for SPDX 2.0 operators Sergei Miroshnichenko
2016-07-04  8:25 ` [PATCH v2 1/1] " Sergei Miroshnichenko
2016-07-11  8:47 ` [PATCH v2 0/1] " Sergei Miroshnichenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox