GNU bug report logs - #75742
[PATCH 00/27] Astro update 2025/01

Previous Next

Package: guix-patches;

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

Date: Tue, 21 Jan 2025 23: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: 75742 <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#75742] [PATCH 23/27] gnu: Add python-ducc0.
Date: Tue, 21 Jan 2025 23:22:11 +0000
* gnu/packages/maths.scm (python-ducc0): New variable.

Change-Id: Icb8990b32d25f4ad9bd2391f7745b6c298758efa
---
 gnu/packages/maths.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ed9c7bfa0e9..f702603d3d4 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4045,6 +4045,46 @@ (define-public python-cvxopt
 programming language.")
     (license license:gpl3+)))
 
+(define-public python-ducc0
+  (package
+    (name "python-ducc0")
+    (version "0.36.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.mpcdf.mpg.de/mtr/ducc")
+             (commit (string-append
+                      "ducc0_" (string-replace-substring version "." "_")))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1pfj7k5s3d237r7diqrd7cgvf8p5zms6pp64nfdildx49kwggwab"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags #~(list "python/test")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'set-env
+            (lambda _
+              (setenv "DUCC0_OPTIMIZATION" "portable-strip"))))))
+    (native-inputs
+     (list pybind11
+           python-pytest
+           python-setuptools
+           python-wheel))
+    (propagated-inputs
+     (list python-numpy))
+    (home-page "https://gitlab.mpcdf.mpg.de/mtr/ducc")
+    (synopsis "Distinctly Useful Code Collection")
+    (description
+     "This package provides a collection of basic programming tools for
+numerical computation, including Fast Fourier Transforms, Spherical Harmonic
+Transforms, non-equispaced Fourier transforms, as well as some concrete
+applications like 4pi convolution on the sphere and gridding/degridding of
+radio interferometry data.")
+    (license license:gpl2+)))
+
 (define-public python-kiwisolver
   (package
     (name "python-kiwisolver")
-- 
2.47.1





This bug report was last modified 166 days ago.

Previous Next


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