[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43354] [PATCH 01/55] gnu: Add python-asgiref.
From: |
Marius Bakke |
Subject: |
[bug#43354] [PATCH 01/55] gnu: Add python-asgiref. |
Date: |
Sat, 12 Sep 2020 16:28:17 +0200 |
* gnu/packages/python-web.scm (python-asgiref): New public variable.
---
gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 24bd51e006..87c362e007 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -222,6 +222,36 @@ The package includes a module with full coverage of JSON
RPC versions 1.0 and
comes with a SOCKS proxy client.")
(license (list license:expat license:bsd-2))))
+(define-public python-asgiref
+ (package
+ (name "python-asgiref")
+ (version "3.2.10")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "asgiref" version))
+ (sha256
+ (base32
+ "06kg3hnnvh7qg0w9amkvk1hd6n6bs055r04b7if6ipa7w4g92lby"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "PYTHONPATH"
+ (string-append "./build/lib:"
+ (getenv "PYTHONPATH")))
+ (invoke "pytest" "-vv"))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-asyncio" ,python-pytest-asyncio)))
+ (home-page "https://github.com/django/asgiref/")
+ (synopsis "ASGI specs, helper code, and adapters")
+ (description
+ "ASGI is a standard for Python asynchronous web apps and servers to
+communicate with each other, and positioned as an asynchronous successor to
+WSGI. This package includes libraries for implementing ASGI servers.")
+ (license license:bsd-3)))
+
(define-public python-falcon
(package
(name "python-falcon")
--
2.28.0
- [bug#43354] [PATCH 00/55] Django upgrade, Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 01/55] gnu: Add python-asgiref.,
Marius Bakke <=
- [bug#43354] [PATCH 03/55] gnu: python-django: Propagate python-sqlparse., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 04/55] gnu: python-pytest-django: Update to 3.9.0., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 02/55] gnu: python-django: Update to 3.1.1., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 06/55] gnu: python-django-classy-tags: Update to 2.0.0., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 05/55] gnu: python-django-simple-math-captcha: Update to 1.0.9., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 08/55] gnu: python-django-taggit: Update to 1.3.0., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 07/55] gnu: python-django-extensions: Update to 3.0.6., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 09/55] gnu: python-django-crispy-forms: Update to 1.9.2., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 12/55] gnu: python-django-allauth: Update to 0.42.0., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 10/55] gnu: python-djangorestframework: Update to 3.11.1., Marius Bakke, 2020/09/12