summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 17:15:45 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 20:51:51 +0000
commit12d7fa7ac8fe4b6b83dc3462ef4009aad88c9055 (patch)
treed0393d850da9b53c668c8e39417390c10de94988 /gnu/packages/python-web.scm
parentdb7aeb152711044dd05f5901434154069c4804f0 (diff)
gnu: python-pybrowserid: Switch to pyproject.
* gnu/packages/python-web.scm (python-pybrowserid): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend>: Set it. [native-inputs]: Add python-setuptools. Change-Id: I6988fa801bd558308fd46d2621ddc063ae344779 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index fe816a50120..fe86272492b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8915,16 +8915,17 @@ Authentication, a simple HTTP request-signing scheme.")
(version "0.14.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "PyBrowserID" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mozilla/PyBrowserID")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1qvi79kfb8x9kxkm5lw2mp42hm82cpps1xknmsb5ghkwx1lpc8kc"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-requests))
- (native-inputs
- (list python-mock))
+ (base32 "0in0sbj56wrz5mlrj6wkd3h7rrp7714c5rkxvkfwp60s2hr6ynj6"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'unittest))
+ (propagated-inputs (list python-requests))
+ (native-inputs (list python-mock python-setuptools))
(home-page "https://github.com/mozilla/PyBrowserID")
(synopsis "Python library for the BrowserID protocol")
(description