diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-10 00:59:35 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-11 21:34:54 +0000 |
| commit | 3273ce35e764db38d2c646ace377e69c15aa1f9c (patch) | |
| tree | 5d5effca7c84722d5f1c3c285f3a57c2fe40ac5a /gnu/packages/python-xyz.scm | |
| parent | ff8d25fab7907e72a3d6f1067830c630f46d20fa (diff) | |
gnu: python-jsonplus: Update to 0.8.0-0.a4450ce.
* gnu/packages/python-xyz.scm (python-jsonplus): Update to 0.8.0-0.a4450ce.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Keep them disabled for now.
<#:phases>: Add phase 'chdir.
[native-inputs]: Add python-setuptools.
Change-Id: I200b09ff3b20f7a753407c9abe1fac02e52bfb23
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 039c2297aca..8d1e03a1385 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29157,17 +29157,32 @@ services to what you expect in your tests.") (define-public python-jsonplus (package (name "python-jsonplus") - (version "0.8.0") (home-page "https://github.com/randomir/jsonplus") - (source (origin - (method url-fetch) - (uri (pypi-uri "jsonplus" version)) - (sha256 - (base32 - "05yv3dw813zwas9snz124k2hki49y268b3mx0gj9w7v1nrjmglq1")))) - (build-system python-build-system) - ;; XXX: No tests on PyPI, and the repository has no tags. - (arguments '(#:tests? #f)) + (properties '((commit . "a4450ce73a4464fcee9b08d96be3e13152b0cb3b") + (revision . "0"))) + (version (git-version "0.8.0" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (assoc-ref properties 'commit)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1n7rr7fgy2g972si6zhindia362w34d696xjdicx25f39n88jcvk")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: Tests require the additional package moneyed. + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "python")))))) + (native-inputs (list python-setuptools)) (propagated-inputs (list python-dateutil python-simplejson python-sortedcontainers)) (synopsis "Serialize Python types to/from JSON") |
