guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/08: gnu: python-hypercorn: Remove "python-" prefix from name.


From: guix-commits
Subject: 01/08: gnu: python-hypercorn: Remove "python-" prefix from name.
Date: Mon, 8 Nov 2021 15:37:27 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 782ec059266548fe11da3a5704441a6118d0c762
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sat Oct 30 17:30:46 2021 +0000

    gnu: python-hypercorn: Remove "python-" prefix from name.
    
    Hypercorn is mainly a CLI application but also supports a module interface.
    
    * gnu/packages/python-web.scm (python-hypercorn): New deprecated variable.
    (hypercorn): Renamed from the respective above.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/python-web.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d181046..e230408 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1635,9 +1635,9 @@ 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-hypercorn
+(define-public hypercorn
   (package
-    (name "python-hypercorn")
+    (name "hypercorn")
     (version "0.10.2")
     (source
      (origin
@@ -1653,6 +1653,7 @@ RFC6455, regardless of your programming paradigm.")
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (add-installed-pythonpath inputs outputs)
              (invoke "pytest" "-vv"))))))
+    ;; Propagate because Hypercorn also exposes functionality over a module.
     (propagated-inputs
      `(("python-h11" ,python-h11)
        ("python-h2" ,python-h2)
@@ -1677,6 +1678,9 @@ WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 
specifications.  It can
 utilise asyncio, uvloop, or trio worker types.")
     (license license:expat)))
 
+(define-public python-hypercorn
+  (deprecated-package "python-hypercorn" hypercorn))
+
 (define-public python-querystring-parser
   (package
     (name "python-querystring-parser")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]