From 9f99c18df34bc8ab594c04ebb0cebb41ef8394ae Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 25 Jun 2024 16:56:14 +0800 Subject: 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 Signed-off-by: Khem Raj --- .../python3-portalocker_2.10.0.bb | 36 ++++++++++++++++++++++ .../python3-portalocker_2.8.2.bb | 36 ---------------------- 2 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.0.bb delete mode 100644 meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.8.2.bb (limited to 'meta-python/recipes-extended') 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 @@ +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" diff --git a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.8.2.bb b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.8.2.bb deleted file mode 100644 index c45a3fcda2..0000000000 --- a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.8.2.bb +++ /dev/null @@ -1,36 +0,0 @@ -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] = "2b035aa7828e46c58e9b31390ee1f169b98e1066ab10b9a6a861fe7e25ee4f33" - -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" -- cgit v1.2.3-54-g00ecf