Recent versions of Python complain about the license being in the classifiers part. Use a 'license' property instead.
Signed-off-by: Simon Glass <s...@chromium.org> --- tools/binman/pyproject.toml | 2 +- tools/buildman/pyproject.toml | 2 +- tools/dtoc/pyproject.toml | 2 +- tools/patman/pyproject.toml | 2 +- tools/u_boot_pylib/pyproject.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/binman/pyproject.toml b/tools/binman/pyproject.toml index ba34437fc53..f17bc051ea1 100644 --- a/tools/binman/pyproject.toml +++ b/tools/binman/pyproject.toml @@ -10,11 +10,11 @@ authors = [ ] dependencies = ["pylibfdt", "u_boot_pylib >= 0.0.6", "dtoc >= 0.0.6"] description = "Binman firmware-packaging tool" +license = "GPL-2.0-or-later" readme = "README.rst" requires-python = ">=3.7" classifiers = [ "Programming Language :: Python :: 3", - "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", ] diff --git a/tools/buildman/pyproject.toml b/tools/buildman/pyproject.toml index 68bfa45c3f4..3d0842e470a 100644 --- a/tools/buildman/pyproject.toml +++ b/tools/buildman/pyproject.toml @@ -14,11 +14,11 @@ dependencies = [ "patch-manager >= 0.0.6" ] description = "Buildman build tool for U-Boot" +license = "GPL-2.0-or-later" readme = "README.rst" requires-python = ">=3.7" classifiers = [ "Programming Language :: Python :: 3", - "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", ] diff --git a/tools/dtoc/pyproject.toml b/tools/dtoc/pyproject.toml index 9f59788e616..3d75e5269c7 100644 --- a/tools/dtoc/pyproject.toml +++ b/tools/dtoc/pyproject.toml @@ -10,11 +10,11 @@ authors = [ ] dependencies = ["pylibfdt", "u_boot_pylib >= 0.0.6"] description = "Devicetree-to-C generator" +license = "GPL-2.0-or-later" readme = "README.rst" requires-python = ">=3.7" classifiers = [ "Programming Language :: Python :: 3", - "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", ] diff --git a/tools/patman/pyproject.toml b/tools/patman/pyproject.toml index 06e169cdf48..be7bf1998a6 100644 --- a/tools/patman/pyproject.toml +++ b/tools/patman/pyproject.toml @@ -10,11 +10,11 @@ authors = [ ] dependencies = ["u_boot_pylib >= 0.0.6", "aiohttp >= 3.9.1" ] description = "Patman patch manager" +license = "GPL-2.0-or-later" readme = "README.rst" requires-python = ">=3.7" classifiers = [ "Programming Language :: Python :: 3", - "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", ] diff --git a/tools/u_boot_pylib/pyproject.toml b/tools/u_boot_pylib/pyproject.toml index ce2355084ac..c0257caba84 100644 --- a/tools/u_boot_pylib/pyproject.toml +++ b/tools/u_boot_pylib/pyproject.toml @@ -9,11 +9,11 @@ authors = [ { name="Simon Glass", email="s...@chromium.org" }, ] description = "U-Boot python library" +license = "GPL-2.0-or-later" readme = "README.rst" requires-python = ">=3.7" classifiers = [ "Programming Language :: Python :: 3", - "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", ] -- 2.43.0 base-commit: 0312b271dd6dff8ca6d60c53ab028af526c45dde branch: patb