pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/py-email_validator



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov 30 10:26:42 UTC 2026

Modified Files:
        pkgsrc/mail/py-email_validator: Makefile distinfo

Log Message:
py-email_validator: updated to 2.4.0

2.4.0

Python 3.8 and 3.9 are no longer supported, and Python 3.14 and 3.15 are added to testing.
The original field of the returned validated email object incorrectly un-escaped the local part of the email address. Now it returns the original address, without any display name, as passed to 
validate_email.
With allow_quoted_local=True, a quoted local part containing U+037E (Greek question mark), which Unicode NFC normalization changes to a semicolon, was returned without its quotes in the normalized 
address (e.g. a;b%example.com@localhost), getting around the re-validation added in 2.2.0. The normalized local part is now quoted according to its normalized form, giving "a;b"@example.com.
When parsing display names, multiple closing angle brackets at the end of the email address is now rejected.
The IPv6 tag of a domain literal is now case-insensitive, as in the RFCs, so me@[ipv6:::1] is accepted (and normalized to me@[IPv6:::1]) when allow_domain_literal=True.
IPv6 domain literals with a zone index are now rejected.
Internationalized domains with a right-to-left label are now rejected if any other label breaks the IDNA Bidi Rule (RFC 5893), such as a label starting with a digit. Such domains, like 1.xn--4dbc.com 
and xn--4dbc.1.com (1.אב.com and אב.1.com in Unicode), could be displayed identically.
Faster validation of domains without Punycode (xn--) labels.
Internationalized domains longer than 253 characters are now rejected for their length before IDNA encoding, which could take time quadratic in the length of the input.
The command line tool now properly reads boolean environment variables and the DEFAULT_TIMEOUT environment variable.
Improvements in type hinting, code comments, and tests.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/mail/py-email_validator/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/mail/py-email_validator/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/py-email_validator/Makefile
diff -u pkgsrc/mail/py-email_validator/Makefile:1.16 pkgsrc/mail/py-email_validator/Makefile:1.17
--- pkgsrc/mail/py-email_validator/Makefile:1.16        Wed Aug 27 09:21:19 2025
+++ pkgsrc/mail/py-email_validator/Makefile     Mon Nov 30 10:26:42 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2025/08/27 09:21:19 adam Exp $
+# $NetBSD: Makefile,v 1.17 2026/11/30 10:26:42 adam Exp $
 
-DISTNAME=      email_validator-2.3.0
+DISTNAME=      email_validator-2.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    mail python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/email-validator/}
@@ -16,9 +16,7 @@ DEPENDS+=     ${PYPKGPREFIX}-dns>=2.0.0:../.
 
 USE_LANGUAGES= # none
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} email_validator email_validator-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES=    email_validator
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/mail/py-email_validator/distinfo
diff -u pkgsrc/mail/py-email_validator/distinfo:1.11 pkgsrc/mail/py-email_validator/distinfo:1.12
--- pkgsrc/mail/py-email_validator/distinfo:1.11        Wed Aug 27 09:21:19 2025
+++ pkgsrc/mail/py-email_validator/distinfo     Mon Nov 30 10:26:42 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2025/08/27 09:21:19 adam Exp $
+$NetBSD: distinfo,v 1.12 2026/11/30 10:26:42 adam Exp $
 
-BLAKE2s (email_validator-2.3.0.tar.gz) = b2e02e038df8d38c8b3f68b6225d2caf608f21f34ce548858da060658ab34590
-SHA512 (email_validator-2.3.0.tar.gz) = eea74a49599145760b2f66a0d4569ed3131e14d783a3177d3748595e04a0ccf39c48f8f255625cba0a537bbbd90cfc2fcf56c876a6b9f24a3528103157439738
-Size (email_validator-2.3.0.tar.gz) = 51238 bytes
+BLAKE2s (email_validator-2.4.0.tar.gz) = 23233825517c097c40889ffb5063e0b19439afa08cc208d3bcfc8e28aa6ab3ca
+SHA512 (email_validator-2.4.0.tar.gz) = fa22ae26eb0a5b065339379a51187f81cda40bcb5f4f6e545935b2c628cba5c0696cb2f60520bd148797ecb9faa1129f4d9ba4de76248803dfdb182bd428281f
+Size (email_validator-2.4.0.tar.gz) = 55168 bytes



Home | Main Index | Thread Index | Old Index