diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-21 12:40:50 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-09-01 20:04:51 +0100 |
| commit | a24bcb3168e554bee5f23d54dc880611cc66a4a5 (patch) | |
| tree | 429b5b7b89ef5c35a5505baef670256ace5284df /gnu | |
| parent | 11b35f154c48d454579fd00a76ac94287fb8e026 (diff) | |
gnu: python-romanisim: Update to 0.15.0.
* gnu/packages/astronomy.scm (python-romanisim): Update to 0.15.0.
[source]: Switch to git-fetch.
[phases]{patch-manifest.in}: New phase.
[propagated-inputs]: Add python-roman-technical-information.
Relates-to: guix/guix!10702
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/astronomy.scm | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ec897d9524e..8293d087d4d 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm | |||
| @@ -10499,17 +10499,20 @@ observations from the Nancy Grace Roman Space Telescope.") | |||
| 10499 | (define-public python-romanisim | 10499 | (define-public python-romanisim |
| 10500 | (package | 10500 | (package |
| 10501 | (name "python-romanisim") | 10501 | (name "python-romanisim") |
| 10502 | (version "0.14.0") | 10502 | (version "0.15.0") |
| 10503 | (source | 10503 | (source |
| 10504 | (origin | 10504 | (origin |
| 10505 | (method url-fetch) | 10505 | (method git-fetch) |
| 10506 | (uri (pypi-uri "romanisim" version)) | 10506 | (uri (git-reference |
| 10507 | (url "https://github.com/spacetelescope/romanisim") | ||
| 10508 | (commit (string-append "v" version)))) | ||
| 10509 | (file-name (git-file-name name version)) | ||
| 10507 | (sha256 | 10510 | (sha256 |
| 10508 | (base32 "13ffgfid1ii4w5aqxw44qx0nxds35889wwjmjwm9hqyr46a2r5a0")))) | 10511 | (base32 "16zksyi0qgybx1v7fxa175f7k1xqwsqsdshi7izl9mh0gjqhgpfv")))) |
| 10509 | (build-system pyproject-build-system) | 10512 | (build-system pyproject-build-system) |
| 10510 | (arguments | 10513 | (arguments |
| 10511 | (list | 10514 | (list |
| 10512 | ;; tests: 112 passed, 2 skipped, 8 deselected, 3 warnings | 10515 | ;; tests: 113 passed, 2 skipped, 8 deselected, 4 warnings |
| 10513 | #:test-flags | 10516 | #:test-flags |
| 10514 | #~(list "--pyargs" "romanisim" | 10517 | #~(list "--pyargs" "romanisim" |
| 10515 | ;; TODO: python-stpsf needs to be packaged with test data: | 10518 | ;; TODO: python-stpsf needs to be packaged with test data: |
| @@ -10533,6 +10536,17 @@ observations from the Nancy Grace Roman Space Telescope.") | |||
| 10533 | " and not ")) | 10536 | " and not ")) |
| 10534 | #:phases | 10537 | #:phases |
| 10535 | #~(modify-phases %standard-phases | 10538 | #~(modify-phases %standard-phases |
| 10539 | (add-after 'unpack 'patch-manifest.in | ||
| 10540 | ;; See: <https://codeberg.org/guix/guix/issues/4393>. | ||
| 10541 | (lambda* (#:key name source inputs #:allow-other-keys) | ||
| 10542 | (let ((port (open-file "MANIFEST.in" "w"))) | ||
| 10543 | (for-each | ||
| 10544 | (lambda (file) | ||
| 10545 | (display "include " port) | ||
| 10546 | (display file port) | ||
| 10547 | (display "\n" port)) | ||
| 10548 | (find-files ".")) | ||
| 10549 | (close port)))) | ||
| 10536 | (add-before 'check 'pre-check | 10550 | (add-before 'check 'pre-check |
| 10537 | (lambda _ | 10551 | (lambda _ |
| 10538 | (setenv "HOME" "/tmp")))))) | 10552 | (setenv "HOME" "/tmp")))))) |
| @@ -10556,7 +10570,8 @@ observations from the Nancy Grace Roman Space Telescope.") | |||
| 10556 | python-gwcs | 10570 | python-gwcs |
| 10557 | python-numpy | 10571 | python-numpy |
| 10558 | python-photutils | 10572 | python-photutils |
| 10559 | python-roman-datamodels)) | 10573 | python-roman-datamodels |
| 10574 | python-roman-technical-information)) | ||
| 10560 | (home-page "https://github.com/spacetelescope/romanisim") | 10575 | (home-page "https://github.com/spacetelescope/romanisim") |
| 10561 | (synopsis "Nancy Grace Roman Space Telescope WFI Simulator") | 10576 | (synopsis "Nancy Grace Roman Space Telescope WFI Simulator") |
| 10562 | (description | 10577 | (description |
