diff options
Diffstat (limited to 'www/py-dj52-drf-spectacular/files/patch-pyproject.toml')
| -rw-r--r-- | www/py-dj52-drf-spectacular/files/patch-pyproject.toml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www/py-dj52-drf-spectacular/files/patch-pyproject.toml b/www/py-dj52-drf-spectacular/files/patch-pyproject.toml new file mode 100644 index 000000000000..8314ea492d9f --- /dev/null +++ b/www/py-dj52-drf-spectacular/files/patch-pyproject.toml @@ -0,0 +1,30 @@ +Relax version requirements of py-setuptools and enable build for older versions +of it. + +--- pyproject.toml.orig 2025-11-03 11:21:39 UTC ++++ pyproject.toml +@@ -4,7 +4,6 @@ requires-python = ">=3.7" + description = "Sane and flexible OpenAPI 3 schema generation for Django REST framework" + readme = "README.rst" + requires-python = ">=3.7" +-license = "BSD-3-Clause" + authors = [ + {name = "T. Franzel", email = "tfranzel@gmail.com"} + ] +@@ -57,6 +56,9 @@ Documentation = "https://drf-spectacular.readthedocs.i + Source = "https://github.com/tfranzel/drf-spectacular" + Documentation = "https://drf-spectacular.readthedocs.io" + ++[project.license] ++text = "BSD-3-Clause" ++ + [tool.setuptools.dynamic] + version = {attr = "drf_spectacular.__version__"} + +@@ -72,5 +74,5 @@ drf_spectacular = [ + ] + + [build-system] +-requires = ["setuptools>=75.3.2", "wheel"] ++requires = ["setuptools", "wheel"] + build-backend = "setuptools.build_meta" |
