diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-29 18:18:42 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-04 21:03:14 +0000 |
| commit | cc7cb3bb3dcedeb16cae503c923e41aec9f0eb71 (patch) | |
| tree | 0fe58a50d035d44b1c138bb630b93f91b902bd7b /gnu/packages | |
| parent | 06cdfdab38fd7418dbdc7a256085089ad1b30967 (diff) | |
gnu: python-falcon-cors: Update to 1.1.7-0.41e9f07.
* gnu/packages/python-web.scm (python-falcon-cors): Update to 1.1.7-0.41e9f07.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Skip them.
[native-inputs]: Add python-mock, python-pynose, python-setuptools.
[description]: Improve style.
Change-Id: I23a1c6b91dbe24cdaee4342eaede2c7d50af4079
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-web.scm | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d961fbe8c19..e751f2a94b7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3067,24 +3067,35 @@ classes (define-public python-falcon-cors (package (name "python-falcon-cors") - (version "1.1.7") + (properties '((commit . "41e9f075e193c1f76b26c0a8c67ad6e87462dfa6") + (revision . "0"))) + (version (git-version "1.1.7" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin - (method url-fetch) - (uri (pypi-uri "falcon-cors" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/lwcolton/falcon-cors") + (commit (assoc-ref properties 'commit)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "12pym7hwsbd8b0c1azn95nas8gm3f1qpr6lpyx0958xm65ffr20p")))) - (build-system python-build-system) + (base32 "0iqz1i1p5xr32n34j77p2a86jmrkg1w90d2wcmmy1mhi5mgdm5gx")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: The last commit's tests are uncompatible with the more recent + ;; version of python-falcon. + #:tests? #f)) (native-inputs - (list python-falcon)) - (home-page - "https://github.com/lwcolton/falcon-cors") + (list python-falcon python-mock python-pynose python-setuptools)) + (home-page "https://github.com/lwcolton/falcon-cors") (synopsis "Falcon @dfn{cross-origin resource sharing} (CORS) library") - (description "This middleware provides @dfn{cross-origin resource -sharing} (CORS) support for Falcon. It allows applying a specially crafted -CORS object to the incoming requests, enabling the ability to serve resources -over a different origin than that of the web application.") + (description + "This middleware provides @dfn{cross-origin resource sharing} (CORS) +support for Falcon. It allows applying a specially crafted CORS object to the +incoming requests, enabling the ability to serve resources over a different +origin than that of the web application.") (license license:asl2.0))) (define-public python-furl |
