GNU bug report logs - #71702
[PATCH 00/30] Astronomy update 2024/06

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Fri, 21 Jun 2024 18:17:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 71702 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>, Andreas Enge <andreas <at> enge.fr>, Eric Bavier <bavier <at> posteo.net>, Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [bug#71702] [PATCH 28/30] gnu: Add python-yt-astro-analysis.
Date: Fri, 21 Jun 2024 19:38:50 +0100
* gnu/packages/astronomy.scm (python-yt-astro-analysis): New variable.

Change-Id: I5369d86b884aca1b18883083db872df9333eed9e
---
 gnu/packages/astronomy.scm | 44 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7dbb95f788..c6f69d2e03 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5237,6 +5237,50 @@ (define-public python-yt
               ;; yt/frontends/artio/artio_headers/LICENSE: for C code.
               license:lgpl3))))
 
+(define-public python-yt-astro-analysis
+  (package
+    (name "python-yt-astro-analysis")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "yt_astro_analysis" version))
+       (sha256
+        (base32 "1fb3sdp6hq2c4c28pd33v9yj14x9l7qizf3y3qpl594qdq1ffmpi"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; Disable test which require MPI setup and failed to run, check why.
+      #:test-flags #~(list "--ignore=test_halo_finders_ts.py")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'build-extensions
+            (lambda _
+              (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+    (propagated-inputs
+     (list python-h5py
+           python-numpy
+           python-packaging
+           python-yt))
+    (native-inputs
+     (list python-cython
+           python-nose
+           python-tomli))
+    (home-page "https://github.com/yt-project/yt_astro_analysis")
+    (synopsis "YT astrophysical analysis modules")
+    (description
+     "This package provides an @code{yt} extension package for astrophysical
+analysis.  This package contains functionality for:
+
+@itemize
+@item halo finding and analysis
+@item lightcones
+@item planning cosmological simulations for making lightcones and lightrays
+@item exporting to the RADMC-3D radiation transport code
+@item creating PPV FITS cubes
+@end itemize")
+    (license (list license:bsd-3 license:lgpl3))))
+
 (define-public qfits
   (package
     (name "qfits")
-- 
2.41.0





This bug report was last modified 1 year and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.