diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-12 14:18:50 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-18 14:37:08 +0100 |
| commit | d2645665c8f2019e84cbebcdb292cc94b99bf28f (patch) | |
| tree | 9373ea3bd1e86a83c3be26ffe7b06436844e7bbf | |
| parent | 1caecbfdc0847a945e100962037f539c94360c44 (diff) | |
gnu: Add python-standard-smtpd.
* gnu/packages/python-xyz.scm (python-standard-smtpd): New variable.
Change-Id: I1f9818a1772f9aca67f43ae0d46ecdd898b6f2d7
| -rw-r--r-- | gnu/packages/python-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index af008a35c3..5a4454fb5a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -36638,6 +36638,37 @@ version 3.6 and removed in version 3.12; use @code{asyncio} instead. See: standard library}.") (license license:psfl))) +(define-public python-standard-smtpd + (package + (name "python-standard-smtpd") + (version %python-standard-pep-594-version) + (source %python-standard-pep-594-source) + (build-system pyproject-build-system) + (arguments + (list + ;; ImportError: cannot import name 'mock_socket' from 'test' + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "smtpd")))))) + (native-inputs + (list python-setuptools)) + (propagated-inputs + (list + python-standard-asynchat + python-standard-asyncore)) + (home-page "https://github.com/youknowone/python-deadlib") + (synopsis "Backport of smtpd from Python 3.11") + (description + "Standard library @code{smtpd} redistribution. Deprecated since version +3.6 and removed in version 3.12; the @code{aiosmtpd} package is a recommended +replacement for this module, based on @code{asyncio}. See: +@url{https://peps.python.org/pep-0594/, Removing dead batteries from the +standard library}.") + (license license:psfl))) + (define-public python-stdio-mgr (package (name "python-stdio-mgr") |
