From 5a7fb59b090ad66c2ef0e28ef67345c8fc6627ee Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 3 Sep 2024 16:32:52 +0800 Subject: python3-idna: upgrade 3.7 -> 3.8 Changelog: ========== - Fix regression where IDNAError exception was not being produced for certain inputs. - Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable. - Documentation improvements - Updates to package testing using Github actions (From OE-Core rev: 23075f8fd3144338cac1e3ad0b6b81d2376d2d4b) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-idna_3.8.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-idna_3.8.bb (limited to 'meta/recipes-devtools/python/python3-idna_3.8.bb') diff --git a/meta/recipes-devtools/python/python3-idna_3.8.bb b/meta/recipes-devtools/python/python3-idna_3.8.bb new file mode 100644 index 0000000000..95c3c8cc44 --- /dev/null +++ b/meta/recipes-devtools/python/python3-idna_3.8.bb @@ -0,0 +1,19 @@ +SUMMARY = "Internationalised Domain Names in Applications" +HOMEPAGE = "https://github.com/kjd/idna" +LICENSE = "BSD-3-Clause & Python-2.0 & Unicode-TOU" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1" + +SRC_URI[sha256sum] = "d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603" + +SRC_URI += "file://run-ptest" + +inherit pypi python_flit_core ptest + +do_install_ptest() { + cp -r ${S}/tests ${D}${PTEST_PATH}/ +} + +RDEPENDS:${PN} += "python3-codecs" +RDEPENDS:${PN}-ptest += "python3-unittest-automake-output" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf