From 12d7fa7ac8fe4b6b83dc3462ef4009aad88c9055 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 23 Dec 2025 17:15:45 +0100 Subject: [PATCH] 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 --- gnu/packages/python-web.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index fe816a50120b78c767e44a5cfd37856f45e8ff77..fe86272492bf4e8edda665b6abe4c1b2f54254f1 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