GNU bug report logs -
#66412
[PATCH 00/20] gnu: Astronomy 2023/09 updates.
Previous Next
Full log
Message #44 received at 66412 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/astronomy.scm (python-stcal): Update to 1.4.4.
[arguments]{phases}: Add 'build-extensions phase.
[native-inputs]: Add python-cython.
---
gnu/packages/astronomy.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ddaec8b463..2a32b4e182 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2544,22 +2544,28 @@ (define-public python-stsci-stimage
(define-public python-stcal
(package
(name "python-stcal")
- (version "1.4.2")
+ (version "1.4.4")
(source (origin
(method url-fetch)
(uri (pypi-uri "stcal" version))
(sha256
(base32
- "163vyqcd9qv2knf8jik8y449z7ljl2lvbd7im82bq61prgi3z2hj"))))
+ "031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
(build-system pyproject-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
;; XXX: Can't detect opencv-python version. The input
;; opencv might not set the version correctly.
- (delete 'sanity-check))))
+ (delete 'sanity-check)
+ (add-before 'check 'build-extensions
+ (lambda _
+ ;; Cython extensions have to be built before
+ ;; running the tests.
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
(propagated-inputs (list opencv ;Provides OpenCV-Python
python-astropy python-numpy python-scipy))
- (native-inputs (list python-psutil
+ (native-inputs (list python-cython
+ python-psutil
python-pytest
python-pytest-cov
python-pytest-doctestplus
--
2.41.0
This bug report was last modified 1 year and 218 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.