guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

355/361: gnu: Remove python-flask-jwt.


From: guix-commits
Subject: 355/361: gnu: Remove python-flask-jwt.
Date: Thu, 21 Nov 2024 06:29:50 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 4751e91267fe3d215903ef21e80efd4558424b4f
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 17 23:15:25 2024 +0000

    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
---
 gnu/packages/python-web.scm | 32 --------------------------------
 1 file changed, 32 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 939ccdc1a0..619d5c4eef 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4970,38 +4970,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]