diff options
Diffstat (limited to 'meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb')
| -rw-r--r-- | meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb new file mode 100644 index 0000000000..1d70b586c7 --- /dev/null +++ b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 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 | |||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "1f3002956a54a8c3730586c5c77bf18fae4149e07eaf1c29fc3faf4d5a3f89ac" | ||
| 8 | |||
| 9 | DEPENDS += "python3-setuptools-scm-native" | ||
| 10 | |||
| 11 | inherit pypi python_setuptools_build_meta ptest | ||
| 12 | |||
| 13 | SRC_URI += " \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | |||
| 17 | RDEPENDS:${PN}-ptest += " \ | ||
| 18 | python3-multiprocessing \ | ||
| 19 | python3-pytest \ | ||
| 20 | python3-redis \ | ||
| 21 | python3-unittest-automake-output \ | ||
| 22 | redis \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_ptest() { | ||
| 26 | install -d ${D}${PTEST_PATH}/portalocker_tests | ||
| 27 | cp -rf ${S}/portalocker_tests/* ${D}${PTEST_PATH}/portalocker_tests/ | ||
| 28 | rm -rf ${D}${PTEST_PATH}/portalocker_tests/test_combined.py | ||
| 29 | } | ||
| 30 | |||
| 31 | RDEPENDS:${PN} += " \ | ||
| 32 | python3-fcntl \ | ||
| 33 | python3-logging \ | ||
| 34 | " | ||
| 35 | |||
| 36 | BBCLASSEXTEND = "native nativesdk" | ||
