diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-10 15:11:51 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-18 14:37:04 +0100 |
| commit | 8433cfecf06f8d0c9b1aa21d16a1af592ae596e6 (patch) | |
| tree | d0a8cfa59412c48abe5416ac549b6003e77cf0a6 | |
| parent | c584f7e64a16c49e0a3913c9de60b02b32ff4dc7 (diff) | |
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.
<patches>: Add Python 3.12 compatibility patch.
Change-Id: I276fcd2ab41e179bab866fafa7469d3910ed7e89
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-web.scm | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e8b729bc57..68500dd610 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 |
