meta-openembedded/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb
Wang Mingyu 9f99c18df3
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>
2024-06-27 09:19:01 -07:00

37 lines
844 B
BlitzBasic

SUMMARY = "Cross-platform locking library"
DESCRIPTION = "Portalocker is a library to provide an easy API to file locking"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c"
SRC_URI[sha256sum] = "49de8bc0a2f68ca98bf9e219c81a3e6b27097c7bf505a87c5a112ce1aaeb9b81"
DEPENDS += "python3-setuptools-scm-native"
inherit pypi python_setuptools_build_meta ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-multiprocessing \
python3-pytest \
python3-redis \
python3-unittest-automake-output \
redis \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/portalocker_tests/* ${D}${PTEST_PATH}/tests/
rm -rf ${D}${PTEST_PATH}/tests/test_combined.py
}
RDEPENDS:${PN} += " \
python3-fcntl \
python3-logging \
"
BBCLASSEXTEND = "native nativesdk"