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

commit 7b96492cdad054de31617c57b7604ab8a3f12126
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Jul 13 21:36:32 2026 +0100

    gnu: Add specification-iris-test-data.
    
    Iris' test-data distributed under free license, it's a collection of
    artificially generated date which may be useful not only for Iris
    itself. This change repackage it as a proper package and places
    into (gnu packages specifications) module.
    
    * gnu/packages/geo.scm (iris-test-data): Remove variable.
    * gnu/packages/specifications.scm (specification-iris-test-data): New 
variable.
---
 gnu/packages/geo.scm            | 12 ------------
 gnu/packages/specifications.scm | 25 +++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index a30ae15bce..8627e3f77b 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -2726,18 +2726,6 @@ from multiple records.")
      "RTree is a Python package with bindings for @code{libspatialindex}.")
     (license license:expat)))
 
-(define iris-test-data
-  (let ((name "iris-test-data")
-        (version "2.28"))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-             (url "https://github.com/SciTools/iris-test-data";)
-             (commit (string-append "v" version))))
-      (file-name (git-file-name name version))
-      (sha256
-       (base32 "11pfd7jrmznvgcwwr4nfyd9w1rfx377svzlfzalbdcv7rhg2pcfx")))))
-
 (define-public python-scitools-iris
   (package
     (name "python-scitools-iris")
diff --git a/gnu/packages/specifications.scm b/gnu/packages/specifications.scm
index 5d0ff8c5a4..9904c54019 100644
--- a/gnu/packages/specifications.scm
+++ b/gnu/packages/specifications.scm
@@ -200,6 +200,31 @@ The conversion of the JSON objects into tests within a 
specific language and
 test framework of choice is left to be done by the validator implementer.")
     (license license:expat)))
 
+(define-public specification-iris-test-data
+  (package
+    (name "specification-iris-test-data")
+    (version "2.28")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/SciTools/iris-test-data";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11pfd7jrmznvgcwwr4nfyd9w1rfx377svzlfzalbdcv7rhg2pcfx"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan '(("INDEX.md" "share/iris/")
+                        ("test_data" "share/iris/")
+                        ("version.txt" "share/iris/"))))
+    (home-page "https://scitools.org.uk/iris/docs/latest/";)
+    (synopsis "Data and specs for Iris' tests")
+    (description
+     "This package provides a full Iris test data, it's artificially created
+data.")
+    (license license:ogl-psi1.0)))
+
 (define-public specification-multibase
   (let ((commit "4c8344e37852773de155f587dcf5897771b3fc19")
         (revision "1"))

Reply via email to