Files
meta-openembedded/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.0.0.bb
Wang Mingyu 48b04c443b 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 <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-03 09:44:35 -08: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] = "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"