guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit 135efb1002f233ce74831fcd55c7c1e6ccbc227e
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Sep 18 13:11:07 2025 +0100

    gnu: Add python-pytest-asdf-plugin.
    
    * gnu/packages/python-check.scm (python-pytest-asdf-plugin): New variable.
    
    Change-Id: I2de8c8ef9ddd6cc4b764079d6461996d01d1a21c
---
 gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 8c5036a576..241191ed28 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1782,6 +1782,31 @@ data arrays produced during tests, in particular in 
cases where the arrays
 are too large to conveniently hard-code them in the tests.")
     (license license:bsd-3)))
 
+(define-public python-pytest-asdf-plugin
+  (package
+    (name "python-pytest-asdf-plugin")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest_asdf_plugin" version))
+       (sha256
+        (base32 "0bcfl1s7yrnr2rlpr3hswcg9jyq6gnj0ppmpzppw9xgj796ycfb5"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f         ;to avoid import astronomy module
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'sanity-check))))
+    (native-inputs
+     (list python-setuptools-next
+           python-setuptools-scm-next))
+    (home-page "https://github.com/asdf-format/pytest-asdf-plugin";)
+    (synopsis "Pytest plugin for testing ASDF schemas")
+    (description
+     "This package provides a Pytest plugin for testing ASDF schemas.")
+    (license license:bsd-3)))
+
 (define-public python-pytest-astropy
   (package
     (name "python-pytest-astropy")

Reply via email to