From e27e63e6fe72d3a6cb6a8755f290ec710d339a9a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 9 Feb 2025 21:27:52 +0000 Subject: 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 --- gnu/packages/python-xyz.scm | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a1b47ca5f7f..e4f4fa68879 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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 -- cgit v1.3