summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRodion Goritskov <rodion@goritskov.com>2025-09-28 17:01:16 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-29 00:00:49 +0100
commitc7a2955b74b76a34ff2ad9c6cb094637cf1f9206 (patch)
tree3afb2cfb4d484db2a0236b2473e5a67ca746a69a /gnu
parent7c8d450d85e2c7f334d91acec44667638efb6de7 (diff)
gnu: python-aiosmtpd: Fix tests.
* gnu/packages/mail.scm (python-aiosmtpd): Fix tests. [version]: Build from commit 98f578389ae86e5345cc343fa4e5a17b21d9c96d. [native-inputs]: Remove python-pytest-asyncio, python-wheel. [propagated-inputs]: Add python-attrs. Change-Id: I75f7eaf6eef178ca78361b45ce36c116a7341b02 Reviewed-by: Nicolas Graves <ngraves@ngraves.fr> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm64
1 files changed, 33 insertions, 31 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index faeaeb70e2e..af4f372c90d 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4760,38 +4760,40 @@ DKIM and ARC sign messages and output the corresponding signature headers.")
(license (list license:zpl2.1 license:zlib license:mpl2.0))))
(define-public python-aiosmtpd
- (package
- (name "python-aiosmtpd")
- (version "1.4.6")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aio-libs/aiosmtpd")
- (commit (string-append "v" version))))
- (sha256
- (base32 "0b5y94zc8pq75sjwsifblzgjnliyclkwypi68b2zffrxcdnz27r2"))
- (file-name (git-file-name name version))))
- (build-system pyproject-build-system)
- (arguments
- ;; This QA test requires git.
- (list #:test-flags ''("-k" "not test_ge_master")))
- (native-inputs
- (list python-pytest
- python-pytest-asyncio
- python-pytest-cov
- python-pytest-mock
- python-setuptools
- python-wheel))
- (propagated-inputs
- (list 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}
+ ;; Tests run fixed on not yet released version.
+ (let ((commit "98f578389ae86e5345cc343fa4e5a17b21d9c96d")
+ (revision "0"))
+ (package
+ (name "python-aiosmtpd")
+ (version (git-version "1.4.6" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aio-libs/aiosmtpd")
+ (commit commit)))
+ (sha256
+ (base32 "1pmvlzxfcqjplvn2bzi9jd3m3941ff7nlgxxfwc7pzhmazlkqf8z"))
+ (file-name (git-file-name name version))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; This QA test requires git.
+ (list #:test-flags ''("-k" "not test_ge_master")))
+ (native-inputs
+ (list python-pytest
+ python-pytest-cov
+ python-pytest-mock
+ python-setuptools))
+ (propagated-inputs
+ (list python-atpublic
+ python-attrs))
+ (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
+ (license (list license:asl2.0
+ license:lgpl3))))) ; only for setup_helpers.py
(define-public python-imaplib2
(package