From 70b2d8df6db58968af74e4dca9f44d13980cf74a Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 11 Jan 2021 17:25:07 +0200 Subject: python3-dnspython: Upgrade 2.0.0 -> 2.1.0 Upgrade to release 2.1.0: - End-of-line comments are now associated with rdata when read from text. For backwards compatibility with prior versions of dnspython, they are only emitted in to_text() when requested. - Synchronous I/O is a bit more efficient, as we now try the I/O and only use poll() or select() if the I/O would block. - The resolver cache classes now offer basic hit and miss statistics, and the LRUCache can also provide hits for every cache key. - The resolver has a canonical_name() method. - There is now a registration mechanism for EDNS option types. - The default EDNS payload size has changed from 1280 to 1232. - The SVCB, HTTPS, and SMIMEA RR types are now supported. - TSIG has been enhanced with TKEY and GSS-TSIG support. Thanks to Nick Hall for writing this. - Zones now can be updated via transactions. - A new zone subclass, dns.versioned.Zone is available which has a thread-safe transaction implementation and support for keeping many versions of a zone. - The zone file reading code has been adapted to use transactions, and is now a public API. - Inbound zone transfer support has been rewritten and is available as dns.query.inbound_xfr() and dns.asyncquery.inbound_xfr(). It uses the transaction mechanism, and fully supports IXFR and AXFR. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-dnspython_2.0.0.bb | 33 ---------------------- .../python/python3-dnspython_2.1.0.bb | 32 +++++++++++++++++++++ 2 files changed, 32 insertions(+), 33 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-dnspython_2.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-dnspython_2.1.0.bb diff --git a/meta-python/recipes-devtools/python/python3-dnspython_2.0.0.bb b/meta-python/recipes-devtools/python/python3-dnspython_2.0.0.bb deleted file mode 100644 index a4e9846191..0000000000 --- a/meta-python/recipes-devtools/python/python3-dnspython_2.0.0.bb +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION = "DNS toolkit for Python" -HOMEPAGE = "http://www.dnspython.org/" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34" - -SRC_URI[md5sum] = "42f922c9223dde0275e8c0695ead37da" -SRC_URI[sha256sum] = "044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7" - -PYPI_PACKAGE_EXT = "zip" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-crypt \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-math \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-threading \ -" diff --git a/meta-python/recipes-devtools/python/python3-dnspython_2.1.0.bb b/meta-python/recipes-devtools/python/python3-dnspython_2.1.0.bb new file mode 100644 index 0000000000..20de09391f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dnspython_2.1.0.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "DNS toolkit for Python" +HOMEPAGE = "http://www.dnspython.org/" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34" + +SRC_URI[sha256sum] = "e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4" + +PYPI_PACKAGE_EXT = "zip" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-threading \ +" -- cgit 1.2.3-korg