diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_3.5.0.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_3.5.0.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_3.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_3.5.0.bb new file mode 100644 index 0000000000..bfa14012d0 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_3.5.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "xxhash is a Python binding for the xxHash library by Yann Collet." +SECTION = "devel/python" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3a9dab7f159514231249aa3e108ab26b" + +DEPENDS += "python3-setuptools-scm-native" + +SRC_URI[sha256sum] = "84f2caddf951c9cbf8dc2e22a89d4ccf5d86391ac6418fe81e3c67d0cf60b45f" + +SRC_URI += " \ + file://run-ptest \ +" + +inherit pypi python_setuptools_build_meta ptest + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} |