similarity index 69%
rename from meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.1.1.bb
rename to meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c"
-SRC_URI[sha256sum] = "ec20f6dda2ad9ce89fa399a5f31f4f1495f515958f0cb7ca6543cef7bb5a749e"
+SRC_URI[sha256sum] = "1f3002956a54a8c3730586c5c77bf18fae4149e07eaf1c29fc3faf4d5a3f89ac"
DEPENDS += "python3-setuptools-scm-native"
@@ -23,9 +23,9 @@ RDEPENDS:${PN}-ptest += " \
"
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
+ install -d ${D}${PTEST_PATH}/portalocker_tests
+ cp -rf ${S}/portalocker_tests/* ${D}${PTEST_PATH}/portalocker_tests/
+ rm -rf ${D}${PTEST_PATH}/portalocker_tests/test_combined.py
}
RDEPENDS:${PN} += " \
fix the issue that: | ImportError while importing test module '/usr/lib/python3-portalocker/ptest/tests/test_lock_flags.py'. | Hint: make sure your test modules/packages have valid Python names. | Traceback: | ../../python3.13/importlib/__init__.py:88: in import_module | return _bootstrap._gcd_import(name[level:], package, level) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | tests/test_lock_flags.py:7: in <module> | from portalocker_tests.conftest import LOCKERS | E ModuleNotFoundError: No module named 'portalocker_tests' | ERROR: tests/test_lock_flags.py:tests/test_lock_flags.py portalocker_tests is a dir in source, we need to keep it python3-portalocker/3.2.0/sources/portalocker-3.2.0$ ls -l -t portalocker_tests/ total 60 -rw-r--r-- 1 userland userland 2019 Jun 14 13:20 conftest.py Changelog: ========== - Rewrote locking mechanism to allow for custom locking classes so both Windows and Posix (Linux/Mac/BSD) systems have configurable locking options for both exclusive and shared locking. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> --- ...-portalocker_3.1.1.bb => python3-portalocker_3.2.0.bb} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename meta-python/recipes-extended/python3-portalocker/{python3-portalocker_3.1.1.bb => python3-portalocker_3.2.0.bb} (69%)