From 48b04c443bbb95f964df0abe3e50b50a506faabf Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 3 Dec 2024 08:16:29 +0800 Subject: python3-portalocker: upgrade 2.10.1 -> 3.0.0 Changelog: =========== - Completely modernized portalocker build system and added fully strict pyright and mypy compliance with ruff formatting and checking. - Dropped support for deprecated Python versions, only 3.9 and up are supported now. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python3-portalocker_2.10.1.bb | 36 ---------------------- .../python3-portalocker_3.0.0.bb | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.1.bb create mode 100644 meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.0.0.bb (limited to 'meta-python/recipes-extended') diff --git a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.1.bb b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.1.bb deleted file mode 100644 index 8c03398ed1..0000000000 --- a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.10.1.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] = "ef1bf844e878ab08aee7e40184156e1151f228f103aa5c6bd0724cc330960f8f" - -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_3.0.0.bb b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.0.0.bb new file mode 100644 index 0000000000..6bdef37482 --- /dev/null +++ b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.0.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] = "21f535de2e7a82c94c130c054adb5c7421d480d5619d61073996e2f89bcb879b" + +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