From 549919352ccedee378fb4c2c3c3e39a6c9ee8fd7 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 27 Feb 2023 16:12:03 +0800 Subject: python3-soupsieve: upgrade 2.3.2.post1 -> 2.4 Changelog: ========== NEW: Update to support changes related to :lang() in the official CSS spec. :lang("") should match unspecified languages, e.g. lang="", but not lang=und. NEW: Only :is() and :where() should allow forgiving selector lists according to latest CSS (as far as Soup Sieve supports "forgiving" which is limited to empty selectors). NEW: Formally drop Python 3.6. NEW: Formally declare support for Python 3.11. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-soupsieve_2.4.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-soupsieve_2.4.bb (limited to 'meta-python/recipes-devtools/python/python3-soupsieve_2.4.bb') diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.4.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.4.bb new file mode 100644 index 0000000000..ba5fe505d9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.4.bb @@ -0,0 +1,29 @@ +SUMMARY = "CSS selector library for python-beautifulsoup4" +HOMEPAGE = "https://github.com/facelessuser/soupsieve" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c7a2acf04248c0d02dac4c82ee8a7f56" + +SRC_URI[sha256sum] = "e28dba9ca6c7c00173e34e4ba57448f0688bb681b7c5e8bf4971daafc093d69a" + +inherit pypi python_hatchling python_setuptools_build_meta 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" -- cgit v1.2.3-54-g00ecf