From 04d8a52002442e1ea82b754e84864cda57ee96dc Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 15 Jan 2022 20:17:05 -0800 Subject: python3-cryptography: fetch wycheproof for ptest Fetch the wycheproof repo from google for ptest Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb index abb15381f5..87f501973c 100644 --- a/meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb @@ -10,8 +10,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \ LDSHARED += "-pthread" SRC_URI[sha256sum] = "53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638" +SRCREV_wycheproof = "2196000605e45d91097147c9c71f26b72af58003" SRC_URI += " \ + git://github.com/google/wycheproof.git;protocol=https;branch=master;name=wycheproof;nobranch=1 \ file://run-ptest \ file://check-memfree.py \ file://0001-Cargo.toml-specify-pem-version.patch \ @@ -109,10 +111,13 @@ do_install_ptest() { install -d ${D}${PTEST_PATH}/tests/hazmat cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ cp -r ${S}/pyproject.toml ${D}${PTEST_PATH}/ + install -d ${D}${PTEST_PATH}/wycheproof + cp -rf ${WORKDIR}/git/* ${D}${PTEST_PATH}/wycheproof/ } FILES:${PN}-ptest += " \ ${PTEST_PATH}/check-memfree.py \ + ${PTEST_PATH}/wycheproof/* \ " FILES:${PN}-dbg += " \ ${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/hazmat/bindings/.debug \ -- cgit 1.2.3-korg