guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

28/32: gnu: python-synphot: Adjust package style.


From: guix-commits
Subject: 28/32: gnu: python-synphot: Adjust package style.
Date: Fri, 12 Jan 2024 16:44:03 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 816e342bed3cba1a72b02e536914cb49ba8f7f40
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Dec 18 23:31:37 2023 +0000

    gnu: python-synphot: Adjust package style.
    
    * gnu/packages/astronomy.scm (python-synphot): Adjust package style.
    [propagated-inputs]: Add annotation for optional, not packed yet
    packages. Columnise inputs.
    [native-inputs]: Columnise inputs.
    
    Change-Id: I789fc143191c68d5acc248bf6c67e52a93e2744f
---
 gnu/packages/astronomy.scm | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2fd7454977..75912cefb1 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3743,12 +3743,12 @@ datetime object.")
   (package
     (name "python-synphot")
     (version "1.3.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "synphot" version))
-              (sha256
-               (base32
-                "0a54bfrx9aar66040324sw9qdjz5lg67y28sjsxhyv9h3gppc7c0"))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "synphot" version))
+       (sha256
+        (base32 "0a54bfrx9aar66040324sw9qdjz5lg67y28sjsxhyv9h3gppc7c0"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -3767,9 +3767,16 @@ datetime object.")
                 (lambda (port)
                   (format port "[pytest]
 python_files = test_*.py"))))))))
-    (propagated-inputs (list python-astropy python-numpy python-scipy))
-    (native-inputs (list python-pytest python-pytest-astropy
-                         python-setuptools-scm))
+    (propagated-inputs
+     (list ;; python-dust-extinction ; XXX: Not packed yet, optional.
+           ;; python-specutils       ; XXX: Not packed yet, optional.
+           python-astropy
+           python-numpy
+           python-scipy))
+    (native-inputs
+     (list python-pytest
+           python-pytest-astropy
+           python-setuptools-scm))
     (home-page "https://github.com/spacetelescope/synphot_refactor";)
     (synopsis "Synthetic photometry using Astropy")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]