summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2022-02-27 19:21:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-01 23:44:59 +0000
commit68d1a56e987ee530620bdf245ddf1812f8cf6d39 (patch)
tree24197a3306fa5fc65571001e28c081a53188651f /scripts/lib/recipetool/create_buildsys_python.py
parent949aa76210b4de3eaab79d006af982ce8a44b29d (diff)
downloadpoky-68d1a56e987ee530620bdf245ddf1812f8cf6d39.tar.gz
recipetool: Use SPDX license identifiers
There are still a couple of cases where the license may be set as, e.g., "GPL" or "GPL-2.0" since there is not enough information to decide the actual SPDX license. It is then assumed that the developer will have to correct the information. (From OE-Core rev: e7df51f8d2361e9fe2d67669d2e17f0a5d01004e) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
-rw-r--r--scripts/lib/recipetool/create_buildsys_python.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py
index 2a2c6ab6b6..f4f51c88b4 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -112,18 +112,18 @@ class PythonRecipeHandler(RecipeHandler):
112 'License :: OSI Approved :: European Union Public Licence 1.0 (EUPL 1.0)': 'EUPL-1.0', 112 'License :: OSI Approved :: European Union Public Licence 1.0 (EUPL 1.0)': 'EUPL-1.0',
113 'License :: OSI Approved :: European Union Public Licence 1.1 (EUPL 1.1)': 'EUPL-1.1', 113 'License :: OSI Approved :: European Union Public Licence 1.1 (EUPL 1.1)': 'EUPL-1.1',
114 'License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)': 'EUPL-1.2', 114 'License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)': 'EUPL-1.2',
115 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)': 'AGPL-3.0+', 115 'License :: OSI Approved :: GNU Affero General Public License v3': 'AGPL-3.0-only',
116 'License :: OSI Approved :: GNU Affero General Public License v3': 'AGPL-3.0', 116 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)': 'AGPL-3.0-or-later',
117 'License :: OSI Approved :: GNU Free Documentation License (FDL)': 'GFDL', 117 'License :: OSI Approved :: GNU Free Documentation License (FDL)': 'GFDL',
118 'License :: OSI Approved :: GNU General Public License (GPL)': 'GPL', 118 'License :: OSI Approved :: GNU General Public License (GPL)': 'GPL',
119 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)': 'GPL-2.0', 119 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)': 'GPL-2.0-only',
120 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)': 'GPL-2.0+', 120 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)': 'GPL-2.0-or-later',
121 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)': 'GPL-3.0', 121 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)': 'GPL-3.0-only',
122 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)': 'GPL-3.0+', 122 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)': 'GPL-3.0-or-later',
123 'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)': 'LGPL-2.0', 123 'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)': 'LGPL-2.0-only',
124 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)': 'LGPL-2.0+', 124 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)': 'LGPL-2.0-or-later',
125 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)': 'LGPL-3.0', 125 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)': 'LGPL-3.0-only',
126 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)': 'LGPL-3.0+', 126 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)': 'LGPL-3.0-or-later',
127 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)': 'LGPL', 127 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)': 'LGPL',
128 'License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)': 'HPND', 128 'License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)': 'HPND',
129 'License :: OSI Approved :: IBM Public License': 'IPL', 129 'License :: OSI Approved :: IBM Public License': 'IPL',
@@ -144,7 +144,7 @@ class PythonRecipeHandler(RecipeHandler):
144 'License :: OSI Approved :: Open Software License 3.0 (OSL-3.0)': 'OSL-3.0', 144 'License :: OSI Approved :: Open Software License 3.0 (OSL-3.0)': 'OSL-3.0',
145 'License :: OSI Approved :: PostgreSQL License': 'PostgreSQL', 145 'License :: OSI Approved :: PostgreSQL License': 'PostgreSQL',
146 'License :: OSI Approved :: Python License (CNRI Python License)': 'CNRI-Python', 146 'License :: OSI Approved :: Python License (CNRI Python License)': 'CNRI-Python',
147 'License :: OSI Approved :: Python Software Foundation License': 'PSF', 147 'License :: OSI Approved :: Python Software Foundation License': 'PSF-2.0',
148 'License :: OSI Approved :: Qt Public License (QPL)': 'QPL', 148 'License :: OSI Approved :: Qt Public License (QPL)': 'QPL',
149 'License :: OSI Approved :: Ricoh Source Code Public License': 'RSCPL', 149 'License :: OSI Approved :: Ricoh Source Code Public License': 'RSCPL',
150 'License :: OSI Approved :: SIL Open Font License 1.1 (OFL-1.1)': 'OFL-1.1', 150 'License :: OSI Approved :: SIL Open Font License 1.1 (OFL-1.1)': 'OFL-1.1',