[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66412] [PATCH 09/20] gnu: python-drizzle: Update package style.
From: |
Sharlatan Hellseher |
Subject: |
[bug#66412] [PATCH 09/20] gnu: python-drizzle: Update package style. |
Date: |
Mon, 9 Oct 2023 00:40:11 +0100 |
* gnu/packages/astronomy.scm (python-drizzle): Update package style,
indent and align regions.
[arguments]{test-flags}: Remove them as all tests are passed
successfully.
[native-inputs]: Remove python-coverage, python-pytest-cov.
[description]: Indent region.
---
gnu/packages/astronomy.scm | 63 ++++++++++++++++++--------------------
1 file changed, 29 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2569cedd02..e7ee63dcb8 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1858,47 +1858,42 @@ (define-public python-drizzle
(package
(name "python-drizzle")
(version "1.14.3")
- (source (origin
- (method git-fetch) ;PyPi doesn't have the test data sets
- (uri (git-reference
- (url "https://github.com/spacetelescope/drizzle")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "04gncwg76yivcaq7rwgsw5k8w4h3c4wcrjcamb53h0d5s820z7dl"))))
+ (source
+ (origin
+ (method git-fetch) ;PyPi doesn't have the test data sets
+ (uri (git-reference
+ (url "https://github.com/spacetelescope/drizzle")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04gncwg76yivcaq7rwgsw5k8w4h3c4wcrjcamb53h0d5s820z7dl"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; XXX: 2 of 26 tests failed with AssertionError, disable them for now.
- ;; Consider mention it in upstream.
- #:test-flags #~(list "-k"
- (string-append "not test_square_with_point"
- " and not test_square_with_grid"))
- #:phases #~(modify-phases %standard-phases
- (add-before 'build 'set-env-version
- (lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
- #$version)))
- (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 python-astropy python-numpy))
- (native-inputs (list python-coverage python-flake8 python-pytest
- python-pytest-cov python-setuptools-scm))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-env-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
+ (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 python-astropy python-numpy))
+ (native-inputs
+ (list python-flake8 python-pytest python-setuptools-scm))
(home-page "https://github.com/spacetelescope/drizzle")
(synopsis
"Astronomical tool for combining dithered images into a single image")
(description
- "The drizzle library is a Python package for combining dithered images
into
-a single image. This library is derived from code used in DrizzlePac. Like
-DrizzlePac, most of the code is implemented in the C language. The biggest
-change from DrizzlePac is that this code passes an array that maps the input to
-output image into the C code, while the DrizzlePac code computes the mapping by
-using a Python callback. Switching to using an array allowed the code to be
-greatly simplified.")
+ "The drizzle library is a Python package for combining dithered images
+into a single image. This library is derived from code used in DrizzlePac.
+Like DrizzlePac, most of the code is implemented in the C language. The
+biggest change from DrizzlePac is that this code passes an array that maps the
+input to output image into the C code, while the DrizzlePac code computes the
+mapping by using a Python callback. Switching to using an array allowed the
+code to be greatly simplified.")
(license license:bsd-3)))
(define-public python-ephem
--
2.41.0
- [bug#66412] [PATCH 00/20] gnu: Astronomy 2023/09 updates., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 03/20] gnu: calceph: Update to 3.5.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 06/20] gnu: python-jplephem: Improve package style., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 08/20] gnu: python-drizzle: Update to 1.14.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 01/20] gnu: siril: Update to 1.2.0., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 02/20] gnu: stellarium: Update to 23.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 04/20] gnu: python-gwcs: Update to 0.19.0., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 10/20] gnu: python-crds: Update to 11.17.6., Sharlatan Hellseher, 2023/10/08
- [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 <=
- [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, 2023/10/08
- [bug#66412] [PATCH 12/20] gnu: python-jwst: Update to 1.12.3., Sharlatan Hellseher, 2023/10/08