guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 2922eb4897e585181cf3597c279f47084a4d798b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Aug 21 19:35:06 2025 +0100
gnu: python-romancal: Fix indentation
* gnu/packages/astronomy.scm (python-romancal): Fix indentation
Change-Id: I65302e8b678dbc26c3ade3e23e5ae8eb869580b2
---
gnu/packages/astronomy.scm | 192 ++++++++++++++++++++++-----------------------
1 file changed, 96 insertions(+), 96 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 6c323231d9..899e74163b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6186,103 +6186,103 @@ PSF} describing how the optical system spreads light
from sources.")
(license license:expat)))
(define-public python-romancal
- (package
- (name "python-romancal")
- (version "0.20.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/spacetelescope/romancal")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "16aa8ylq6281k1z3yz0lzbw0ca9l7fgci1s14jqd9ymcmssnf4q4"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- #~(list "--color=no"
- "--numprocesses" (number->string (min 8 (parallel-job-count)))
- ;; XXX: Tests requiring network access or additional setup,
- ;; check how to run them locally.
- "--ignore=romancal/assign_wcs/tests/test_wcs.py"
- "--ignore=romancal/dark_current/tests/test_dark.py"
- "--ignore=romancal/dq_init/tests/test_dq_init.py"
- "--ignore=romancal/flatfield/tests/test_flatfield.py"
- "--ignore=romancal/flux/tests/test_flux_step.py"
- "--ignore=romancal/lib/engdb/tests/test_engdb_tools.py"
- "--ignore=romancal/linearity/tests/test_linearity.py"
-
"--ignore=romancal/multiband_catalog/tests/test_multiband_catalog.py"
-
"--ignore=romancal/orientation/tests/test_set_telescope_pointing.py"
- "--ignore=romancal/photom/tests/test_photom.py"
- "--ignore=romancal/ramp_fitting/tests/test_ramp_fit_cas22.py"
-
"--ignore=romancal/ramp_fitting/tests/test_ramp_fit_likelihood.py"
- "--ignore=romancal/refpix/tests/test_step.py"
- "--ignore=romancal/resample/tests/test_resample.py"
- "--ignore=romancal/saturation/tests/test_saturation.py"
- "--ignore=romancal/skycell/tests/test_skycell.py"
- "--ignore=romancal/skycell/tests/test_skycell_match.py"
- "--ignore=romancal/skymatch/tests/test_skymatch.py"
- "--ignore=romancal/source_catalog/tests/test_psf.py"
- "--ignore=romancal/source_catalog/tests/test_source_catalog.py"
- "--ignore=romancal/stpipe/tests/test_core.py"
- "--ignore=romancal/tweakreg/tests/test_tweakreg.py")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'relax-requirements
- (lambda _
- (substitute* "pyproject.toml"
- ;; XXX: scipy >=1.14.1
- ((" >=1.14.1") "")
- (("stsci.imagestats >= 1.8.3")
- ;; Cant' find the version even if it's added.
- "stsci.imagestats"))))
- (add-before 'build 'set-version
- (lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
- #$(version-major+minor+point version)))))))
- (native-inputs
- (list nss-certs-for-test
- python-ci-watson
- python-deepdiff
- ;; python-edp ;not packaged
- python-pytest
- python-pytest-astropy
- python-pytest-xdist
- python-setuptools-next
- python-setuptools-scm
- python-stpreview))
- (propagated-inputs
- (list python-asdf
- python-asdf-astropy
- python-astropy
- python-crds
- python-drizzle
- python-gwcs
- python-jsonschema
- python-numpy
- python-pandas
- python-photutils
- python-pyarrow
- python-requests
- python-roman-datamodels
- python-scipy
- python-spherical-geometry
- python-stcal
- python-stpipe
- python-stsci-imagestats
- python-tweakwcs
- ;; [sdp]
- python-pysiaf
- ;; python-roman-photoz ;not packaged
- python-stpreview))
- (home-page "https://github.com/spacetelescope/romancal")
- (synopsis "Nancy Grace Roman Space Telescope observations processing
library")
- (description
- "This package implements a functionality for calibration of science
+ (package
+ (name "python-romancal")
+ (version "0.20.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/spacetelescope/romancal")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16aa8ylq6281k1z3yz0lzbw0ca9l7fgci1s14jqd9ymcmssnf4q4"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--color=no"
+ "--numprocesses" (number->string (min 8 (parallel-job-count)))
+ ;; XXX: Tests requiring network access or additional setup,
+ ;; check how to run them locally.
+ "--ignore=romancal/assign_wcs/tests/test_wcs.py"
+ "--ignore=romancal/dark_current/tests/test_dark.py"
+ "--ignore=romancal/dq_init/tests/test_dq_init.py"
+ "--ignore=romancal/flatfield/tests/test_flatfield.py"
+ "--ignore=romancal/flux/tests/test_flux_step.py"
+ "--ignore=romancal/lib/engdb/tests/test_engdb_tools.py"
+ "--ignore=romancal/linearity/tests/test_linearity.py"
+
"--ignore=romancal/multiband_catalog/tests/test_multiband_catalog.py"
+
"--ignore=romancal/orientation/tests/test_set_telescope_pointing.py"
+ "--ignore=romancal/photom/tests/test_photom.py"
+ "--ignore=romancal/ramp_fitting/tests/test_ramp_fit_cas22.py"
+
"--ignore=romancal/ramp_fitting/tests/test_ramp_fit_likelihood.py"
+ "--ignore=romancal/refpix/tests/test_step.py"
+ "--ignore=romancal/resample/tests/test_resample.py"
+ "--ignore=romancal/saturation/tests/test_saturation.py"
+ "--ignore=romancal/skycell/tests/test_skycell.py"
+ "--ignore=romancal/skycell/tests/test_skycell_match.py"
+ "--ignore=romancal/skymatch/tests/test_skymatch.py"
+ "--ignore=romancal/source_catalog/tests/test_psf.py"
+ "--ignore=romancal/source_catalog/tests/test_source_catalog.py"
+ "--ignore=romancal/stpipe/tests/test_core.py"
+ "--ignore=romancal/tweakreg/tests/test_tweakreg.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ ;; XXX: scipy >=1.14.1
+ ((" >=1.14.1") "")
+ (("stsci.imagestats >= 1.8.3")
+ ;; Cant' find the version even if it's added.
+ "stsci.imagestats"))))
+ (add-before 'build 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
+ #$(version-major+minor+point version)))))))
+ (native-inputs
+ (list nss-certs-for-test
+ python-ci-watson
+ python-deepdiff
+ ;; python-edp ;not packaged
+ python-pytest
+ python-pytest-astropy
+ python-pytest-xdist
+ python-setuptools-next
+ python-setuptools-scm
+ python-stpreview))
+ (propagated-inputs
+ (list python-asdf
+ python-asdf-astropy
+ python-astropy
+ python-crds
+ python-drizzle
+ python-gwcs
+ python-jsonschema
+ python-numpy
+ python-pandas
+ python-photutils
+ python-pyarrow
+ python-requests
+ python-roman-datamodels
+ python-scipy
+ python-spherical-geometry
+ python-stcal
+ python-stpipe
+ python-stsci-imagestats
+ python-tweakwcs
+ ;; [sdp]
+ python-pysiaf
+ ;; python-roman-photoz ;not packaged
+ python-stpreview))
+ (home-page "https://github.com/spacetelescope/romancal")
+ (synopsis "Nancy Grace Roman Space Telescope observations processing
library")
+ (description
+ "This package implements a functionality for calibration of science
observations from the Nancy Grace Roman Space Telescope.")
- (license license:bsd-3)))
+ (license license:bsd-3)))
(define-public python-sbpy
(package