[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66412] [PATCH 14/20] gnu: python-stcal: Update package style.
From: |
Sharlatan Hellseher |
Subject: |
[bug#66412] [PATCH 14/20] gnu: python-stcal: Update package style. |
Date: |
Mon, 9 Oct 2023 00:40:16 +0100 |
* gnu/packages/astronomy.scm (python-stcal): Update indentation to
improve readability of the package.
---
gnu/packages/astronomy.scm | 53 +++++++++++++++++++++-----------------
1 file changed, 29 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2a32b4e182..ee15394ed7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2545,32 +2545,37 @@ (define-public python-stcal
(package
(name "python-stcal")
(version "1.4.4")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "stcal" version))
- (sha256
- (base32
- "031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "stcal" version))
+ (sha256
+ (base32 "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)
- (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-cython
- python-psutil
- python-pytest
- python-pytest-cov
- python-pytest-doctestplus
- python-pytest-openfiles
- python-setuptools-scm))
+ (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)
+ (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-cython
+ python-psutil
+ python-pytest
+ python-pytest-cov
+ python-pytest-doctestplus
+ python-pytest-openfiles
+ python-setuptools-scm))
(home-page "https://github.com/spacetelescope/stcal")
(synopsis "STScI tools and algorithms used in calibration pipelines")
(description "STScI tools and algorithms used in calibration pipelines.")
--
2.41.0
- [bug#66412] [PATCH 05/20] gnu: python-jplephem: Update to 2.19., (continued)
- [bug#66412] [PATCH 05/20] gnu: python-jplephem: Update to 2.19., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 09/20] gnu: python-drizzle: Update package style., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 15/20] gnu: python-stdatamodels: Update to 1.8.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 16/20] gnu: python-stdatamodels: Update packages style., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 19/20] gnu: python-tweakwcs: Update to 0.8.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 07/20] gnu: python-reproject: Update to 0.12.0., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 11/20] gnu: python-cdflib: Update to 1.2.1., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 18/20] gnu: python-sunpy: Update to 5.0.1., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 13/20] gnu: python-stcal: Update to 1.4.4., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 20/20] gnu: indi: Update to 2.0.4., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 14/20] gnu: python-stcal: Update package style.,
Sharlatan Hellseher <=
- [bug#66412] [PATCH 12/20] gnu: python-jwst: Update to 1.12.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 17/20] gnu: python-stpipe: Update to 0.5.1., Sharlatan Hellseher, 2023/10/08
- [bug#66412], Sharlatan Hellseher, 2023/10/09
- [bug#66412] [PATCH 00/20] gnu: Astronomy 2023/09 updates., Christopher Baines, 2023/10/11