Created attachment 213928 [details] email-validator.diff QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 12.1, amd64 tested)
Comment on attachment 213928 [details] email-validator.diff ^Triage: New ports (not yet committed) don't (cant yet) have maintainer-approval
Created attachment 213998 [details] py-email-validator-new-1.1.0.patch There is a new version, could you test it? I also changed it to fetch from PyPI.
Works perfectly, I'm just wondering why DISTVERSION and not PORTVERSION is used?
(In reply to Goran Mekić from comment #3) Thanks for the quick reply. It's not wrong, but DISTVERSION is preferred. https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-naming.html#makefile-versions
A commit references this bug: Author: dbaio Date: Fri May 1 15:41:42 UTC 2020 New revision: 533557 URL: https://svnweb.freebsd.org/changeset/ports/533557 Log: Add mail/py-email-validator: Robust email address syntax and deliverability validation library This library validates that address are of the form x@y.com. This is the sort of validation you would want for a login form on a website. Key features: - Good for validating email addresses used for logins/identity. - Friendly error messages when validation fails (appropriate to show to end users). - (optionally) Checks deliverability: Does the domain name resolve? - Supports internationalized domain names and (optionally) internationalized local parts. - Normalizes email addresses (super important for internationalized addresses!) WWW: https://github.com/JoshData/python-email-validator PR: 246039 Submitted by: Goran Meki? <meka@tilda.center> Changes: head/mail/Makefile head/mail/py-email-validator/ head/mail/py-email-validator/Makefile head/mail/py-email-validator/distinfo head/mail/py-email-validator/pkg-descr
Committed, thanks!