1*03514f19SPatrick WilliamsDESCRIPTION = "Bindings for the scrypt key derivation function library" 2*03514f19SPatrick WilliamsLICENSE = "BSD-2-Clause" 3*03514f19SPatrick WilliamsLIC_FILES_CHKSUM = "file://LICENSE;md5=05b5ac2824a7ae7489193b0f6a6f2cd1" 4*03514f19SPatrick WilliamsHOMEPAGE="https://github.com/holgern/py-scrypt" 5*03514f19SPatrick Williams 6*03514f19SPatrick WilliamsSRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" 7*03514f19SPatrick Williams 8*03514f19SPatrick WilliamsSRC_URI[sha256sum] = "98ffde45e4a95461d73ded54ba7a26857679920d4f8ff320f6f7ade6e29531bd" 9*03514f19SPatrick Williams 10*03514f19SPatrick Williamsinherit pypi ptest setuptools3 dos2unix 11*03514f19SPatrick Williams 12*03514f19SPatrick WilliamsSRC_URI += " \ 13*03514f19SPatrick Williams file://run-ptest \ 14*03514f19SPatrick Williams" 15*03514f19SPatrick Williams 16*03514f19SPatrick WilliamsRDEPENDS:${PN}-ptest += " \ 17*03514f19SPatrick Williams python3-pytest \ 18*03514f19SPatrick Williams python3-unittest-automake-output \ 19*03514f19SPatrick Williams" 20*03514f19SPatrick Williams 21*03514f19SPatrick WilliamsRDEPENDS:${PN} += " \ 22*03514f19SPatrick Williams python3-ctypes \ 23*03514f19SPatrick Williams" 24*03514f19SPatrick Williams 25*03514f19SPatrick Williamsdo_install_ptest() { 26*03514f19SPatrick Williams install -d ${D}${PTEST_PATH}/tests 27*03514f19SPatrick Williams cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ 28*03514f19SPatrick Williams} 29