guix-commits
[Top][All Lists]
Advanced

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

04/13: gnu: python-sep: Update to 1.2.1


From: guix-commits
Subject: 04/13: gnu: python-sep: Update to 1.2.1
Date: Mon, 1 Aug 2022 08:11:19 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d790ec21e8530f230a371d542686f5caf956438e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jul 23 22:12:30 2022 +0100

    gnu: python-sep: Update to 1.2.1
    
    * gnu/packages/astronomy.scm: (python-sep): Update to 1.2.1.
      Inherit from libsep
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/astronomy.scm | 27 +++++++++------------------
 1 file changed, 9 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7718e92efa..b721bd03ec 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1650,27 +1650,18 @@ functions, so that they can be called with scalar or 
array inputs.")
 
 (define-public python-sep
   (package
+    (inherit libsep)
     (name "python-sep")
-    (version "1.1.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "sep" version))
-       (sha256
-        (base32 "0wxdqn92q1grv8k7xi7h88ac6wnznw4xh5bdlz1vz6za2dgsyj4m"))))
     (build-system python-build-system)
+    (arguments
+     (strip-keyword-arguments
+      '(#:make-flags) (package-arguments libsep)))
     (native-inputs
-     (list python-cython python-pytest))
-    (inputs
-     (list python-numpy))
-    (home-page "https://github.com/kbarbary/sep";)
-    (synopsis "Astronomical source extraction and photometry library")
-    (description
-     "SEP makes the core algorithms of Source Extractor available as a library
-of stand-alone functions and classes.")
-    (license (list license:bsd-3
-                   license:expat
-                   license:lgpl3+))))
+     (modify-inputs (package-inputs libsep)
+       (prepend python-cython)))
+    (propagated-inputs
+     (modify-inputs (package-inputs libsep)
+       (prepend python-numpy)))))
 
 (define-public python-asdf
   (package



reply via email to

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