summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb')
-rw-r--r--poky/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb b/poky/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb
new file mode 100644
index 0000000000..dd483ed88e
--- /dev/null
+++ b/poky/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Python bindings to the Rust rpds crate for persistent data structures."
+HOMEPAGE = "https://pypi.org/project/rpds-py/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7767fa537c4596c54141f32882c4a984"
+
+SRC_URI += "file://run-ptest"
+
+SRC_URI[sha256sum] = "d72a210824facfdaf8768cf2d7ca25a042c30320b3020de2fa04640920d4e121"
+
+require ${BPN}-crates.inc
+
+inherit pypi cargo-update-recipe-crates python_maturin ptest
+
+PYPI_PACKAGE = "rpds_py"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-iniconfig \
+ python3-packaging \
+ python3-pluggy \
+ python3-pytest \
+ python3-unittest-automake-output \
+ "
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"