Files
packages/lang/python/python-gnupg/patches/001-relax-setuptools-constraint.patch
T
Alexandru Ardelean 7ad73cfd65 python-gnupg: update to 0.5.7
0.5.7 renames the sdist's top directory from python-gnupg-0.5.7 to
python_gnupg-0.5.7, so set PYPI_SOURCE_NAME to make PKG_BUILD_DIR match
what the tarball extracts to. pypi.mk then derives the same PKG_SOURCE
that the explicit line held, so drop it.

Add 001-relax-setuptools-constraint.patch: 0.5.7 tightens its build
requirement to "setuptools >= 68,<75", which the feed's setuptools
84.0.0 does not satisfy, so the build fails with an unmet
"setuptools<75,>=68" dependency. The cap is precautionary and the
package builds unchanged without it.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-13 16:28:06 +03:00

22 lines
641 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Alexandru Ardelean <alex@shruggie.ro>
Date: Sun, 11 Oct 2026 20:00:00 +0300
Subject: [PATCH] relax the setuptools upper bound
0.5.7 caps its build backend at "setuptools >= 68,<75", which the
feed's setuptools 84.0.0 does not satisfy. The cap is precautionary;
the package builds unchanged without it.
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
requires = [
- "setuptools >= 68,<75",
+ "setuptools >= 68",
]
build-backend = 'setuptools.build_meta'