summaryrefslogtreecommitdiff
path: root/gnu/packages/astronomy.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2022-07-23 22:12:30 +0100
committerLudovic Courtès <ludo@gnu.org>2022-08-01 14:08:07 +0200
commitd790ec21e8530f230a371d542686f5caf956438e (patch)
treeec222e2619b34e5b6fa6886bc2c6669d49d11ddd /gnu/packages/astronomy.scm
parent6ad9a094c1a25a4aa1df559943f9bc6ca8870752 (diff)
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>
Diffstat (limited to 'gnu/packages/astronomy.scm')
-rw-r--r--gnu/packages/astronomy.scm27
1 files 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