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