meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb
Khem Raj 897b2de3b7
python3-propcache: Fix ptest dependencies
Do not overwerite implicit dependencies, otherwise
ptests stop depending upon the correcpoding python module
resulting in runtime failures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-11 12:12:19 -07:00

29 lines
644 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/
}