bindings: python: fix license tags
PATCH 1/1 bindings: python: fix license tags
From: Bartosz Golaszewski <[email protected]>
Several files under bindings/python/ have wrong license tags.
In general:
- Makefiles should be covered by GPL
- all python sources under bindings/python/gpiod/ and bindings/python/tests/ that are part of importable modules should be licensed under LGPL
- executable examples should be licensed under GPL
---
Kent, Vincent:
This patch doesn't really relicense the code. It just makes the licensing consistent across the python bindings. However - as the only two authors of the affected files other than me - could you please leave your acks?
bindings/python/gpiod/Makefile.am | 2 +- bindings/python/gpiod/_internal.py | 2 +- bindings/python/gpiod/ext/Makefile.am | 2 +- bindings/python/tests/Makefile.am | 2 +- bindings/python/tests/gpiosim/Makefile.am | 2 +- bindings/python/tests/gpiosim/__init__.py | 2 +- bindings/python/tests/helpers.py | 2 +- bindings/python/tests/system/Makefile.am | 2 +- bindings/python/tests/system/__init__.py | 2 +- bindings/python/tests/tests_line.py | 2 +- bindings/python/tests/tests_line_settings.py | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-)
bindings/python/gpiod/Makefile.am +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> SUBDIRS = ext
bindings/python/gpiod/_internal.py +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> from datetime import timedelta
bindings/python/gpiod/ext/Makefile.am +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> EXTRA_DIST = \
bindings/python/tests/Makefile.am +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> SUBDIRS = gpiosim system
bindings/python/tests/gpiosim/Makefile.am +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> EXTRA_DIST = \
bindings/python/tests/gpiosim/__init__.py +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> from .chip import Chip
bindings/python/tests/helpers.py +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> from __future__ import annotations
bindings/python/tests/system/Makefile.am +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> EXTRA_DIST = \
bindings/python/tests/system/__init__.py +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> from ._ext import check_kernel_version, set_process_name
bindings/python/tests/tests_line.py +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2024 Kent Gibson <[email protected]> from unittest import TestCase
bindings/python/tests/tests_line_settings.py +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]> import datetime
Signature · 1 line
2.45.2
RE: [External] - [libgpiod][PATCH] bindings: python: fix license tags
Quoted 26 lines
-----Original Message-----
From: Bartosz Golaszewski <[email protected]>
Sent: Wednesday, November 27, 2024 9:05 AM
To: Vincent Fazio <[email protected]>; Phil Howard <[email protected]>; Kent Gibson <[email protected]>; Linus Walleij <[email protected]>
Cc: [email protected]; Bartosz Golaszewski <[email protected]>
Subject: [External] - [libgpiod][PATCH] bindings: python: fix license tagsFrom: Bartosz Golaszewski <[email protected]>
Several files under bindings/python/ have wrong license tags.
In general:
- Makefiles should be covered by GPL
- all python sources under bindings/python/gpiod/ and bindings/python/tests/ that are part of importable modules should be licensed under LGPL
- executable examples should be licensed under GPLReported-by Vincent Fazio <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Quoted 6 lines
---
Kent, Vincent:This patch doesn't really relicense the code. It just makes the licensing consistent across the python bindings. However - as the only two authors of the affected files other than me - could you please leave your acks?
From: Bartosz Golaszewski <[email protected]>
Quoted 10 lines · Bartosz Golaszewski
Several files under bindings/python/ have wrong license tags.
In general:
- Makefiles should be covered by GPL
- all python sources under bindings/python/gpiod/ and bindings/python/tests/ that are part of importable modules should be licensed under LGPL
- executable examples should be licensed under GPL[...]
I haven't heard from Kent but I doubt he would object so patch applied.
[1/1] bindings: python: fix license tags
commit: 6d9133a259e64da5e03c7e7784f0f27de7b3e59f
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>
Quoted 13 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
Quoted 9 lines · Bartosz Golaszewski
Several files under bindings/python/ have wrong license tags.
In general:
- Makefiles should be covered by GPL
- all python sources under bindings/python/gpiod/ and bindings/python/tests/ that are part of importable modules should be licensed under LGPL
- executable examples should be licensed under GPL
Quoted 4 lines
Quoted 1 line
[...]
I haven't heard from Kent but I doubt he would object so patch applied.
Sorry - missed this one, but I have no objections.
Cheers,
Kent.