From db7aeb152711044dd05f5901434154069c4804f0 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 23 Dec 2025 17:12:14 +0100 Subject: [PATCH] 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 --- 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 81baece9f25745f7632de3019eae296028948c1f..fe816a50120b78c767e44a5cfd37856f45e8ff77 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