guix_mirror_bot pushed a commit to branch master
in repository guix.
commit db7aeb152711044dd05f5901434154069c4804f0
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 23 17:12:14 2025 +0100
gnu: python-hawkauthlib: Switch to pyproject.
* gnu/packages/python-web.scm (python-hawkauthlib):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend>: Set it.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: I6299010b634b18ce6f1a0e5084def7453242a291
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-web.scm | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 81baece9f2..fe816a5012 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8891,19 +8891,22 @@ search engine replacement on both desktop and mobile.")
(version "2.0.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "hawkauthlib" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mozilla-services/hawkauthlib")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "03ai47s4h8nfnrf25shbfvkm1b9n1ccd4nmmj280sg1fayi69zgg"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-requests python-webob))
+ (base32 "0pdpk3fp87ngfsyp4lm2z7z8b203jxsmvbz59q6r6xgg9sp4cl3l"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-requests python-webob))
(home-page "https://github.com/mozilla-services/hawkauthlib")
(synopsis "Hawk Access Authentication protocol")
(description
- "This is a low-level Python library for implementing Hawk Access
Authentication,
-a simple HTTP request-signing scheme.")
+ "This is a low-level Python library for implementing Hawk Access
+Authentication, a simple HTTP request-signing scheme.")
(license license:mpl2.0)))
(define-public python-pybrowserid