From 7e13f22f522a5620f1f6029f6daf1a230e6932a5 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 3 Aug 2020 17:05:15 +0300 Subject: python3-yarl: Upgrade 1.4.2 -> 1.5.1 Upgrade to release 1.5.1: - Fix including relocated internal yarl._quoting_c C-extension into published PyPI dists. - Convert host to lowercase on URL building. #386 - Allow using mod operator (%) for updating query string (an alias for update_query() method). - Allow use of sequences such as list and tuple in the values of a mapping such as dict to represent that a key has many values: url = URL("http://example.com") assert url.with_query({"a": [1, 2]}) == URL("http://example.com/?a=1&a=2") - Support URL.build() with scheme and path (creates a relative URL). - Cache slow IDNA encode/decode calls. - Add @final / Final type hints. - Support URL authority/raw_authority properties and authority argument of URL.build() method. - Hide the library implementation details, make the exposed public list very clean. - Fix tests with newer Python (3.7.6, 3.8.1 and 3.9.0+). - Fix a bug where query component, passed in a form of mapping or sequence, is unquoted in unexpected way. - Hide Query and QueryVariable type aliases in __init__.pyi, now they are prefixed with underscore. - Keep ipv6 brackets after updating port/user/password. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-yarl_1.4.2.bb | 29 ---------------------- .../recipes-devtools/python/python3-yarl_1.5.1.bb | 29 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-yarl_1.4.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-yarl_1.5.1.bb diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.4.2.bb b/meta-python/recipes-devtools/python/python3-yarl_1.4.2.bb deleted file mode 100644 index 15d92065d0..0000000000 --- a/meta-python/recipes-devtools/python/python3-yarl_1.4.2.bb +++ /dev/null @@ -1,29 +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=b334fc90d45983db318f54fd5bf6c90b" - -SRC_URI[md5sum] = "08ba0d6e18f460b44d9e5459f3d217ba" -SRC_URI[sha256sum] = "58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b" - -SRC_URI += " \ - file://run-ptest \ -" - -PYPI_PACKAGE = "yarl" - -inherit pypi ptest setuptools3 - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-multidict \ - ${PYTHON_PN}-idna \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -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.5.1.bb b/meta-python/recipes-devtools/python/python3-yarl_1.5.1.bb new file mode 100644 index 0000000000..40f0e4db03 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yarl_1.5.1.bb @@ -0,0 +1,29 @@ +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=b334fc90d45983db318f54fd5bf6c90b" + +SRC_URI[md5sum] = "a9b20bf0b8a6962e1101b28908a67bf8" +SRC_URI[sha256sum] = "c22c75b5f394f3d47105045ea551e08a3e804dc7e01b37800ca35b58f856c3d6" + +SRC_URI += " \ + file://run-ptest \ +" + +PYPI_PACKAGE = "yarl" + +inherit pypi ptest setuptools3 + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-multidict \ + ${PYTHON_PN}-idna \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf