mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
* test_combined.py deleted because it is not a functional test. It checks if the 'combine' function work correctly which is parse README.rst and LICENSE. * Ptest and library example tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON qemux86-64: Testsuite summary TOTAL: 21 PASS: 21 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 11 END: /usr/lib/python3-portalocker/ptest 2024-03-26T18:47 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 21 PASS: 21 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 11 END: /usr/lib/python3-portalocker/ptest 2024-03-26T18:52 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
37 lines
844 B
BlitzBasic
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] = "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"
|