From 407685f22a17b6097324a7ae244e76fb8ce39946 Mon Sep 17 00:00:00 2001
From: "A. Maitland Bottoms" <bottoms@debian.org>
Date: Tue, 19 Aug 2025 17:28:24 -0400
Subject: [PATCH 1/3] setuptools license classifiers are deprecated

Remove deprecated classifier lines.
Avoids "SetuptoolsDeprecationWarning: License classifiers are deprecated."
warning. These files already have the suggested license= config. See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
---
 host/examples/rfnoc-gain/python/setup.py.in | 1 -
 host/python/pyproject.toml.in               | 1 -
 host/python/setup.py.in                     | 1 -
 mpm/python/setup.py.in                      | 1 -
 4 files changed, 4 deletions(-)

diff --git a/host/examples/rfnoc-gain/python/setup.py.in b/host/examples/rfnoc-gain/python/setup.py.in
index e12ac87c5..c971a5a60 100755
--- a/host/examples/rfnoc-gain/python/setup.py.in
+++ b/host/examples/rfnoc-gain/python/setup.py.in
@@ -18,7 +18,6 @@ setup(
     description="rfnoc-gain: An example module for RFNoC OOT Python support",
     classifiers=[
         "Development Status :: 4 - Beta",
-        "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
         "Programming Language :: C++",
         "Programming Language :: Python",
         "Topic :: System :: Hardware :: Hardware Drivers",
diff --git a/host/python/pyproject.toml.in b/host/python/pyproject.toml.in
index e70ca4589..fe3168f8e 100644
--- a/host/python/pyproject.toml.in
+++ b/host/python/pyproject.toml.in
@@ -8,7 +8,6 @@ license="GPLv3"
 readme = "README.md"
 classifiers=[
     "@UHD_DEV_STATUS@",
-    "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
     "Programming Language :: C++",
     "Programming Language :: Python",
     "Topic :: System :: Hardware :: Hardware Drivers",
diff --git a/host/python/setup.py.in b/host/python/setup.py.in
index 09263404e..a8f43bcf2 100755
--- a/host/python/setup.py.in
+++ b/host/python/setup.py.in
@@ -22,7 +22,6 @@ setup(
     description="Universal Software Radio Peripheral (USRP) Hardware Driver Python API",
     classifiers=[
         "Development Status :: 4 - Beta",
-        "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
         "Programming Language :: C++",
         "Programming Language :: Python",
         "Topic :: System :: Hardware :: Hardware Drivers",
diff --git a/mpm/python/setup.py.in b/mpm/python/setup.py.in
index c95cfb3f6..b4186664d 100755
--- a/mpm/python/setup.py.in
+++ b/mpm/python/setup.py.in
@@ -15,7 +15,6 @@ setup(name='usrp_mpm',
       description='Universal Software Radio Peripheral (USRP) Machiavellian Puppet Master (MPM) Python API',
       classifiers=[
           'Development Status :: 4 - Beta',
-          'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
           'Programming Language :: C++',
           'Programming Language :: Python',
           'Topic :: System :: Hardware :: Hardware Drivers',
-- 
2.47.2

