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 +B0bKSeSOV+gFwAA0tVLHw (envelope-from ) for ; Sun, 16 Aug 2020 20:08:07 +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 4F//JCeSOV9zYQAAB5/wlQ (envelope-from ) for ; Sun, 16 Aug 2020 20:08:07 +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 4CD0B9402A0 for ; Sun, 16 Aug 2020 20:08:07 +0000 (UTC) Received: from localhost ([::1]:44562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7Owo-0002BN-An for larch@yhetil.org; Sun, 16 Aug 2020 16:08:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7Owk-0002BA-Bt for guix-patches@gnu.org; Sun, 16 Aug 2020 16:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7Owk-0000Y2-32 for guix-patches@gnu.org; Sun, 16 Aug 2020 16:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7Owj-0004yr-RJ for guix-patches@gnu.org; Sun, 16 Aug 2020 16:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42894] [PATCH 2/4] gnu: Add python-wsproto. References: <20200816200454.1467-1-monego@posteo.net> In-Reply-To: <20200816200454.1467-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Aug 2020 20:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42894@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 42894-submit@debbugs.gnu.org id=B42894.159760847119109 (code B ref 42894); Sun, 16 Aug 2020 20:08:01 +0000 Received: (at 42894) by debbugs.gnu.org; 16 Aug 2020 20:07:51 +0000 Received: from localhost ([127.0.0.1]:58605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7OwY-0004y9-LV for submit@debbugs.gnu.org; Sun, 16 Aug 2020 16:07:50 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7OwW-0004xr-6j for 42894@debbugs.gnu.org; Sun, 16 Aug 2020 16:07:49 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D3ED416005F for <42894@debbugs.gnu.org>; Sun, 16 Aug 2020 22:07:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1597608461; bh=R86btecDunfj28b3JIitFgavYfExfavPeMC0p8mPnC8=; h=From:To:Cc:Subject:Date:From; b=DFUjI0P9FuRSuDxcijDA1Qky9wqW3uVloTHiOmEfzGuulbf3n9fVyYW3RiUEzMIyr HTqFtiHRIUv0MY0SyBwCW2/vw6ICgfij5waWd13BJI3V7+SEBf2d4lsdu8g/EtBQ08 UYMi0Yylc9zHuAlLdioFO2U1zN87BQz1XZScRqYCzhRikJVAExnZ05N3WGpLLcfF9K UrEVu/wingNlRcI45f/QmNAW9yu8m4fpWtkaKxYrbhUFrFvVAUI1EwMXvHl6Jj+foQ o+BTS46H9gfTPWT6Hj7ljbIt1XoE0FUFyhkv5n7LNtM/MB0toKr9vu3lM2pnuJEMZx twGTPkrLG9BDg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BV7Wc11PYz9rxW; Sun, 16 Aug 2020 22:07:39 +0200 (CEST) From: Vinicius Monego Date: Sun, 16 Aug 2020 17:07:24 -0300 Message-Id: <20200816200726.1998-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 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=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=DFUjI0P9; 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: T839xS4dSFQE * gnu/packages/python-web.scm (python-wsproto): New variable. --- gnu/packages/python-web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 957c5ceeff..f05658555a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -996,6 +996,37 @@ teams extension for python-openid.") (define-public python2-openid-teams (package-with-python2 python-openid-teams)) +(define-public python-wsproto + (package + (name "python-wsproto") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "wsproto" version)) + (sha256 + (base32 "17gsxlli4w8am1wwwl3k90hpdfa213ax40ycbbvb7hjx1v1rhiv1")))) + (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-h11" ,python-h11))) + (home-page "https://github.com/python-hyper/wsproto/") + (synopsis "WebSockets state-machine based protocol implementation") + (description + "@code{wsproto} is a pure-Python implementation of a WebSocket protocol +stack. It's written from the ground up to be embeddable in whatever program you +choose to use, ensuring that you can communicate via WebSockets, as defined in +RFC6455, regardless of your programming paradigm.") + (license license:expat))) + (define-public python-tornado (package (name "python-tornado") -- 2.20.1