1169d7bccSPatrick WilliamsSUMMARY = "Cross-platform locking library" 2169d7bccSPatrick WilliamsDESCRIPTION = "Portalocker is a library to provide an easy API to file locking" 3169d7bccSPatrick WilliamsLICENSE = "BSD-3-Clause" 4169d7bccSPatrick Williams 5169d7bccSPatrick WilliamsLIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c" 6169d7bccSPatrick Williams 7169d7bccSPatrick WilliamsSRC_URI[sha256sum] = "2b035aa7828e46c58e9b31390ee1f169b98e1066ab10b9a6a861fe7e25ee4f33" 8169d7bccSPatrick Williams 9169d7bccSPatrick WilliamsDEPENDS += "python3-setuptools-scm-native" 10169d7bccSPatrick Williams 11*03514f19SPatrick Williamsinherit pypi python_setuptools_build_meta ptest 12169d7bccSPatrick Williams 13*03514f19SPatrick WilliamsSRC_URI += " \ 14*03514f19SPatrick Williams file://run-ptest \ 15*03514f19SPatrick Williams" 16*03514f19SPatrick Williams 17*03514f19SPatrick WilliamsRDEPENDS:${PN}-ptest += " \ 18*03514f19SPatrick Williams python3-multiprocessing \ 19*03514f19SPatrick Williams python3-pytest \ 20*03514f19SPatrick Williams python3-redis \ 21*03514f19SPatrick Williams python3-unittest-automake-output \ 22*03514f19SPatrick Williams redis \ 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}/portalocker_tests/* ${D}${PTEST_PATH}/tests/ 28*03514f19SPatrick Williams rm -rf ${D}${PTEST_PATH}/tests/test_combined.py 29*03514f19SPatrick Williams} 30169d7bccSPatrick Williams 31169d7bccSPatrick WilliamsRDEPENDS:${PN} += " \ 3239653566SPatrick Williams python3-fcntl \ 3339653566SPatrick Williams python3-logging \ 34169d7bccSPatrick Williams" 35*03514f19SPatrick Williams 36*03514f19SPatrick WilliamsBBCLASSEXTEND = "native nativesdk" 37