diff mbox series

[meta-python,035/105] python3-gnupg: upgrade 0.5.6 -> 0.5.7

Message ID 20261116175359.342679-35-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:52 p.m. UTC
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%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-gnupg/0001-pyproject.toml-Relax-the-setuptools-version-bound.patch b/meta-python/recipes-devtools/python/python3-gnupg/0001-pyproject.toml-Relax-the-setuptools-version-bound.patch
new file mode 100644
index 0000000000..8f67fc995d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-gnupg/0001-pyproject.toml-Relax-the-setuptools-version-bound.patch
@@ -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'
diff --git a/meta-python/recipes-devtools/python/python3-gnupg_0.5.6.bb b/meta-python/recipes-devtools/python/python3-gnupg_0.5.7.bb
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
index e32afd1fbd..00e40951e1 100644
--- a/meta-python/recipes-devtools/python/python3-gnupg_0.5.6.bb
+++ b/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"