python3-portalocker_3.1.1.bb 844 B

123456789101112131415161718192021222324252627282930313233343536
  1. SUMMARY = "Cross-platform locking library"
  2. DESCRIPTION = "Portalocker is a library to provide an easy API to file locking"
  3. LICENSE = "BSD-3-Clause"
  4. LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c"
  5. SRC_URI[sha256sum] = "ec20f6dda2ad9ce89fa399a5f31f4f1495f515958f0cb7ca6543cef7bb5a749e"
  6. DEPENDS += "python3-setuptools-scm-native"
  7. inherit pypi python_setuptools_build_meta ptest
  8. SRC_URI += " \
  9. file://run-ptest \
  10. "
  11. RDEPENDS:${PN}-ptest += " \
  12. python3-multiprocessing \
  13. python3-pytest \
  14. python3-redis \
  15. python3-unittest-automake-output \
  16. redis \
  17. "
  18. do_install_ptest() {
  19. install -d ${D}${PTEST_PATH}/tests
  20. cp -rf ${S}/portalocker_tests/* ${D}${PTEST_PATH}/tests/
  21. rm -rf ${D}${PTEST_PATH}/tests/test_combined.py
  22. }
  23. RDEPENDS:${PN} += " \
  24. python3-fcntl \
  25. python3-logging \
  26. "
  27. BBCLASSEXTEND = "native nativesdk"