summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-05-12 14:18:50 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-24 10:19:39 +0100
commitdcb1dab50b0884f248b2133a542081ddf5602fcb (patch)
tree2722c2f3913f3c13f0be236832cff51be7b6f99d /gnu
parent73267a8423ad7fda8cf0369ff14a5212cfbbb29d (diff)
gnu: Add python-standard-smtpd.
* gnu/packages/python-xyz.scm (python-standard-smtpd): New variable. Change-Id: I1f9818a1772f9aca67f43ae0d46ecdd898b6f2d7
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index af008a35c34..5a4454fb5a6 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:
36638standard library}.") 36638standard library}.")
36639 (license license:psfl))) 36639 (license license:psfl)))
36640 36640
36641(define-public python-standard-smtpd
36642 (package
36643 (name "python-standard-smtpd")
36644 (version %python-standard-pep-594-version)
36645 (source %python-standard-pep-594-source)
36646 (build-system pyproject-build-system)
36647 (arguments
36648 (list
36649 ;; ImportError: cannot import name 'mock_socket' from 'test'
36650 #:tests? #f
36651 #:phases
36652 #~(modify-phases %standard-phases
36653 (add-after 'unpack 'chdir
36654 (lambda _
36655 (chdir "smtpd"))))))
36656 (native-inputs
36657 (list python-setuptools))
36658 (propagated-inputs
36659 (list
36660 python-standard-asynchat
36661 python-standard-asyncore))
36662 (home-page "https://github.com/youknowone/python-deadlib")
36663 (synopsis "Backport of smtpd from Python 3.11")
36664 (description
36665 "Standard library @code{smtpd} redistribution. Deprecated since version
366663.6 and removed in version 3.12; the @code{aiosmtpd} package is a recommended
36667replacement for this module, based on @code{asyncio}. See:
36668@url{https://peps.python.org/pep-0594/, Removing dead batteries from the
36669standard library}.")
36670 (license license:psfl)))
36671
36641(define-public python-stdio-mgr 36672(define-public python-stdio-mgr
36642 (package 36673 (package
36643 (name "python-stdio-mgr") 36674 (name "python-stdio-mgr")