summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-06-25 16:56:14 +0800
committerKhem Raj <raj.khem@gmail.com>2024-06-27 09:19:01 -0700
commit9f99c18df34bc8ab594c04ebb0cebb41ef8394ae (patch)
tree3fd1c0775ba251db3f06cbc212c7153b93e47f6e /meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb
parent208332560f528d17eac963e4297b3b3f4a61b7a0 (diff)
downloadmeta-openembedded-9f99c18df34bc8ab594c04ebb0cebb41ef8394ae.tar.gz
python3-portalocker: upgrade 2.8.2 -> 2.10.0
Changelog: - Properly propagating exceptions for NFS read-only lock issues and added support for being able to choose between lockf and flock Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb')
-rw-r--r--meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb
new file mode 100644
index 0000000000..12d1025d07
--- /dev/null
+++ b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb
@@ -0,0 +1,36 @@
1SUMMARY = "Cross-platform locking library"
2DESCRIPTION = "Portalocker is a library to provide an easy API to file locking"
3LICENSE = "BSD-3-Clause"
4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c"
6
7SRC_URI[sha256sum] = "49de8bc0a2f68ca98bf9e219c81a3e6b27097c7bf505a87c5a112ce1aaeb9b81"
8
9DEPENDS += "python3-setuptools-scm-native"
10
11inherit pypi python_setuptools_build_meta ptest
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS:${PN}-ptest += " \
18 python3-multiprocessing \
19 python3-pytest \
20 python3-redis \
21 python3-unittest-automake-output \
22 redis \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/portalocker_tests/* ${D}${PTEST_PATH}/tests/
28 rm -rf ${D}${PTEST_PATH}/tests/test_combined.py
29}
30
31RDEPENDS:${PN} += " \
32 python3-fcntl \
33 python3-logging \
34"
35
36BBCLASSEXTEND = "native nativesdk"