Add new port mail/py-validate_email: Verifies if an email address is valid and really exists

Verifies and checks if an e-mail address is valid, properly formatted and really
exists. It can optionally check the MX records of the e-mail domain.

WWW: https://github.com/syrusakbary/validate_email

PR:		227029
Submitted by:	Kai <freebsd_ports@k-worx.org>
This commit is contained in:
Carlos J. Puga Medina 2018-03-29 23:15:20 +00:00
parent 7105921413
commit 7043ccf5ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465936
4 changed files with 40 additions and 0 deletions

View File

@ -549,6 +549,7 @@
SUBDIR += py-pyspf
SUBDIR += py-pyzmail
SUBDIR += py-spambayes
SUBDIR += py-validate_email
SUBDIR += py-zope.sendmail
SUBDIR += pymsgauth
SUBDIR += pysieved

View File

@ -0,0 +1,32 @@
# $FreeBSD$
PORTNAME= validate_email
DISTVERSION= 1.3
CATEGORIES= mail python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freebsd_ports@k-worx.org
COMMENT= Verifies if an email address is valid and really exists
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE
# If the default version (2.7) of Python is used, use package py-dns
MY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dns>0:dns/py-dns@${PY_FLAVOR}
RUN_DEPENDS= ${MY_DEPENDS}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.pre.mk>
# If Python 3+ is used then use package py-py3dns instead
.if ${PYTHON_MAJOR_VER} == "3"
MY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py3dns>0:dns/py-py3dns@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1522218646
SHA256 (validate_email-1.3.tar.gz) = 784719dc5f780be319cdd185dc85dd93afebdb6ebb943811bc4c7c5f9c72aeaf
SIZE (validate_email-1.3.tar.gz) = 4694

View File

@ -0,0 +1,4 @@
Verifies and checks if an e-mail address is valid, properly formatted and really
exists. It can optionally check the MX records of the e-mail domain.
WWW: https://github.com/syrusakbary/validate_email