From c03e92b112a4578fa9ed9218d6aca2ddc251480f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 10 Sep 2024 17:03:05 +0800 Subject: python3-yarl: upgrade 1.9.4 -> 1.10.0 Changelog: ========== - Fixed joining a path when the existing path was empty - Added :meth:URL.without_query_params() method, to drop some parameters from query string - The previously protected types _SimpleQuery, _QueryVariable, and _Query are now available for use externally as SimpleQuery, QueryVariable, and Query - Replaced all :class:~typing.Optional with :class:~typing.Union - Significantly improved performance of parsing the network location - Added internal types to the cache to prevent future refactoring errors Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-yarl_1.10.0.bb | 33 ++++++++++++++++++++++ .../recipes-devtools/python/python3-yarl_1.9.4.bb | 33 ---------------------- 2 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-yarl_1.10.0.bb delete mode 100644 meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.10.0.bb b/meta-python/recipes-devtools/python/python3-yarl_1.10.0.bb new file mode 100644 index 0000000000..0ff3041db3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yarl_1.10.0.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] = "3bf10a395adac62177ba8ea738617e8de6cbb1cea6aa5d5dd2accde704fc8195" + +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/ +} diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb b/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb deleted file mode 100644 index 29897b7f1c..0000000000 --- a/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb +++ /dev/null @@ -1,33 +0,0 @@ -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] = "566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf" - -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