From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kMviFnxJB18ccwAA0tVLHw (envelope-from ) for ; Thu, 09 Jul 2020 16:44:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aM+1EnxJB1+/JwAAB5/wlQ (envelope-from ) for ; Thu, 09 Jul 2020 16:44:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 070059401CD for ; Thu, 9 Jul 2020 16:44:44 +0000 (UTC) Received: from localhost ([::1]:56472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtZHg-0002F1-Cb for larch@yhetil.org; Thu, 09 Jul 2020 12:20:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtZHJ-0001Yt-J0 for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtZHJ-0003MB-6W for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtZHJ-0007yC-32 for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42297] [PATCH 10/10] gnu: Add python-aiosmtpd. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Jul 2020 16:20:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42297 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42297@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 42297-submit@debbugs.gnu.org id=B42297.159431159730554 (code B ref 42297); Thu, 09 Jul 2020 16:20:05 +0000 Received: (at 42297) by debbugs.gnu.org; 9 Jul 2020 16:19:57 +0000 Received: from localhost ([127.0.0.1]:41540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtZHB-0007wf-FY for submit@debbugs.gnu.org; Thu, 09 Jul 2020 12:19:57 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtZH8-0007vB-6m for 42297@debbugs.gnu.org; Thu, 09 Jul 2020 12:19:54 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9F9E916005F for <42297@debbugs.gnu.org>; Thu, 9 Jul 2020 18:19:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1594311588; bh=DXjsyXJkOOS8wm4oDuk3vWbbeuLeYmImzKolydW2wvI=; h=From:To:Cc:Subject:Date:From; b=Fy7EXgHSgFXSq54KwehoYWd+Ts63OWO1JHJ0GLhyo7soY5nyogEMw2Ho/nCfJUk/x M1EfLKJA5rXBKZoueDxZVvR5hkgvLs/cQwT2p7LQ8OxdyQFReraEMpBdIM+w5JkS32 WiJKyINSmw5qHoWUROXgLMjDoLNMhYlubtghgVvJsEPTi0jnA5w1iB1KOgIefqxCfg l7Di9k6RQr5CQ2WkOKpYKSResWAnGgTqLeignbkimIrLWB+AqWULDEBd4AgRZdH2h/ K3IKpSEwz6ste1mB9W8lFz4ISL7Dbp/MGn7T7nDYGrQKmWwyhzQXet19VbTXqTV7KC /202f74j5baFA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B2hGD1vTnz9rxH; Thu, 9 Jul 2020 18:19:48 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Thu, 9 Jul 2020 22:19:18 +0300 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 9.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.ro header.s=2017 header.b=Fy7EXgHS; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.ro (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam: Yes X-TUID: DIvipxJlC/Ah * gnu/packages/python-xyz.scm (python-aiosmtpd): New variable. --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d8270edca1..6371d75205 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20667,3 +20667,38 @@ curves are supported.") module's __all__ and optionally the module globals. This provides both a pure-Python implementation and an optional C implementation.") (license license:asl2.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 + `(#:tests? #f)) ;; FIXME Tests fail due to network error (Errno 111) + (propagated-inputs + `(("python-atpublic" ,python-atpublic))) + (home-page "https://github.com/aio-libs/aiosmtpd") + (synopsis "Asyncio based SMTP server") + (description + "The Python standard library includes a basic SMTP server in the +smtpd module, based on the old asynchronous libraries asyncore and +asynchat. These modules are quite old and are definitely showing their +age. asyncore and asynchat are difficult APIs to work with, understand, +extend, and fix. + +With the introduction of the asyncio module in Python 3.4, a much better +way of doing asynchronous I/O is now available. It seems obvious that +an asyncio-based version of the SMTP and related protocols are needed for +Python 3. This project brings together several highly experienced Python +developers collaborating on this reimplementation. + +This package provides such an implementation of both the SMTP and LMTP +protocols.") + (license license:asl2.0))) -- 2.27.0