sharlatan pushed a commit to branch python-team
in repository guix.
commit 2d1f5f8d5b98cd4ccd1bd2580403f7e6599433f8
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Mar 27 13:59:11 2025 +0000
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 6186cfe0d1..44ac3ffb5d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8653,17 +8653,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