Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2020 15:41:41 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533557 - in head/mail: . py-email-validator
Message-ID:  <202005011541.041Fffme081901@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Fri May  1 15:41:41 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>

Added:
  head/mail/py-email-validator/
  head/mail/py-email-validator/Makefile   (contents, props changed)
  head/mail/py-email-validator/distinfo   (contents, props changed)
  head/mail/py-email-validator/pkg-descr   (contents, props changed)
Modified:
  head/mail/Makefile

Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile	Fri May  1 15:40:31 2020	(r533556)
+++ head/mail/Makefile	Fri May  1 15:41:41 2020	(r533557)
@@ -504,6 +504,7 @@
     SUBDIR += py-cyruslib
     SUBDIR += py-dkimpy
     SUBDIR += py-email_reply_parser
+    SUBDIR += py-email-validator
     SUBDIR += py-flask-mail
     SUBDIR += py-flufl.bounce
     SUBDIR += py-fuglu

Added: head/mail/py-email-validator/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-email-validator/Makefile	Fri May  1 15:41:41 2020	(r533557)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	email-validator
+DISTVERSION=	1.1.0
+CATEGORIES=	mail python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	email_validator-${PORTVERSION}
+
+MAINTAINER=	meka@tilda.center
+COMMENT=	Robust email address syntax and deliverability validation library
+
+LICENSE=	CC0-1.0
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}idna>=2.0.0:dns/py-idna@${PY_FLAVOR} \
+	${PYTHON_PKGNAMEPREFIX}dnspython>=1.15.0:dns/py-dnspython@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/mail/py-email-validator/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-email-validator/distinfo	Fri May  1 15:41:41 2020	(r533557)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1588339467
+SHA256 (email_validator-1.1.0.tar.gz) = 2d515ed56eca41a2c91bbe1e0b1054d604a2502417487b553d3d26962945eda2
+SIZE (email_validator-1.1.0.tar.gz) = 23239

Added: head/mail/py-email-validator/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-email-validator/pkg-descr	Fri May  1 15:41:41 2020	(r533557)
@@ -0,0 +1,14 @@
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005011541.041Fffme081901>