summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-29 22:08:24 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-03 07:40:20 +0000
commit94bbd3b9bc144ac666a5c5b427d78b0dc428d2e1 (patch)
treec66fb5ad7c46117733a3e57ea088b156a5ef6617 /gnu/packages/python-web.scm
parent5e24377063e4a13d3e43608e507cb36df1a12661 (diff)
gnu: python-flask-principal: Switch to pyproject.
* gnu/packages/python-web.scm (python-flask-principal): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Replace python-nose by python-pynose. [home-page]: Refresh it. [description]: Improve style. Change-Id: Ifb153aed9a690567d254b3a29ef26e70b017137d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm31
1 files changed, 16 insertions, 15 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1c1aed557a4..05ccda515de 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8219,22 +8219,23 @@ textual content for output generation on the web.")
(name "python-flask-principal")
(version "0.4.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Flask-Principal" version))
- (sha256
- (base32
- "0lwlr5smz8vfm5h9a9i7da3q1c24xqc6vm9jdywdpgxfbi5i7mpm"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-blinker))
- (native-inputs
- (list python-flask python-nose))
- (home-page "https://pythonhosted.org/Flask-Principal/")
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pallets-eco/flask-principal")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0hcqcj768inmyfsw1y2vk6pa9p22dh138ll809rhpz9vjz6spnqk"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-blinker))
+ (native-inputs (list python-flask python-pynose python-setuptools))
+ (home-page "https://github.com/pallets-eco/flask-principal")
(synopsis "Identity management for Flask")
- (description "@code{flask_principal} is a identity management library for
-Flask. It supports managing both authentication and authorization data in a
-thread-local variable.")
+ (description
+ "@code{flask_principal} is a identity management library for Flask. It
+supports managing both authentication and authorization data in a thread-local
+variable.")
(license license:expat)))
(define-public python-flask-httpauth