[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: Add python-email-validator and python2-email-validator.
From: |
??? |
Subject: |
09/11: gnu: Add python-email-validator and python2-email-validator. |
Date: |
Sat, 25 Jun 2016 12:50:10 +0000 (UTC) |
iyzsong pushed a commit to branch master
in repository guix.
commit 22711e258580d6a13207822d2b02c5a610b1f76b
Author: 宋文武 <address@hidden>
Date: Thu Jun 23 23:13:32 2016 +0800
gnu: Add python-email-validator and python2-email-validator.
* gnu/packages/python.scm (python-email-validator)
(python2-email-validator): New variables.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ff3cb99..68123cc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9468,3 +9468,35 @@ It supports TSIG authenticated messages and EDNS0.")
(define-public python2-dnspython
(package-with-python2 python-dnspython))
+(define-public python-email-validator
+ (package
+ (name "python-email-validator")
+ (version "1.0.1")
+ (source
+ (origin (method url-fetch)
+ (uri (pypi-uri "email_validator" version))
+ (sha256
+ (base32
+ "0mn8jg5h8ifl8w6a6m0hq8kbk0mzw9vm054qfamkn89b3npz52qw"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'use-dnspython
+ (lambda _
+ (substitute* "setup.py"
+ (("dnspython3") "dnspython"))
+ #t)))))
+ (native-inputs
+ `(("python-dnspython" ,python-dnspython)
+ ("python-idna" ,python-idna)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/JoshData/python-email-validator")
+ (synopsis "Email address validation library for Python")
+ (description
+ "This library validates email address syntax and deliverability.")
+ (license cc0)))
+
+(define-public python2-email-validator
+ (package-with-python2 python-email-validator))
+
- branch master updated (934c5d5 -> ea92ae0), ???, 2016/06/25
- 08/11: gnu: Add python-dnspython and python2-dnspython., ???, 2016/06/25
- 06/11: gnu: Add python-cleo and python2-cleo., ???, 2016/06/25
- 03/11: gnu: Add python-arrow and python2-arrow., ???, 2016/06/25
- 09/11: gnu: Add python-email-validator and python2-email-validator.,
??? <=
- 10/11: gnu: Add python-ukpostcodeparser and python2-ukpostcodeparser., ???, 2016/06/25
- 02/11: gnu: Add python-chai and python2-chai., ???, 2016/06/25
- 11/11: gnu: Add python-fake-factory and python2-fake-factory., ???, 2016/06/25
- 07/11: gnu: Add python-lazy-object-proxy and python2-lazy-object-proxy., ???, 2016/06/25
- 05/11: gnu: Add python-pylev and python2-pylev., ???, 2016/06/25
- 04/11: gnu: Add python-inflection and python2-inflection., ???, 2016/06/25
- 01/11: guix: python-build-system: Change pypi-uri to use https://pypi.io., ???, 2016/06/25