pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail py-email_validator: added version 1.0.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/718dc847b6c5
branches: trunk
changeset: 374205:718dc847b6c5
user: adam <adam%pkgsrc.org@localhost>
date: Thu Jan 18 08:35:48 2018 +0000
description:
py-email_validator: added version 1.0.2
This library validates that address are of the form x%y.com@localhost. 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!).
diffstat:
mail/Makefile | 3 ++-
mail/py-email_validator/ALTERNATIVES | 1 +
mail/py-email_validator/DESCR | 11 +++++++++++
mail/py-email_validator/Makefile | 23 +++++++++++++++++++++++
mail/py-email_validator/PLIST | 11 +++++++++++
mail/py-email_validator/distinfo | 6 ++++++
6 files changed, 54 insertions(+), 1 deletions(-)
diffs (89 lines):
diff -r eda3c04c719e -r 718dc847b6c5 mail/Makefile
--- a/mail/Makefile Thu Jan 18 08:03:48 2018 +0000
+++ b/mail/Makefile Thu Jan 18 08:35:48 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.504 2017/11/23 15:42:22 wiz Exp $
+# $NetBSD: Makefile,v 1.505 2018/01/18 08:35:48 adam Exp $
#
COMMENT= Electronic mail utilities
@@ -288,6 +288,7 @@
SUBDIR+= pulsar
SUBDIR+= py-aiosmtpd
SUBDIR+= py-authres
+SUBDIR+= py-email_validator
SUBDIR+= py-flufl.bounce
SUBDIR+= py-libgmail
SUBDIR+= py-policyd-spf
diff -r eda3c04c719e -r 718dc847b6c5 mail/py-email_validator/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/py-email_validator/ALTERNATIVES Thu Jan 18 08:35:48 2018 +0000
@@ -0,0 +1,1 @@
+bin/email_validator @PREFIX@/bin/email_validator@PYVERSSUFFIX@
diff -r eda3c04c719e -r 718dc847b6c5 mail/py-email_validator/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/py-email_validator/DESCR Thu Jan 18 08:35:48 2018 +0000
@@ -0,0 +1,11 @@
+This library validates that address are of the form x%y.com@localhost. 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!).
diff -r eda3c04c719e -r 718dc847b6c5 mail/py-email_validator/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/py-email_validator/Makefile Thu Jan 18 08:35:48 2018 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2018/01/18 08:35:48 adam Exp $
+
+DISTNAME= email_validator-1.0.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= mail python
+MASTER_SITES= ${MASTER_SITE_PYPI:=e/email_validator/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/JoshData/python-email-validator
+COMMENT= Rrobust email syntax and deliverability validation library
+LICENSE= cc0-1.0-universal
+
+DEPENDS+= ${PYPKGPREFIX}-dns>=1.15.0:../../net/py-dns
+DEPENDS+= ${PYPKGPREFIX}-idna>=2.0.0:../../www/py-idna
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} email_validator email_validator${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eda3c04c719e -r 718dc847b6c5 mail/py-email_validator/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/py-email_validator/PLIST Thu Jan 18 08:35:48 2018 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/18 08:35:48 adam Exp $
+bin/email_validator${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/email_validator/__init__.py
+${PYSITELIB}/email_validator/__init__.pyc
+${PYSITELIB}/email_validator/__init__.pyo
diff -r eda3c04c719e -r 718dc847b6c5 mail/py-email_validator/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/py-email_validator/distinfo Thu Jan 18 08:35:48 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/01/18 08:35:48 adam Exp $
+
+SHA1 (email_validator-1.0.2.tar.gz) = b4e31ac08bf447aa061ec547306986d6fb15619e
+RMD160 (email_validator-1.0.2.tar.gz) = 29ace7e4f668a3355ba9d2eadc57278df19f1350
+SHA512 (email_validator-1.0.2.tar.gz) = 9d68287ec1af46d17e65aeefcbb1a32ac53542f60ae79be6be6abc9a55bf85a0ec1a569cd2a9d7c67b8a1f1d94cfc69d48f52d911d677cee8dcca4b9c8dbe29e
+Size (email_validator-1.0.2.tar.gz) = 18607 bytes
Home |
Main Index |
Thread Index |
Old Index