meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb
alperak 6f49be3368
python3-propcache: enable ptest
- Tested on qemux86-64 and qemuarm64

- Added ptest to PTESTS_FAST_META_PYTHON

Ptest result:
=============

qemux86-64:

Testsuite summary
TOTAL: 37
PASS: 37
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 7
END: /usr/lib/python3-propcache/ptest
2024-10-11T08:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0

qemuarm64:

Testsuite summary
TOTAL: 37
PASS: 37
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 6
END: /usr/lib/python3-propcache/ptest
2024-10-11T08:16
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-11 07:52:22 -07:00

29 lines
643 B
BlitzBasic

SUMMARY = "Fast property caching"
HOMEPAGE = "https://github.com/aio-libs/propcache"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI[sha256sum] = "df81779732feb9d01e5d513fad0122efb3d53bbc75f61b2a4f29a020bc985e70"
inherit pypi python_setuptools_build_meta ptest
SRC_URI += " \
file://run-ptest \
"
DEPENDS += " \
python3-expandvars-native \
python3-cython-native \
"
RDEPENDS:${PN}-ptest = " \
python3-pytest \
python3-pytest-xdist \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}