From 38e02a08e7b239ea0061788231c3309b0f440cc6 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 6 Aug 2026 12:00:46 +0300 Subject: [PATCH] python3-python-xmp-toolkit: Add recipe Add a recipe for release 2.1.0 of python-xmp-toolkit: - Add support for python 3.14 - Make exempi a run-time dependency - Add missing error codes - Remove tox - Use flit for build - Remove travis - Remove packaging dependency requirement - Remove support for python <= 3.6 (All python2 code removed) - fix exempi returns char-size bool, not int - homebrew path fixup This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python3-python-xmp-toolkit_2.1.0.bb | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb diff --git a/meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb b/meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb new file mode 100644 index 0000000000..3c761ba1dc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb @@ -0,0 +1,31 @@ +SUMMARY = "XMP I/O wrapping Exempi" +DESCRIPTION = "XMP I/O wrapping Exempi" +HOMEPAGE = "https://github.com/python-xmp-toolkit/python-xmp-toolkit" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=30fa74de63728af31f13dc3bb8cb1756" + +SRC_URI[sha256sum] = "ca0aa2c60d418dd2558767db59953ab5954fb5b87dc0b50cecd60566b0b4e2da" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +PYPI_PACKAGE = "python_xmp_toolkit" + +DEPENDS += "\ + python3-pytz-native \ +" +RDEPENDS:${PN} = "\ + exempi \ + python3-pytz \ +" + +RDEPENDS:${PN}-ptest += "\ + python3-core \ + python3-pytest-cov \ +" + +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} + +BBCLASSEXTEND = "native nativesdk"