From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2D0QDHLbXF9aQwAA0tVLHw (envelope-from ) for ; Sat, 12 Sep 2020 14:30:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6FZgBnLbXF80EwAAbx9fmQ (envelope-from ) for ; Sat, 12 Sep 2020 14:30:10 +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 BE55194053D for ; Sat, 12 Sep 2020 14:30:09 +0000 (UTC) Received: from localhost ([::1]:46546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH6XX-0002om-0S for larch@yhetil.org; Sat, 12 Sep 2020 10:30:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH6XT-0002oV-0s for guix-patches@gnu.org; Sat, 12 Sep 2020 10:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kH6XS-00053q-NW for guix-patches@gnu.org; Sat, 12 Sep 2020 10:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kH6XS-0003sn-K4 for guix-patches@gnu.org; Sat, 12 Sep 2020 10:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43354] [PATCH 01/55] gnu: Add python-asgiref. References: <20200912142643.5727-1-marius@gnu.org> In-Reply-To: <20200912142643.5727-1-marius@gnu.org> Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Sep 2020 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43354 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43354@debbugs.gnu.org Received: via spool by 43354-submit@debbugs.gnu.org id=B43354.159992096214675 (code B ref 43354); Sat, 12 Sep 2020 14:30:02 +0000 Received: (at 43354) by debbugs.gnu.org; 12 Sep 2020 14:29:22 +0000 Received: from localhost ([127.0.0.1]:48580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH6Wn-0003od-Rv for submit@debbugs.gnu.org; Sat, 12 Sep 2020 10:29:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH6Wm-0003oO-8D for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:29:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36236) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH6Wg-00050D-WE for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:29:15 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:51714 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kH6Wf-0000mw-AQ for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:29:14 -0400 From: Marius Bakke Date: Sat, 12 Sep 2020 16:28:17 +0200 Message-Id: <20200912142911.6231-1-marius@gnu.org> X-Mailer: git-send-email 2.28.0 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 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Score: 3.99 X-TUID: stcQtGDGYMMi * gnu/packages/python-web.scm (python-asgiref): New public variable. --- gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 24bd51e006..87c362e007 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -222,6 +222,36 @@ The package includes a module with full coverage of JSON RPC versions 1.0 and comes with a SOCKS proxy client.") (license (list license:expat license:bsd-2)))) +(define-public python-asgiref + (package + (name "python-asgiref") + (version "3.2.10") + (source (origin + (method url-fetch) + (uri (pypi-uri "asgiref" version)) + (sha256 + (base32 + "06kg3hnnvh7qg0w9amkvk1hd6n6bs055r04b7if6ipa7w4g92lby")))) + (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append "./build/lib:" + (getenv "PYTHONPATH"))) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-asyncio" ,python-pytest-asyncio))) + (home-page "https://github.com/django/asgiref/") + (synopsis "ASGI specs, helper code, and adapters") + (description + "ASGI is a standard for Python asynchronous web apps and servers to +communicate with each other, and positioned as an asynchronous successor to +WSGI. This package includes libraries for implementing ASGI servers.") + (license license:bsd-3))) + (define-public python-falcon (package (name "python-falcon") -- 2.28.0