]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: support extracting SUMMARY and HOMEPAGE
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 29 May 2016 22:20:59 +0000 (10:20 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 May 2016 21:45:13 +0000 (22:45 +0100)
commit91fc35ff5e89aa6d4c4ad945e45406fb4f71018e
tree7fc790f5db38146407f5c7feebd9776ba19ba2eb
parentc33ba6cc5d14b1da96f6d906836c50e0346dcf06
recipetool: create: support extracting SUMMARY and HOMEPAGE

Allow plugins to set any variable value through the extravalues dict,
and use this to support extracting SUMMARY and HOMEPAGE values from spec
files included with the source; additionally translate "License:" to a
comment next to the LICENSE field (we have our own logic for setting
LICENSE, but it will often be useful to see what the spec file says if
one is present).

Also use the same mechanism for setting the same variables for node.js
modules; this was already supported but wasn't inserting the settings in
the appropriate place in the file which this will now do.

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