python3-email-validator: upgrade 2.1.1 -> 2.2.0

Changelog:
===========
- Email addresses with internationalized local parts could, with rare Unicode
  characters, be returned as valid but actually be invalid in their
  normalized form (returned in the normalized field).
- The length check for email addresses with internationalized local parts is
  now also applied to the original address string prior to Unicode NFC
  normalization, which may be longer and could exceed the maximum email address
  length, to protect callers who do not use the returned normalized address.
- Improved error message for IDNA domains that are too long or have invalid
  characters after Unicode normalization.
- A new option to parse My Name <address@domain> strings
- Improvements to Python typing.
- Some additional tests added.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2024-06-25 16:56:00 +08:00
committed by Khem Raj
parent 4009e28946
commit b803880cf0

View File

@@ -0,0 +1,12 @@
SUMMARY = "A robust email address syntax and deliverability validation library."
SECTION = "devel/python"
LICENSE = "CC0-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2890aee62bd2a4c3197e2059016a397e"
SRC_URI[sha256sum] = "cb690f344c617a714f22e66ae771445a1ceb46821152df8e165c5f9a364582b7"
PYPI_PACKAGE = "email_validator"
inherit pypi setuptools3
RDEPENDS:${PN} += "python3-dnspython python3-idna"