From 332072205f3ea5dcefe72cc2fe89b2fdbf7ee330 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 9 Dec 2025 14:51:28 -0800 Subject: [PATCH] python3-backports-zstd: Add recipe This is required by python3-pyzstd >= 0.19.0 tests Signed-off-by: Khem Raj --- .../include/ptest-packagelists-meta-python.inc | 1 + .../python/python3-backports-zstd_1.2.0.bb | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-backports-zstd_1.2.0.bb diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index c72b4cb5d0..e17d5ef46d 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-ansicolors \ python3-asgiref \ python3-aspectlib \ + python3-backports-zstd \ python3-betamax \ python3-bleak \ python3-blinker \ diff --git a/meta-python/recipes-devtools/python/python3-backports-zstd_1.2.0.bb b/meta-python/recipes-devtools/python/python3-backports-zstd_1.2.0.bb new file mode 100644 index 0000000000..2a07c36c40 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-backports-zstd_1.2.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Backport of compression.zstd" +HOMEPAGE = "https://github.com/rogdham/backports.zstd" +LICENSE = "0BSD & PSF-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=224f30639105a6ab845e068c2d0903ff \ + file://LICENSE_zstd.txt;md5=85fffd6822a26cd7d2a6eeb939ada0da \ + file://src/c/pythoncapi-compat/COPYING;md5=f74f54822fab8814a50330e4e4578b88 \ + file://src/c/zstd/LICENSE;md5=0822a32f7acdbe013606746641746ee8" + +SRC_URI[sha256sum] = "6c3fc19342db750b52fde793e4440a93575761b1493bb4a1d3b26033d2bd3452" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +PYPI_PACKAGE = "backports_zstd" + +RDEPENDS:${PN}-ptest += "bash python3-compile python3-codecs python3-mypy"