From f7dc0eeb203df09566ca52e00a3444c010225549 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 10 May 2026 15:11:51 +0200 Subject: [PATCH] gnu: python-js2py: Update to 0.74-0.2e017b8. * gnu/packages/python-web.scm (python-js2py): Update to 0.74-0.2e017b8. [source]: Switch to git-fetch. : Add Python 3.12 compatibility patch. Change-Id: I276fcd2ab41e179bab866fafa7469d3910ed7e89 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e8b729bc578..68500dd6105 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -11557,13 +11557,30 @@ using a pure Python implementation.") (define-public python-js2py (package (name "python-js2py") - (version "0.74") + (properties '((commit . "2e017b86e2f18a6c8a842293b1687f2ce7baa12e") + (revision . "0"))) + (version (git-version "0.74" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin - (method url-fetch) - (uri (pypi-uri "Js2Py" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/PiotrDabkowski/Js2Py") + (commit (assoc-ref properties 'commit)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0bwpp23qpx9amzqisiqvzlr17hr7vxqp4ry8lgxhw639hjmadwrr")))) + (base32 "0rsac03shkm0yxq91hzxdvhb96wy168bxdw8azi25bvlm8s3l27p")) + (patches + (list + (origin + (method url-fetch) + (uri (string-append "https://github.com/PiotrDabkowski/Js2Py/commit" + "/fd7df4a91fb08060914c7b1d9e94583d18f3371b" + ".patch")) + (file-name (string-append name "-" version "-pull-327.patch")) + (sha256 + (base32 "14v89v8qqrsq0d63xbilkvx19l1rk59mlrbxvd4sj138lk7160ki"))))))) (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; tests require Node