From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iIZZKcbMKl8QNgAA0tVLHw (envelope-from ) for ; Wed, 05 Aug 2020 15:14:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IFJFJcbMKl81aQAA1q6Kng (envelope-from ) for ; Wed, 05 Aug 2020 15:14:14 +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 A09F794053D for ; Wed, 5 Aug 2020 15:14:13 +0000 (UTC) Received: from localhost ([::1]:38654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3L7M-00032V-Hn for larch@yhetil.org; Wed, 05 Aug 2020 11:14:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3L7D-00030E-20 for guix-patches@gnu.org; Wed, 05 Aug 2020 11:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3L7C-00089S-P6 for guix-patches@gnu.org; Wed, 05 Aug 2020 11:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3L7C-0000Q7-Kr for guix-patches@gnu.org; Wed, 05 Aug 2020 11:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42718] [PATCH 3/3] gnu: Add python-h2. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Aug 2020 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42718 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42718@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15966404191544 (code B ref -1); Wed, 05 Aug 2020 15:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2020 15:13:39 +0000 Received: from localhost ([127.0.0.1]:51964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3L6p-0000Op-Hh for submit@debbugs.gnu.org; Wed, 05 Aug 2020 11:13:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:40284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3L6n-0000OY-Jz for submit@debbugs.gnu.org; Wed, 05 Aug 2020 11:13:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3L6n-0002g3-Ed for guix-patches@gnu.org; Wed, 05 Aug 2020 11:13:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3L6l-00087T-BF for guix-patches@gnu.org; Wed, 05 Aug 2020 11:13:37 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1F2AB16005F for ; Wed, 5 Aug 2020 17:13:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596640414; bh=rPpDpcd0Y/0Q5bmXwn5W0404Dk9NuD3vIYYB3/5b3IY=; h=From:To:Cc:Subject:Date:From; b=KjtbKBG79AfKaqKFY4jMx7LcGjZcZI83HpK/3FSnPZ18D5Nn1cw3zCQWlgcbQK5S4 BFCvFXK04TwFT656z4gqK6gXlCoXGlQdn7eQztvEKrUTT5Q31+OTilWaRohE5lhX/H eHl4Ue4cC457KWuvrppfSSXJMIvf9xAhVDkOikg/fV12yRVpqLInvMTpP+DPpRn4se ERtU4MZHmqyIqSrY89Spm7y0tVc3Vmd+eC9oN0TOrorAHuY6y9k5+hsGtWcz3ZTAqX BD57IJ55jw/djJvLEtoGsb7R241V7j2FpYJ9RHmyx8kke1v6wR/L5RUKmDZvhSOp8i 9dIFGPhmLnpjQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BMFWJ5gzPz9rxM; Wed, 5 Aug 2020 17:13:32 +0200 (CEST) From: Vinicius Monego Date: Wed, 5 Aug 2020 12:12:56 -0300 Message-Id: <20200805151256.7769-3-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200805151256.7769-1-monego@posteo.net> References: <20200805151256.7769-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/04 23:29:57 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.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=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=KjtbKBG7; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Score: 5.09 X-TUID: F9NTRH+fuYS3 * gnu/packages/python-web.scm (python-h2): New variable. --- gnu/packages/python-web.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 857a0e755c..f9c8157f0d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -527,6 +527,39 @@ into HTTP/2 frames.") for use in Python programs that implement HTTP/2.") (license license:expat))) +(define-public python-h2 + (package + (name "python-h2") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "h2" version)) + (sha256 + (base32 "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "test")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-hpack" ,python-hpack) + ("python-hyperframe" ,python-hyperframe))) + (home-page "https://github.com/python-hyper/hyper-h2") + (synopsis "HTTP/2 State-Machine based protocol implementation") + (description + "This module contains a pure-Python implementation of a HTTP/2 protocol +stack. It does not provide a parsing layer, a network layer, or any rules +about concurrency. Instead, it's a purely in-memory solution, defined in +terms of data actions and HTTP/2 frames. This is one building block of a full +Python HTTP implementation.") + (license license:expat))) + (define-public python-sockjs-tornado (package (name "python-sockjs-tornado") -- 2.20.1