gnu: python-aiosmtpd: Update to 1.2.1.

* gnu/packages/mail.scm (python-aiosmtpd): Update to 1.2.1.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2020-08-19 02:33:07 +02:00
parent bf2727c1b4
commit 525304e1b9
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3517,20 +3517,23 @@ (define-public python-authheaders
(define-public python-aiosmtpd
(package
(name "python-aiosmtpd")
(version "1.2")
(version "1.2.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "aiosmtpd" version))
(sha256
(base32
"1xdfk741pjmz1cm8dsi4n5vq4517i175rm94696m3f7kcgk7xsmp"))))
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aio-libs/aiosmtpd")
(commit version)))
(sha256
(base32 "14c30dm6jzxiblnsah53fdv68vqhxwvb9x0aq9bc4vcdas747vr7"))
(file-name (git-file-name name version))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'delete-failing-test
(add-after 'unpack 'delete-failing-tests
(lambda _
;; This test uses an expired certificate.
(delete-file "aiosmtpd/tests/test_smtps.py")
#t))
(replace 'check