new file mode 100644
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 15 Nov 2026 23:26:55 -0800
+Subject: [PATCH] pyproject.toml: Relax the setuptools version bound
+
+setuptools is capped below 75 upstream; build with the setuptools
+version that OE ships.
+
+Upstream-Status: Inappropriate [OE-specific]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+ requires = [
+- "setuptools >= 68,<75",
++ "setuptools >= 68",
+ ]
+ build-backend = 'setuptools.build_meta'
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-gnupg_0.5.6.bb
rename to meta-python/recipes-devtools/python/python3-gnupg_0.5.7.bb
@@ -5,13 +5,13 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dabe659eadd6d97325b1582e41cfc11"
PYPI_PACKAGE = "python-gnupg"
-SRC_URI[sha256sum] = "5743e96212d38923fc19083812dc127907e44dbd3bcf0db4d657e291d3c21eac"
+SRC_URI += "file://0001-pyproject.toml-Relax-the-setuptools-version-bound.patch"
+SRC_URI[sha256sum] = "73ea46219f992b361eb1ce54cb0968101670654454916a3ee5df8bb9bf0cc8cc"
CVE_PRODUCT = "python:python-gnupg"
inherit pypi python_setuptools_build_meta
-S = "${UNPACKDIR}/python-gnupg-${PV}"
DEPENDS += "python3-wheel-native"
The sdist is now named python_gnupg; drop the explicit S. Add a patch relaxing the setuptools<75 cap. Changes: - Add quick_sign_key(), hidden recipients for encrypt_file(), and allow paths in verify_file(). - Allow passing an encoding to the GPG initializer via a keyword parameter (#277). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- ...l-Relax-the-setuptools-version-bound.patch | 24 +++++++++++++++++++ ...-gnupg_0.5.6.bb => python3-gnupg_0.5.7.bb} | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-gnupg/0001-pyproject.toml-Relax-the-setuptools-version-bound.patch rename meta-python/recipes-devtools/python/{python3-gnupg_0.5.6.bb => python3-gnupg_0.5.7.bb} (70%)