From a56bfbb4e981ad9efcdf5d58713f41d65abda6ae Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 27 Mar 2025 13:59:11 +0000 Subject: [PATCH] gnu: python-js2py: Update to 0.74. * gnu/packages/python-web.scm (python-js2py): Update to 0.74. [build-system]: Swap to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools, and python-wheel. [propagated-inputs]: Remove python-six; add python-numpy. Change-Id: I0b2a31241fd2c075c8555a921b805e254436de6a --- gnu/packages/python-web.scm | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8c70c330e9..a693054c10 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8688,17 +8688,24 @@ esprima.js)") (define-public python-js2py (package (name "python-js2py") - (version "0.71") + (version "0.74") (source (origin (method url-fetch) (uri (pypi-uri "Js2Py" version)) (sha256 - (base32 "1kkzkys6dfcbdv51vqxr9cmak350ab4mmykb8dysx60lvl4i06x4")))) - (build-system python-build-system) - (arguments '(#:tests? #false)) ; none included + (base32 "0bwpp23qpx9amzqisiqvzlr17hr7vxqp4ry8lgxhw639hjmadwrr")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; tests require Node + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) (propagated-inputs - (list python-pyjsparser python-six python-tzlocal)) + (list python-numpy + python-pyjsparser + python-tzlocal)) (home-page "https://github.com/PiotrDabkowski/Js2Py") (synopsis "JavaScript to Python translator") (description