File python-astroid-setuptools.patch of Package python-astroid
diff -Pdpru astroid-4.0.3.orig/pyproject.toml astroid-4.0.3/pyproject.toml
--- astroid-4.0.3.orig/pyproject.toml 2026-01-03 23:11:10.000000000 +0100
+++ astroid-4.0.3/pyproject.toml 2026-02-04 12:45:59.847953886 +0100
@@ -1,15 +1,15 @@
[build-system]
build-backend = "setuptools.build_meta"
-requires = [ "setuptools>=77" ]
+requires = [ "setuptools>=75" ]
[project]
name = "astroid"
description = "An abstract syntax tree for Python with inference support."
readme = "README.rst"
keywords = [ "abstract syntax tree", "python", "static code analysis" ]
-license = "LGPL-2.1-or-later"
-license-files = [ "LICENSE", "CONTRIBUTORS.txt" ]
+license = {text = "LGPL-2.1-or-later"}
+
requires-python = ">=3.10.0"
classifiers = [
@@ -40,6 +40,9 @@ urls."Discord server" = "https://discord
urls."Docs" = "https://pylint.readthedocs.io/projects/astroid/en/latest/"
urls."Source Code" = "https://github.com/pylint-dev/astroid"
+[tool.setuptools]
+license-files = [ "LICENSE", "CONTRIBUTORS.txt" ]
+
[tool.setuptools.package-dir]
"" = "."