mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-01 06:55:39 +01:00
While recipe build depends on python3-beautifulsoup4-native and python3-soupsieve-native, it failed at fix loop dependency error ... |ERROR: Task virtual:native:meta-openembedded/meta-python/ recipes-devtools/python/python3-soupsieve_2.6.bb:do_populate_sysroot has circular dependency on virtual:native:meta-openembedded/ meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.3.bb:do_populate_sysroot ... Correct runtime depends as class-target override to workaround Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
34 lines
821 B
BlitzBasic
34 lines
821 B
BlitzBasic
SUMMARY = "CSS selector library for python-beautifulsoup4"
|
|
HOMEPAGE = "https://github.com/facelessuser/soupsieve"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bdfa4c8e8b6830bcf8e78cba1669e4d"
|
|
|
|
SRC_URI[sha256sum] = "e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb"
|
|
|
|
inherit pypi python_hatchling python_setuptools_build_meta ptest
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
RDEPENDS:${PN} += " \
|
|
python3-core \
|
|
python3-datetime \
|
|
"
|
|
RDEPENDS:${PN}:append:class-target = " \
|
|
python3-beautifulsoup4 \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-beautifulsoup4 \
|
|
python3-pytest \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|