guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit ea17cf16b7f2e505f8a79012b6fe0cfd1f5c01f6
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Mon Jul 28 13:51:24 2025 +0100

    gnu: python-json-spec: Update to 0.12.0.
    
    * gnu/packages/python-xyz.scm (python-json-spec): Update to 0.12.0.
      [source]: Switch to git-fetch providing tests.
      [build-system]: Use pyproject.
      [propagated-inputs]: Remove python-importlib-metadata.
      [native-inputs]: Add python-poetry-core.
    
    Change-Id: Ie6fdb0a96b164b89f07a2fa5ff7f153439449d54
---
 gnu/packages/python-xyz.scm | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2af485c733..8872417dc5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19028,25 +19028,26 @@ Debian-related files, such as:
 (define-public python-json-spec
   (package
     (name "python-json-spec")
-    (version "0.11.0")
+    (version "0.12.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "json_spec" version))
-        (sha256
-          (base32
-            "0fwxirzxx5s9l0lwnjl6ki39xw1fsjm0vr6cm67ws27fkmcxcry7"))))
-    (build-system python-build-system)
-    (propagated-inputs
-      (list python-importlib-metadata
-            python-termcolor))
+     (origin
+       (method git-fetch)               ;no tests in PyPI archive
+       (uri (git-reference
+              (url "https://github.com/johnnoone/json-spec";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14lzvpfi8vpwn2hsizljcyiiywfc1fssj0hh079jxw4xwjkm9328"))))
+    (build-system pyproject-build-system)
     (native-inputs
-      (list python-pytest))
+     (list python-pytest
+           python-poetry-core))
+    (propagated-inputs
+     (list python-termcolor)) ;for the CLI
     (home-page "https://json-spec.readthedocs.io/";)
-    (synopsis
-      "JSON Schema, JSON Pointer and JSON Reference for Python")
+    (synopsis "JSON Schema, JSON Pointer and JSON Reference for Python")
     (description
-      "This Python library implements several JSON specs, like JSON Schema,
+     "This Python library implements several JSON specs, like JSON Schema,
 JSON Reference and JSON Pointer.")
     (license license:bsd-3)))
 

Reply via email to