From d19a35a3fea519c6dbcd6ff4d7f5e78ea0d84c53 Mon Sep 17 00:00:00 2001 From: Daniel Salzman Date: Fri, 21 Mar 2025 15:51:10 +0100 Subject: [PATCH] python: relicense to GPL-2.0-or-later --- python/knot_exporter/pyproject.toml.in | 4 ++-- python/knot_exporter/setup.py.in | 4 ++-- python/libknot/pyproject.toml.in | 4 ++-- python/libknot/setup.py.in | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/python/knot_exporter/pyproject.toml.in b/python/knot_exporter/pyproject.toml.in index 6846eb542..42b426b3c 100644 --- a/python/knot_exporter/pyproject.toml.in +++ b/python/knot_exporter/pyproject.toml.in @@ -8,7 +8,7 @@ version = "@PACKAGE_VERSION@" description = "Prometheus exporter for Knot DNS" readme = "README.md" requires-python = ">=3.5" -license = { text = "GPL-3.0" } +license = { text = "GPL-2.0-or-later" } authors = [ { name = "CZ.NIC, z.s.p.o.", email = "knot-dns@labs.nic.cz" }, { name = "Alessandro Ghedini", email = "alessandro@ghedini.me" }, @@ -16,7 +16,7 @@ authors = [ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: System Administrators", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Programming Language :: Python :: 3", "Topic :: Internet :: Name Service (DNS)", "Topic :: System :: Systems Administration", diff --git a/python/knot_exporter/setup.py.in b/python/knot_exporter/setup.py.in index 713c0072c..e6b60cc5d 100644 --- a/python/knot_exporter/setup.py.in +++ b/python/knot_exporter/setup.py.in @@ -14,12 +14,12 @@ setuptools.setup( author='CZ.NIC, z.s.p.o.', author_email='knot-dns@labs.nic.cz', url='https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/knot_exporter', - license='GPL-3.0', + license='GPL-2.0-or-later', packages=['knot_exporter'], classifiers=[ # See https://pypi.org/classifiers 'Development Status :: 5 - Production/Stable', 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', 'Programming Language :: Python :: 3', 'Topic :: Internet :: Name Service (DNS)', 'Topic :: System :: Systems Administration', diff --git a/python/libknot/pyproject.toml.in b/python/libknot/pyproject.toml.in index 355e667c8..ecf02f325 100644 --- a/python/libknot/pyproject.toml.in +++ b/python/libknot/pyproject.toml.in @@ -8,7 +8,7 @@ version = "@PACKAGE_VERSION@" description = "Python bindings for libknot" readme = "README.md" requires-python = ">=3.5" -license = { text = "GPL-3.0" } +license = { text = "GPL-2.0-or-later" } authors = [ { name = "CZ.NIC, z.s.p.o.", email = "knot-dns@labs.nic.cz" }, ] @@ -16,7 +16,7 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: System Administrators", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Programming Language :: Python :: 3", "Topic :: Internet :: Name Service (DNS)", "Topic :: Software Development :: Libraries", diff --git a/python/libknot/setup.py.in b/python/libknot/setup.py.in index bc0dc8fe2..b04173e08 100644 --- a/python/libknot/setup.py.in +++ b/python/libknot/setup.py.in @@ -14,13 +14,13 @@ setuptools.setup( author='CZ.NIC, z.s.p.o.', author_email='knot-dns@labs.nic.cz', url='https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/libknot', - license='GPL-3.0', + license='GPL-2.0-or-later', packages=['libknot'], classifiers=[ # See https://pypi.org/classifiers 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', 'Programming Language :: Python :: 3', 'Topic :: Internet :: Name Service (DNS)', 'Topic :: Software Development :: Libraries',