gnu: Remove python-flask-jwt.

Unmaintained and not in use by any packages in Guix. Upstream note: "This
repository has been archived by the owner on Feb 22, 2024. It is now
read-only."

* gnu/packages/python-web.scm (python-flask-jwt): Delete variable.

Change-Id: Id59422744dd0ee81dcde782f6172744ab026bb00
This commit is contained in:
Sharlatan Hellseher 2024-11-17 23:15:25 +00:00
parent 1b979d7a1b
commit 4ccbd13be0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4980,38 +4980,6 @@ Betamax that may possibly end up in the main package.")
"S3transfer is a Python library for managing Amazon S3 transfers.")
(license license:asl2.0)))
(define-public python-flask-jwt
(package
(name "python-flask-jwt")
(version "0.3.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "Flask-JWT" version))
(sha256
(base32
"1bfh7cr0sf65rn4h1q67472y6ml9s8c4k0xxfhrwvwg0plpngh29"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'compatibility
(lambda _
(substitute* "setup.cfg"
(("\\[pytest\\]") "[tool:pytest]"))
(substitute* "requirements.txt"
(("PyJWT>=1.4.0,<1.5.0") "PyJWT>=2.0.0"))
(substitute* '("tests/test_jwt.py"
"flask_jwt/__init__.py")
(("access_token.decode\\('utf-8'\\)") "access_token")))))))
(propagated-inputs (list python-flask python-pyjwt))
(native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/mattupstate/flask-jwt")
(synopsis "JWT token authentication for Flask apps")
(description "This package implements JWT token authentication for Flask
apps.")
(license license:expat)))
(define-public python-flask-restful
(package
(name "python-flask-restful")