File python-dulwich-setuptools.patch of Package python-dulwich
diff -Pdpru dulwich-dulwich-0.25.2.orig/pyproject.toml dulwich-dulwich-0.25.2/pyproject.toml
--- dulwich-dulwich-0.25.2.orig/pyproject.toml 2026-01-11 22:39:01.000000000 +0100
+++ dulwich-dulwich-0.25.2/pyproject.toml 2026-02-06 12:03:27.302579924 +0100
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools>=77.0.0"]
+requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"
[project]
@@ -7,7 +7,7 @@ name = "dulwich"
description = "Python Git Library"
readme = "README.rst"
authors = [{name = "Jelmer Vernooij", email = "jelmer@jelmer.uk"}]
-license = "Apache-2.0 OR GPL-2.0-or-later"
+license = {text = "Apache-2.0 OR GPL-2.0-or-later"}
keywords = ["vcs", "git"]
classifiers = [
"Development Status :: 4 - Beta",
@@ -28,7 +28,6 @@ dependencies = [
'typing_extensions >=4.6.0 ; python_version < "3.12"',
]
dynamic = ["version"]
-license-files = ["COPYING"]
[project.urls]
Homepage = "https://www.dulwich.io/"
@@ -108,6 +107,7 @@ disallow_untyped_calls = false
warn_return_any = false
[tool.setuptools]
+license-files = ["COPYING"]
packages = [
"dulwich",
"dulwich.aiohttp",