summary refs log tree commit diff
path: root/gnu/packages/astronomy.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2022-11-07 23:06:52 +0000
committerChristopher Baines <mail@cbaines.net>2022-11-21 14:25:12 +0000
commit80d5eb923dfa06da8d3ef81c12b645ded67f3741 (patch)
tree7e05ebd13b5224cac23bab5744a7962781680d3d /gnu/packages/astronomy.scm
parent2959b98a720fb60e54d09128aa08d109f6601f02 (diff)
downloadguix-80d5eb923dfa06da8d3ef81c12b645ded67f3741.tar.gz
gnu: asdf-transform-schemas: Update to 0.3.0.
* gnu/packages/astronomy.scm (python-asdf-transform-schemas): Update to 0.3.0.
[build-system]: Use new pyproject-build-system
[tests]: Disable tests, to prevent cycle with python-asdf package.
[native-inputs]: Remove python-pytest and python-semantic-version.
[propagated-inputs]: Remove python-asdf. Add python-asdf-standard,
python-importlib-resources.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/astronomy.scm')
-rw-r--r--gnu/packages/astronomy.scm23
1 files changed, 7 insertions, 16 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3f01c6ef98..f325f67edb 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2032,28 +2032,19 @@ up-front for extensibility.")
 (define python-asdf-transform-schemas
   (package
     (name "python-asdf-transform-schemas")
-    (version "0.2.0")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "asdf_transform_schemas" version))
        (sha256
-        (base32 "1gmzd81hw4ppsvzrc91wcbjpcw9hhv9gavllv7nyi7qjb54c837g"))))
-    (build-system python-build-system)
+        (base32 "1midgn575970p5cnsh9y6bz77fjr392b5nfxb3z0id6c49xzzwhc"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "-m" "pytest")))))))
-    (native-inputs
-     (list python-pytest
-           python-semantic-version
-           python-setuptools-scm))
-    (propagated-inputs
-     (list python-asdf))
+     ;; Dependency cycle with python-asdf
+     (list #:tests? #f))
+    (native-inputs (list python-setuptools-scm))
+    (propagated-inputs (list python-asdf-standard python-importlib-resources))
     (home-page "https://github.com/asdf-format/asdf-transform-schemas")
     (synopsis "ASDF schemas for transforms")
     (description