From d65521b5e8b569d5e966acfe52f2bdc61024c96e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 30 Sep 2024 15:43:02 +0800 Subject: python3-yarl: upgrade 1.11.1 -> 1.13.1 Changelog: ============ -Added :attr:~yarl.URL.path_safe to be able to fetch the path without %2F and %25 decoded -Restore decoding %2F (/) in URL.path -Improved performance of processing paths -Added :attr:~yarl.URL.host_subcomponent which returns the :rfc:3986#section-3.2.2 host subcomponent -Started rejecting ASCII hostnames with invalid characters. For host strings that -look like authority strings, the exception message includes advice on what to do instead -Fixed IPv6 addresses missing brackets when the :class:~yarl.URL was converted to a string -Improved performance of calling :py:meth:~yarl.URL.build with authority Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-yarl_1.13.1.bb | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-yarl_1.13.1.bb (limited to 'meta-python/recipes-devtools/python/python3-yarl_1.13.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.13.1.bb b/meta-python/recipes-devtools/python/python3-yarl_1.13.1.bb new file mode 100644 index 0000000000..16708fd1f7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yarl_1.13.1.bb @@ -0,0 +1,33 @@ +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] = "ec8cfe2295f3e5e44c51f57272afbd69414ae629ec7c6b27f5a410efc78b70a0" + +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 \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf