me
/
guix
Archived
1
0
Fork 0

gnu: python-astroalign: Update to 2.4.2.

* gnu/packages/astronomy.scm (python-astroalign): Update to 2.4.2.
[source]: Use git checkout instead PyPI to enable tests.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Migrate from inputs. Remove labels. Add optional
python-bottleneck.
[native-inputs]: Add python-astropy, python-ccdproc, python-pillow.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
master
Sharlatan Hellseher 2023-04-21 21:04:46 +01:00 committed by Maxim Cournoyer
parent 7dac6fee5d
commit 192426f2f6
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 16 additions and 13 deletions

View File

@ -3035,22 +3035,25 @@ default) to world coordinates.")
(define-public python-astroalign (define-public python-astroalign
(package (package
(name "python-astroalign") (name "python-astroalign")
(version "2.3.1") (version "2.4.2")
(source (source
(origin (origin
(method url-fetch) ;; There are no tests in the PyPI tarball.
(uri (pypi-uri "astroalign" version)) (method git-fetch)
(uri (git-reference
(url "https://github.com/quatrope/astroalign")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "19qzv3552lgrd9qmj0rxs51wmx485hw04cbf76ds5pin85kfaiy1")))) (base32 "0hly20a65540hr3l1lsd1i4d90a0vdrbwnn6zx3z8s89ha9lq3pb"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (native-inputs (list python-astropy python-ccdproc python-pillow))
;; TODO: (Sharlatan-20210213T162940+0000): I could not make tests run (propagated-inputs
`(#:tests? #f)) (list python-bottleneck
(inputs python-numpy
`(("numpy" ,python-numpy) python-scikit-image
("scikit-image" ,python-scikit-image) python-scipy
("scipy" ,python-scipy) python-sep))
("sep" ,python-sep)))
(home-page "https://astroalign.readthedocs.io/") (home-page "https://astroalign.readthedocs.io/")
(synopsis "Astrometric Alignment of Images") (synopsis "Astrometric Alignment of Images")
(description (description