[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/46: gnu: Add python-aiosmtpd.
From: |
guix-commits |
Subject: |
24/46: gnu: Add python-aiosmtpd. |
Date: |
Tue, 21 Jul 2020 08:49:42 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 3a98604f5f282fa2ba025bc9f9418c1cfe5bd54c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 11:37:28 2020 +0300
gnu: Add python-aiosmtpd.
* gnu/packages/mail.scm (python-aiosmtpd): New variable.
---
gnu/packages/mail.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index e0aea51..cde1f40 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -107,6 +107,7 @@
#:use-module (gnu packages perl-web)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
@@ -3307,3 +3308,38 @@ DKIM and ARC sign messages and output the corresponding
signature headers.")
;; The package's metadata claims it were MIT licensed, but the source file
;; headers disagree. MPL-2 for the public suffix list.
(license (list license:zpl2.1 license:zlib license:mpl2.0))))
+
+(define-public python-aiosmtpd
+ (package
+ (name "python-aiosmtpd")
+ (version "1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aiosmtpd" version))
+ (sha256
+ (base32
+ "1xdfk741pjmz1cm8dsi4n5vq4517i175rm94696m3f7kcgk7xsmp"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'delete-failing-test
+ (lambda _
+ (delete-file "aiosmtpd/tests/test_smtps.py")
+ #t))
+ (replace 'check
+ (lambda _
+ (invoke "python" "-m" "nose2" "-v"))))))
+ (native-inputs
+ `(("python-flufl-testing" ,python-flufl-testing)
+ ("python-nose2" ,python-nose2)))
+ (propagated-inputs
+ `(("python-atpublic" ,python-atpublic)))
+ (home-page "https://aiosmtpd.readthedocs.io/")
+ (synopsis "Asyncio based SMTP server")
+ (description
+ "This project is a reimplementation of the Python stdlib @code{smtpd.py}
+based on asyncio.")
+ (license (list license:asl2.0
+ license:lgpl3)))) ; only for setup_helpers.py
- 36/46: gnu: python-django-rq: Fix test suite., (continued)
- 36/46: gnu: python-django-rq: Fix test suite., guix-commits, 2020/07/21
- 39/46: gnu: Add python-django-sekizai., guix-commits, 2020/07/21
- 08/46: gnu: Add python-jinxed., guix-commits, 2020/07/21
- 32/46: gnu: Add python-django-q., guix-commits, 2020/07/21
- 33/46: gnu: Add python-django-haystack., guix-commits, 2020/07/21
- 34/46: gnu: Add python-django-classy-tags., guix-commits, 2020/07/21
- 13/46: gnu: Add python-zope-hookable., guix-commits, 2020/07/21
- 15/46: gnu: python-zope-component: Update to 4.6.2., guix-commits, 2020/07/21
- 17/46: gnu: Add python-authheaders., guix-commits, 2020/07/21
- 23/46: gnu: Add python-flufl-testing., guix-commits, 2020/07/21
- 24/46: gnu: Add python-aiosmtpd.,
guix-commits <=
- 26/46: gnu: Add python-rcssmin., guix-commits, 2020/07/21
- 29/46: gnu: Add python-csscompressor., guix-commits, 2020/07/21
- 30/46: gnu: gunicorn-bootstrap: Re-indent., guix-commits, 2020/07/21
- 31/46: gnu: Add python-django-picklefield., guix-commits, 2020/07/21
- 35/46: gnu: python-django-allauth: Update to 0.40.0., guix-commits, 2020/07/21
- 38/46: gnu: python-django-testing: Update to 0.5.0., guix-commits, 2020/07/21
- 40/46: gnu: Add python-django-compressor., guix-commits, 2020/07/21
- 42/46: gnu: python-mailmanclient: Update to 3.3.1., guix-commits, 2020/07/21
- 45/46: gnu: Add python-hyperkitty., guix-commits, 2020/07/21
- 16/46: gnu: Add python-zope-copy., guix-commits, 2020/07/21