mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-01 06:55:39 +01:00
Upgrade to release 2.3: - Officially support Python 3.10. - Add static typing. - :has(), :is(), and :where() now use use a forgiving selector list. While not as forgiving as CSS might be, it will forgive such things as empty sets and empty slots due to multiple consecutive commas, leading commas, or trailing commas. Essentially, these pseudo-classes will match all non-empty selectors and ignore empty ones. As the scraping environment is different than a browser environment, it was chosen not to aggressively forgive bad syntax and invalid features to ensure the user is alerted that their program may not perform as expected. - Add support to output a pretty print format of a compiled SelectorList for debug purposes. - Some small corner cases discovered with static typing. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
30 lines
690 B
BlitzBasic
30 lines
690 B
BlitzBasic
SUMMARY = "CSS selector library for python-beautifulsoup4"
|
|
HOMEPAGE = "https://github.com/facelessuser/soupsieve"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=33c3a77def9b3ad83e01c65bdcc1af67"
|
|
|
|
SRC_URI[sha256sum] = "e4860f889dfa88774c07da0b276b70c073b6470fa1a4a8350800bb7bce3dcc76"
|
|
|
|
inherit pypi setuptools3 ptest
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
${PYTHON_PN}-beautifulsoup4 \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
${PYTHON_PN}-pytest \
|
|
${PYTHON_PN}-beautifulsoup4 \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|