diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb b/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb new file mode 100644 index 0000000000..dd483ed88e --- /dev/null +++ b/meta/recipes-devtools/python/python3-rpds-py_0.20.0.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "Python bindings to the Rust rpds crate for persistent data structures." | ||
| 2 | HOMEPAGE = "https://pypi.org/project/rpds-py/" | ||
| 3 | |||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7767fa537c4596c54141f32882c4a984" | ||
| 6 | |||
| 7 | SRC_URI += "file://run-ptest" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "d72a210824facfdaf8768cf2d7ca25a042c30320b3020de2fa04640920d4e121" | ||
| 10 | |||
| 11 | require ${BPN}-crates.inc | ||
| 12 | |||
| 13 | inherit pypi cargo-update-recipe-crates python_maturin ptest | ||
| 14 | |||
| 15 | PYPI_PACKAGE = "rpds_py" | ||
| 16 | |||
| 17 | RDEPENDS:${PN}-ptest += " \ | ||
| 18 | python3-iniconfig \ | ||
| 19 | python3-packaging \ | ||
| 20 | python3-pluggy \ | ||
| 21 | python3-pytest \ | ||
| 22 | python3-unittest-automake-output \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_ptest() { | ||
| 26 | install -d ${D}${PTEST_PATH}/tests | ||
| 27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 28 | } | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | ||
