~ruther/guix-local

d4a202cab6eaa22c10a68bbf5ce1fb0b32eb053f — Sharlatan Hellseher 2 years ago 7d14602
gnu: python-jsonschema-3: Fix build.

As seen in CI <https://ci.guix.gnu.org/build/6342439/log/raw>.

* gnu/packages/python-xyz.scm (python-jsonschema-3)[arguments]<phases>:
Do not modify not existing phase, disable tests instead.

Change-Id: I7aadf51a0b5a7de36c93c981074b2c4f6bd0b3b4
1 files changed, 3 insertions(+), 5 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +3 -5
@@ 6033,6 6033,8 @@ and convert DDL to BigQuery JSON schema.")
     "Jsonschema is an implementation of JSON Schema for Python.")
    (license license:expat)))

;; For docker-compose 1.29.2, remove when its updated to the latest 2.x
;; version.
(define-public python-jsonschema-3
  (package
    (inherit python-jsonschema)


@@ 6045,11 6047,7 @@ and convert DDL to BigQuery JSON schema.")
                "0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68"))))
    (arguments
     (substitute-keyword-arguments (package-arguments python-jsonschema)
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'pretend-version
              (lambda _
                (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))))
       ((#:tests? _ #t) #f)))
    (propagated-inputs
     (list python-attrs
           python-importlib-metadata