summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2026-01-12 22:17:59 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:24:07 +0100
commit4f03b2f9314fe4e44bdaae0277de60af7ead7a0d (patch)
tree9107ea007f2463d5d4b98f005cacf50bac88b8d8 /gnu/packages/python-web.scm
parentaa6b488cb2d5af9d821199d5fc75d6ce72312ccd (diff)
gnu: python-flask-cors: Update to 6.0.2.
* gnu/packages/python-web.scm (python-flask-cors): Update to 6.0.2. [arguments]<#:phases>: Add fix-version phase. Change-Id: I343c65293d56286d651d59c8bd64ecb847693607 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a234e442363..f75e1bfd1ac 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3982,7 +3982,7 @@ both of which are installed automatically if you install this library.")
(define-public python-flask-cors
(package
(name "python-flask-cors")
- (version "6.0.1")
+ (version "6.0.2")
(source
(origin
(method git-fetch) ;no tests in PyPI archive
@@ -3991,8 +3991,18 @@ both of which are installed automatically if you install this library.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "01w77vfbzw994dpz6aw4vzy75nrykk6jgilc3qm2d543vjizjaf9"))))
+ (base32 "02y740h951dscgkm7ghsss1bc0m8ymsfdpsimm1j0nkl0zjl6sgm"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-version
+ (lambda _
+ ;; Otherwise sanity-check of dependents will fail.
+ (substitute* "pyproject.toml"
+ (("version = \"0\\.0\\.1\"" all)
+ (string-append "version = \"" #$version "\""))))))))
(native-inputs
(list python-pytest
python-setuptools))