From patchwork Tue Jan 2 01:25:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 58295 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6E02427BBF1; Tue, 2 Jan 2024 01:31:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7B81B27BBE2 for ; Tue, 2 Jan 2024 01:31:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKTcp-0004yN-R2; Mon, 01 Jan 2024 20:31:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKTcZ-0004x4-Dp for guix-patches@gnu.org; Mon, 01 Jan 2024 20:31:08 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKTcX-0004YP-Tb; Mon, 01 Jan 2024 20:31:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKTcU-0004Sq-6c; Mon, 01 Jan 2024 20:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68197] [PATCH v2REVISION 4/5] gnu: Add python-websockets-12. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 02 Jan 2024 01:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68197 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68197@debbugs.gnu.org Cc: Jaeme Sifat , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68197-submit@debbugs.gnu.org id=B68197.170415903113966 (code B ref 68197); Tue, 02 Jan 2024 01:31:02 +0000 Received: (at 68197) by debbugs.gnu.org; 2 Jan 2024 01:30:31 +0000 Received: from localhost ([127.0.0.1]:49027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKTby-0003cg-Td for submit@debbugs.gnu.org; Mon, 01 Jan 2024 20:30:31 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:45466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKTbw-0003Kq-4a for 68197@debbugs.gnu.org; Mon, 01 Jan 2024 20:30:29 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rKTbl-00DKkg-Sn for 68197@debbugs.gnu.org; Tue, 02 Jan 2024 02:30:17 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=muIWlmDC7mC6qt8upsGKflvEAbm4eRhT8KrVBmORwxU=; b=H5Iq3u9/aTWD6iD82cSm11Nnt/ 39ITUaT8A67POP5lieTMNY3bAynWDsMGSxl8YV1gMrlEEI/wr2kuASZGHPhfjtzjYfQFeDy5Eq2nL ojB5zL8GqYe8qx2o60YecfzMcvC7OKU2ylL0nJ3b00D0+Xxotlf51dza1DZcfNr+eS2yCguY0lGIK P4d7kAL4ineuLioZVmQe/V9rXJo3Ni4NriO3+eTHCrdRmcDB4vLW81Uo5DtFD6IVFK1f9f3t4yqqW E/iiOkdIHHlOT51CRxlYr4Ry5Jlrr0Aw1aj5hcfObsLiZZHlNXjiBciDO6wpe3FRrg8pZWcy3zQTw +nhjGLlA==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rKTbl-0004Jh-Be for 68197@debbugs.gnu.org; Tue, 02 Jan 2024 02:30:17 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rKTbW-001ALr-LN; Tue, 02 Jan 2024 02:30:02 +0100 Date: Mon, 1 Jan 2024 20:25:03 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-websockets-12): New variable. Change-Id: I5e4555098039d17db87f16f488e302cc27668898 --- gnu/packages/python-web.scm | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 261277155a..2797f9ff49 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6336,8 +6336,32 @@ (define-public python-warcio files.") (license license:asl2.0)))) +(define-public python-websockets-12 + (package + (name "python-websockets") + (version "12.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "websockets" version)) + (sha256 + (base32 "06wbik9ksfbzafq0fla3r2pjvgpy3c0qrr87w3hhs9kcpfy9rpw1")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) + (home-page "https://github.com/aaugustin/websockets") + (synopsis + "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)") + (description + "@code{websockets} is a library for building WebSocket servers and clients +in Python with a focus on correctness and simplicity. + +Built on top of @code{asyncio}, Python's standard asynchronous I/O framework, +it provides an elegant coroutine-based API.") + (license license:bsd-3))) + (define-public python-websockets (package + (inherit python-websockets-12) (name "python-websockets") (version "11.0.3") (source @@ -6356,17 +6380,7 @@ (define-public python-websockets #~(modify-phases %standard-phases (add-before 'check 'extend-test-timeout (lambda _ - (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10")))))) - (home-page "https://github.com/aaugustin/websockets") - (synopsis - "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)") - (description - "@code{websockets} is a library for building WebSocket servers and clients -in Python with a focus on correctness and simplicity. - -Built on top of @code{asyncio}, Python's standard asynchronous I/O framework, -it provides an elegant coroutine-based API.") - (license license:bsd-3))) + (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10")))))))) (define-public python-selenium (package