[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")
- branch master updated (b6e1ba6 -> 590074a), guix-commits, 2021/11/08
- 02/08: gnu: hypercorn: Update to 0.11.2., guix-commits, 2021/11/08
- 01/08: gnu: python-hypercorn: Remove "python-" prefix from name.,
guix-commits <=
- 03/08: gnu: hypercorn: Honor #:tests? in 'check' phase., guix-commits, 2021/11/08
- 04/08: gnu: Add python-filetype., guix-commits, 2021/11/08
- 06/08: gnu: Add python-emoji., guix-commits, 2021/11/08
- 05/08: gnu: Add python-immutabledict., guix-commits, 2021/11/08
- 08/08: gnu: python-cachelib: Update to 0.4.1., guix-commits, 2021/11/08
- 07/08: gnu: Add python-cachelib., guix-commits, 2021/11/08