unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 68197@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Lars-Dominik Braun <lars@6xq.net>,
	Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	jgart <jgart@dismail.de>
Subject: [bug#68197] [PATCH v2REVISION 4/5] gnu: Add python-websockets-12.
Date: Mon,  1 Jan 2024 20:25:03 -0500	[thread overview]
Message-ID: <eb44de1436b4c65e74f0610de2bbd89b16c885c1.1704158704.git.jaeme@runbox.com> (raw)
In-Reply-To: <c547466449ecde7781a423d604afd3b8327e419f.1704158703.git.jaeme@runbox.com>

* 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
-- 
2.41.0





  parent reply	other threads:[~2024-01-02  1:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-01 23:14 [bug#68197] [PATCH 0/5] gnu: yt-dlp: Update to 2023.12.30 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` [bug#68197] [PATCH 1/5] gnu: Add python-urllib3-2 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` [bug#68197] [PATCH 2/5] gnu: Add python-requests-2.31 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` [bug#68197] [PATCH 3/5] gnu: yt-dlp: Update to 2023.11.16 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` [bug#68197] [PATCH 4/5] gnu: Add python-websockets-12 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` [bug#68197] [PATCH 5/5] gnu: yt-dlp: Update to 2023.12.30 Jaeme Sifat via Guix-patches via
2024-01-02  1:25 ` [bug#68197] [PATCH v2REVISION 1/5] gnu: Add python-urllib3-2 Jaeme Sifat via Guix-patches via
2024-01-02  1:25   ` [bug#68197] [PATCH v2REVISION 2/5] gnu: Add python-requests-2.31 Jaeme Sifat via Guix-patches via
2024-01-02  1:25   ` [bug#68197] [PATCH v2REVISION 3/5] gnu: yt-dlp: Update to 2023.11.16 Jaeme Sifat via Guix-patches via
2024-01-02  1:25   ` Jaeme Sifat via Guix-patches via [this message]
2024-01-02  1:25   ` [bug#68197] [PATCH v2REVISION 5/5] gnu: yt-dlp: Update to 2023.12.30 Jaeme Sifat via Guix-patches via
2024-03-12 23:23 ` [bug#68197] [PATCH 0/5] " Ian Eure

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eb44de1436b4c65e74f0610de2bbd89b16c885c1.1704158704.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=68197@debbugs.gnu.org \
    --cc=jaeme@runbox.com \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).