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 <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wang Mingyu
2024-09-03 16:32:52 +08:00
committed by Richard Purdie
parent 1a39a1cd3d
commit 5a7fb59b09

View File

@@ -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"