[oe-commits] [openembedded-core] 36/63: scripts/lib/create_npm: handle Public Domain licenses
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 4 10:46:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit d7f0af5aa90a9ef7714c842fb4cb762017820768
Author: Anders Darander <anders at chargestorm.se>
AuthorDate: Wed Mar 1 18:20:01 2017 +0100
scripts/lib/create_npm: handle Public Domain licenses
Rewrite Public Domain as PD, as that's what the place holder in
meta/files/common_licenses is called.
Signed-off-by: Anders Darander <anders at chargestorm.se>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/lib/recipetool/create_npm.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py
index 72ceb95..158029f 100644
--- a/scripts/lib/recipetool/create_npm.py
+++ b/scripts/lib/recipetool/create_npm.py
@@ -60,6 +60,7 @@ class NpmRecipeHandler(RecipeHandler):
if license[-1] == ')':
license = license[:-1]
license = license.replace('MIT/X11', 'MIT')
+ license = license.replace('Public Domain', 'PD')
license = license.replace('SEE LICENSE IN EULA',
'SEE-LICENSE-IN-EULA')
return license
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list