remove patches working around too-old setuptools

This commit is contained in:
sthen
2025-04-29 10:53:59 +00:00
parent 5565448034
commit d65a467cf6
8 changed files with 4 additions and 83 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ COMMENT= handle Compressed Rich Text Format (RTF) attachments
MODPY_DISTV= 1.0.7
DISTNAME= compressed_rtf-${MODPY_DISTV}
PKGNAME= py-${DISTNAME}
REVISION= 0
REVISION= 1
CATEGORIES= archivers
HOMEPAGE= https://github.com/delimitry/compressed_rtf
@@ -1,12 +0,0 @@
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -7,7 +7,7 @@ name = "compressed-rtf"
dynamic = ["version"]
description = "Compressed Rich Text Format (RTF) compression and decompression package"
readme = "README.md"
-license = "MIT"
+license = {text = "MIT"}
authors = [
{ name = "Dmitry Alimov" },
]
+1 -1
View File
@@ -3,7 +3,7 @@ COMMENT= setuptools extensions for calendar-based versioning
MODPY_DISTV= 2025.4.2
DISTNAME= calver-${MODPY_DISTV}
PKGNAME= py-${DISTNAME}
REVISION= 0
REVISION= 1
CATEGORIES= devel
@@ -1,23 +0,0 @@
backout https://github.com/di/calver/pull/21 for now
newer setuptools whines about the old syntax
older setuptools won't build with the new syntax
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools>=77.0.1"] # https://github.com/di/calver/pull/19
+requires = ["setuptools>=61.0"] # https://github.com/di/calver/pull/19
build-backend = "setuptools.build_meta"
[project]
@@ -8,7 +8,7 @@ dynamic = ["version"]
description = "Setuptools extension for CalVer package versions"
readme = "README.md"
requires-python = ">=3.9"
-license = "Apache-2.0"
+license = {text = "Apache-2.0"}
authors = [
{ name = "Dustin Ingram", email = "di@python.org" }
]
+1 -1
View File
@@ -4,7 +4,7 @@ MODPY_DISTV= 11.2.1
DISTNAME= pillow-${MODPY_DISTV}
PKGNAME= py-Pillow-${MODPY_DISTV}
CATEGORIES= graphics
REVISION= 0
REVISION= 1
HOMEPAGE= https://python-pillow.github.io/
@@ -1,22 +0,0 @@
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -1,7 +1,7 @@
[build-system]
build-backend = "backend"
requires = [
- "setuptools>=77",
+ "setuptools",
]
backend-path = [
"_custom_build",
@@ -14,8 +14,7 @@ readme = "README.md"
keywords = [
"Imaging",
]
-license = "MIT-CMU"
-license-files = [ "LICENSE" ]
+license = {text = "MIT-CMU"}
authors = [
{ name = "Jeffrey A. Clark", email = "aclark@aclark.net" },
]
+1 -1
View File
@@ -6,7 +6,7 @@ USE_NOEXECONLY= Yes
MODPY_DISTV = 2.0.0b15
PKGNAME = borgbackup-${MODPY_DISTV:S/b/beta/}
EPOCH = 0
REVISION = 0
REVISION = 1
# OpenSSL used for EVP_aes_256_ocb. It is linked statically to avoid conflicting
# with shared libcrypto from the base OS pulled in via dependencies.
@@ -1,22 +0,0 @@
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -27,8 +27,7 @@ classifiers = [
"Topic :: Security :: Cryptography",
"Topic :: System :: Archiving :: Backup",
]
-license = "BSD-3-Clause"
-license-files = ["LICENSE", "AUTHORS"]
+license = {text="BSD-3-Clause"}
dependencies = [
"borghash ~= 0.1.0",
"borgstore ~= 0.2.0",
@@ -68,7 +67,7 @@ where = ["src"]
"*" = ["*.c", "*.h", "*.pyx"]
[build-system]
-requires = ["setuptools>=77.0.0", "wheel", "pkgconfig", "Cython>=3.0.3", "setuptools_scm[toml]>=6.2"]
+requires = ["setuptools", "wheel", "pkgconfig", "Cython>=3.0.3", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]