python3-backports-zstd: Add recipe
PATCH 1/2 python3-backports-zstd: Add recipe
This is required by python3-pyzstd >= 0.19.0
tests
Signed-off-by Khem Raj <[email protected]>
--- .../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
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
@@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-ansicolors \ python3-asgiref \ python3-aspectlib \ + python3-backports-zstd \ python3-betamax \ python3-bleak \ python3-blinker \
meta-python/recipes-devtools/python/python3-backports-zstd_1.2.0.bb new file +15 -0
@@ -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"
PATCH 2/2 python3-pyzstd: Add ptest dependency on backports.zstd
This module is needed by ptests in 0.19+
Signed-off-by Khem Raj <[email protected]>
--- meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb +2 -0
@@ -18,3 +18,5 @@ DEPENDS += "python3-hatch-vcs-native" do_configure:append:arm:toolchain-clang() { sed -i -e "s|'-flto'|''|" ${S}/setup.py } + +RDEPENDS:${PN}-ptest += "python3-backports-zstd"