gnu: python-flask-cors: Update to 6.0.1.

* gnu/packages/python-web.scm (python-flask-cors): Update to 6.0.1.
[source]: Switch to git-fetch providing tests.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Remove python-six; add python-flask and
python-werkzeug.
[native-inputs]: Remove python-flask, python-nose, and python-packaging;
add python-pytest and python-setuptools.

Change-Id: Ib86dc851cc3a3b8957b01ff0b91bef6bbe466fd8
This commit is contained in:
Sharlatan Hellseher 2025-09-16 09:47:36 +01:00
parent 4eeb93ef7a
commit d937648521
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3189,18 +3189,23 @@ both of which are installed automatically if you install this library.")
(define-public python-flask-cors
(package
(name "python-flask-cors")
(version "3.0.10")
(source (origin
(method url-fetch)
(uri (pypi-uri "Flask-Cors" version))
(version "6.0.1")
(source
(origin
(method git-fetch) ;no tests in PyPI archive
(uri (git-reference
(url "https://github.com/CoryDolphin/flask-cors")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1pl16615fn1pc5n0vdrqlxm45mqsdjjxqv3gfkrs111v7wwkj25n"))))
(build-system python-build-system)
(base32 "01w77vfbzw994dpz6aw4vzy75nrykk6jgilc3qm2d543vjizjaf9"))))
(build-system pyproject-build-system)
(native-inputs
(list python-flask python-nose python-packaging))
(list python-pytest
python-setuptools))
(propagated-inputs
(list python-six))
(list python-flask
python-werkzeug))
(home-page "https://flask-cors.readthedocs.io/en/latest/")
(synopsis "Handle Cross-Origin Resource Sharing with Flask")
(description