]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: improve python recipe license handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 18 Sep 2016 20:08:05 +0000 (08:08 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Sep 2016 08:06:52 +0000 (09:06 +0100)
commit237f66042eedd906f654827b53bf9269738267ab
treea66cbdfac5b9ac0890fc639193dd6d1d3a05b858
parent3e7029f28c6ea9bb1d283bcdc3fdfee11455af8e
recipetool: create: improve python recipe license handling

Try to ensure that for Apache, GPL and LGPL where the values extracted
from the "Classifiers" field may not be version-specific, if there is a
versioned license in the free-form license field then use that instead.
Also insert the free-form license field as a comment in the recipe for
the user's reference.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_buildsys_python.py