1ac13d5f3SPatrick WilliamsSUMMARY = "xxhash is a Python binding for the xxHash library by Yann Collet."
2ac13d5f3SPatrick WilliamsSECTION = "devel/python"
3ac13d5f3SPatrick WilliamsLICENSE = "BSD-2-Clause"
4ac13d5f3SPatrick WilliamsLIC_FILES_CHKSUM = "file://LICENSE;md5=3a9dab7f159514231249aa3e108ab26b"
5ac13d5f3SPatrick Williams
6ac13d5f3SPatrick WilliamsDEPENDS += "python3-setuptools-scm-native"
7ac13d5f3SPatrick Williams
8ac13d5f3SPatrick WilliamsSRC_URI[sha256sum] = "0379d6cf1ff987cd421609a264ce025e74f346e3e145dd106c0cc2e3ec3f99a9"
9ac13d5f3SPatrick Williams
10ac13d5f3SPatrick WilliamsSRC_URI += " \
11ac13d5f3SPatrick Williams    file://run-ptest \
12ac13d5f3SPatrick Williams"
13ac13d5f3SPatrick Williams
14ac13d5f3SPatrick Williamsinherit pypi python_setuptools_build_meta ptest
15ac13d5f3SPatrick Williams
16ac13d5f3SPatrick WilliamsRDEPENDS:${PN}-ptest += " \
17*73bd93f1SPatrick Williams    python3-pytest \
18*73bd93f1SPatrick Williams    python3-unittest-automake-output \
19ac13d5f3SPatrick Williams"
20ac13d5f3SPatrick Williams
21ac13d5f3SPatrick Williamsdo_install_ptest() {
22ac13d5f3SPatrick Williams    install -d ${D}${PTEST_PATH}/tests
23ac13d5f3SPatrick Williams    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
24ac13d5f3SPatrick Williams}
25