pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail
Module Name: pkgsrc
Committed By: adam
Date: Thu Jan 18 08:35:48 UTC 2018
Modified Files:
pkgsrc/mail: Makefile
Added Files:
pkgsrc/mail/py-email_validator: ALTERNATIVES DESCR Makefile PLIST
distinfo
Log Message:
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!).
To generate a diff of this commit:
cvs rdiff -u -r1.504 -r1.505 pkgsrc/mail/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/py-email_validator/ALTERNATIVES \
pkgsrc/mail/py-email_validator/DESCR \
pkgsrc/mail/py-email_validator/Makefile \
pkgsrc/mail/py-email_validator/PLIST \
pkgsrc/mail/py-email_validator/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/Makefile
diff -u pkgsrc/mail/Makefile:1.504 pkgsrc/mail/Makefile:1.505
--- pkgsrc/mail/Makefile:1.504 Thu Nov 23 15:42:22 2017
+++ pkgsrc/mail/Makefile Thu Jan 18 08:35:48 2018
@@ -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+= proxsmtp
SUBDIR+= pulsar
SUBDIR+= py-aiosmtpd
SUBDIR+= py-authres
+SUBDIR+= py-email_validator
SUBDIR+= py-flufl.bounce
SUBDIR+= py-libgmail
SUBDIR+= py-policyd-spf
Added files:
Index: pkgsrc/mail/py-email_validator/ALTERNATIVES
diff -u /dev/null pkgsrc/mail/py-email_validator/ALTERNATIVES:1.1
--- /dev/null Thu Jan 18 08:35:48 2018
+++ pkgsrc/mail/py-email_validator/ALTERNATIVES Thu Jan 18 08:35:48 2018
@@ -0,0 +1 @@
+bin/email_validator @PREFIX@/bin/email_validator@PYVERSSUFFIX@
Index: pkgsrc/mail/py-email_validator/DESCR
diff -u /dev/null pkgsrc/mail/py-email_validator/DESCR:1.1
--- /dev/null Thu Jan 18 08:35:48 2018
+++ pkgsrc/mail/py-email_validator/DESCR Thu Jan 18 08:35:48 2018
@@ -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!).
Index: pkgsrc/mail/py-email_validator/Makefile
diff -u /dev/null pkgsrc/mail/py-email_validator/Makefile:1.1
--- /dev/null Thu Jan 18 08:35:48 2018
+++ pkgsrc/mail/py-email_validator/Makefile Thu Jan 18 08:35:48 2018
@@ -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"
Index: pkgsrc/mail/py-email_validator/PLIST
diff -u /dev/null pkgsrc/mail/py-email_validator/PLIST:1.1
--- /dev/null Thu Jan 18 08:35:48 2018
+++ pkgsrc/mail/py-email_validator/PLIST Thu Jan 18 08:35:48 2018
@@ -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
Index: pkgsrc/mail/py-email_validator/distinfo
diff -u /dev/null pkgsrc/mail/py-email_validator/distinfo:1.1
--- /dev/null Thu Jan 18 08:35:48 2018
+++ pkgsrc/mail/py-email_validator/distinfo Thu Jan 18 08:35:48 2018
@@ -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