meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.14.0.bb
Khem Raj 2cc6afc500
python3-yarl: Add missing rdep on python3-hypothesis for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-11 11:56:42 -07:00

36 lines
825 B
BlitzBasic

SUMMARY = "The module provides handy URL class for url parsing and changing"
HOMEPAGE = "https://github.com/aio-libs/yarl/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI[sha256sum] = "88c7d9d58aab0724b979ab5617330acb1c7030b79379c8138c1c8c94e121d1b3"
SRC_URI += "file://run-ptest"
PYPI_PACKAGE = "yarl"
inherit pypi ptest python_setuptools_build_meta
DEPENDS += " \
python3-expandvars-native \
python3-cython-native \
"
RDEPENDS:${PN} = "\
python3-multidict \
python3-idna \
python3-io \
python3-propcache \
"
RDEPENDS:${PN}-ptest += " \
python3-hypothesis \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}