~ruther/guix-local

e27e63e6fe72d3a6cb6a8755f290ec710d339a9a — Sharlatan Hellseher 1 year, 4 months ago 45943e0
gnu: python-npx: Update to 0.1.6.

* gnu/packages/python-xyz.scm (python-npx): Update to 0.1.6.
[source]: Swap to git checkout as PyPI does not provide source archive.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-flit-core; add python-setuptools and
python-wheel.

Change-Id: I60c57f77a91dc2a7936f22c8abd6000fbff67e2e
1 files changed, 17 insertions(+), 9 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +17 -9
@@ 9520,16 9520,24 @@ the Texinfo, HTML, and PDF formats.")))
(define-public python-npx
  (package
    (name "python-npx")
    (version "0.1.1")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "npx" version))
              (sha256
               (base32
                "1m0v2p5mh3aqrypl4ipgzvr5nhx7bk5vv9ah2xr9l1xgj6nnmqnc"))))
    (version "0.1.6")
    (source
     (origin
       (method git-fetch)               ; no source archive in PyPI
       (uri (git-reference
             (url "https://github.com/sigma-py/npx")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0a3rb3ydl13m1r48kdvnbi31566jxm10p36argkz5kjr2ilkrx8v"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-numpy))
    (native-inputs (list python-flit-core python-networkx python-pytest))
    (native-inputs
     (list python-networkx
           python-pytest
           python-setuptools
           python-wheel))
    (propagated-inputs
     (list python-numpy))
    (home-page "https://github.com/nschloe/npx")
    (synopsis "Extensions for NumPy")
    (description "NumPy is a large library used everywhere in scientific