From c18c531c885ac31391c1980b8af8a1a83752d41a Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 12 Jan 2026 10:36:10 +0200 Subject: python3-pycares: Upgrade 4.11.0 -> 5.0.1 Upgrade to release 5.0.1: - Use Literal for type - Use CMake for compiling c-ares - Move project metadata to pyproject.toml - Remove gethostbyname - Remove getsock - Replace ares_{get,set}servers with ares_{get,set}_servers_csv - Remove ares_init and ares_mkquery, they are unused - Make c-ares thread-safety mandatory - Migrate API to c-ares' dnsrec variants - Build wheels in parallel - Update bundled c-ares to v1.34.6 - Make callback a mandatory kwarg-only argument - Return bytes data for TXT records - Add support for TLSA, HTTP and URI queries - Remove event_thread option, make it implicit - Fix IDNA 2008 test Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-pycares_4.11.0.bb | 22 ---------------------- .../python/python3-pycares_5.0.1.bb | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pycares_4.11.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pycares_4.11.0.bb b/meta-python/recipes-devtools/python/python3-pycares_4.11.0.bb deleted file mode 100644 index 974f4f3ed6..0000000000 --- a/meta-python/recipes-devtools/python/python3-pycares_4.11.0.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "Python interface for c-ares" -DESCRIPTION = "\ -pycares is a Python module which provides an interface to c-ares. c-ares is \ -a C library that performs DNS requests and name resolutions asynchronously." -HOMEPAGE = "https://github.com/saghul/pycares" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b1538fcaea82ebf2313ed648b96c69b1" - -SRC_URI[sha256sum] = "c863d9003ca0ce7df26429007859afd2a621d3276ed9fef154a9123db9252557" - -PYPI_PACKAGE = "pycares" - -inherit pypi python_setuptools_build_meta - -DEPENDS += "python3-cffi-native" - -RDEPENDS:${PN} += " \ - python3-cffi \ - python3-idna \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb b/meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb new file mode 100644 index 0000000000..968357a1c9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb @@ -0,0 +1,22 @@ +SUMMARY = "Python interface for c-ares" +DESCRIPTION = "\ +pycares is a Python module which provides an interface to c-ares. c-ares is \ +a C library that performs DNS requests and name resolutions asynchronously." +HOMEPAGE = "https://github.com/saghul/pycares" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b1538fcaea82ebf2313ed648b96c69b1" + +SRC_URI[sha256sum] = "5a3c249c830432631439815f9a818463416f2a8cbdb1e988e78757de9ae75081" + +PYPI_PACKAGE = "pycares" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-cffi-native" + +RDEPENDS:${PN} += " \ + python3-cffi \ + python3-idna \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf