diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-11 00:05:33 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:19:37 +0100 |
| commit | 61b24bafd91b78b0fd69985e643552f85d3c6c20 (patch) | |
| tree | d740914a8453f33af3e508d87a683621420bc160 /gnu/packages/python-web.scm | |
| parent | 9aede1154f12ae5174eb938dd3083a097ff7efd7 (diff) | |
gnu: python-pybrowserid: Fix build with Python@3.12.
* gnu/packages/python-web.scm (python-pybrowserid)[arguments]
<#:phases>: Add phase python-3.12-compatibility.
Change-Id: I982edec65aa2fd5822bd45c7db7f9faef54ae31e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 68500dd6105..4b44d549bf1 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -9401,7 +9401,15 @@ Authentication, a simple HTTP request-signing scheme.") | |||
| 9401 | (sha256 | 9401 | (sha256 |
| 9402 | (base32 "0in0sbj56wrz5mlrj6wkd3h7rrp7714c5rkxvkfwp60s2hr6ynj6")))) | 9402 | (base32 "0in0sbj56wrz5mlrj6wkd3h7rrp7714c5rkxvkfwp60s2hr6ynj6")))) |
| 9403 | (build-system pyproject-build-system) | 9403 | (build-system pyproject-build-system) |
| 9404 | (arguments (list #:test-backend #~'unittest)) | 9404 | (arguments |
| 9405 | (list | ||
| 9406 | #:test-backend #~'unittest | ||
| 9407 | #:phases | ||
| 9408 | #~(modify-phases %standard-phases | ||
| 9409 | (add-after 'unpack 'python-3.12-compatibility | ||
| 9410 | (lambda _ | ||
| 9411 | (substitute* (find-files "browserid/tests" "\\.py") | ||
| 9412 | (("assertEquals") "assertEqual"))))))) | ||
| 9405 | (propagated-inputs (list python-requests)) | 9413 | (propagated-inputs (list python-requests)) |
| 9406 | (native-inputs (list python-mock python-setuptools)) | 9414 | (native-inputs (list python-mock python-setuptools)) |
| 9407 | (home-page "https://github.com/mozilla/PyBrowserID") | 9415 | (home-page "https://github.com/mozilla/PyBrowserID") |
