diff mbox series

[libgpiod,2/2] bindings: python: make licensing information conform with PEP 639

Message ID 20250424-pyproject-toml-pep-639-v1-2-8150d3d807b1@linaro.org
State New
Headers show
Series bindings: python: make license information in pyproject.toml conform with PEP 639 | expand

Commit Message

Bartosz Golaszewski April 24, 2025, 1:06 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Follow the PEP 639 specification and remove the deprecated license
classifier as well as make the license key in the [project] table a
top-level string containing the SPDX license identifier.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 bindings/python/pyproject.toml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml
index 8f025a7..f0f8c29 100644
--- a/bindings/python/pyproject.toml
+++ b/bindings/python/pyproject.toml
@@ -10,14 +10,13 @@  name = "gpiod"
 dynamic = ["version"]
 description = "Python bindings for libgpiod"
 readme = "README.md"
-license = {text = "LGPL-2.1-or-later"}
+license = "LGPL-2.1-or-later"
 requires-python = ">=3.9.0"
 authors = [
   {name = "Bartosz Golaszewski", email = "brgl@bgdev.pl"},
 ]
 classifiers = [
   "Development Status :: 5 - Production/Stable",
-  "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
   "Operating System :: POSIX :: Linux",
   "Typing :: Typed",
   "Programming Language :: Python",