~ruther/guix-local

a56bfbb4e981ad9efcdf5d58713f41d65abda6ae — Sharlatan Hellseher 1 year, 3 months ago 1e46fbd
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
1 files changed, 12 insertions(+), 5 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +12 -5
@@ 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