~ruther/guix-local

d937648521d765ec0cbe07bcc3e1de8485365d75 — Sharlatan Hellseher 6 months ago 4eeb93e
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
1 files changed, 15 insertions(+), 10 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +15 -10
@@ 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))
              (sha256
               (base32
                "1pl16615fn1pc5n0vdrqlxm45mqsdjjxqv3gfkrs111v7wwkj25n"))))
    (build-system python-build-system)
    (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 "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