Bug 246039 - [NEW PORT] mail/py-email-validator: Robust email address syntax and deliverability validation library
Summary: [NEW PORT] mail/py-email-validator: Robust email address syntax and deliverab...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Danilo G. Baio
URL: https://pypi.org/project/email-valida...
Keywords: easy
Depends on:
Blocks: 246041
  Show dependency treegraph
 
Reported: 2020-04-30 01:42 UTC by Goran Mekić
Modified: 2020-05-01 15:44 UTC (History)
4 users (show)

See Also:
dbaio: maintainer-feedback+


Attachments
email-validator.diff (2.56 KB, patch)
2020-04-30 01:42 UTC, Goran Mekić
no flags Details | Diff
py-email-validator-new-1.1.0.patch (3.07 KB, patch)
2020-05-01 13:47 UTC, Danilo G. Baio
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Mekić 2020-04-30 01:42:09 UTC
Created attachment 213928 [details]
email-validator.diff

QA:

  * portlint: OK (looks fine.)
  * testport: OK (poudriere: 12.1, amd64 tested)
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-04-30 02:38:51 UTC
Comment on attachment 213928 [details]
email-validator.diff

^Triage: New ports (not yet committed) don't (cant yet) have maintainer-approval
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2020-05-01 13:47:49 UTC
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.
Comment 3 Goran Mekić 2020-05-01 14:02:25 UTC
Works perfectly, I'm just wondering why DISTVERSION and not PORTVERSION is used?
Comment 4 Danilo G. Baio freebsd_committer freebsd_triage 2020-05-01 14:35:46 UTC
(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
Comment 5 commit-hook freebsd_committer freebsd_triage 2020-05-01 15:42:22 UTC
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
Comment 6 Danilo G. Baio freebsd_committer freebsd_triage 2020-05-01 15:44:32 UTC
Committed, thanks!