diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-04-02 21:05:17 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-04-30 21:36:09 +0100 |
| commit | fc92d33932cd3b581c9085c03751ae4f01ade04b (patch) | |
| tree | 4d9cba209c1f4275d6a57e583b5b9981382499fb /gnu | |
| parent | 7d4d0512a06e77c06e29f89e573e3aa8701531d4 (diff) | |
gnu: Add python-pysiaf.
* gnu/packages/astronomy.scm (python-pysiaf): New variable.
Change-Id: Ide732d666bccad885ed3e8c78d62df7e74524b9a
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/astronomy.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index b014ac46531..a558e0bbac2 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm | |||
| @@ -4209,6 +4209,45 @@ Features: | |||
| 4209 | @end itemize") | 4209 | @end itemize") |
| 4210 | (license license:expat))) | 4210 | (license license:expat))) |
| 4211 | 4211 | ||
| 4212 | (define-public python-pysiaf | ||
| 4213 | (package | ||
| 4214 | (name "python-pysiaf") | ||
| 4215 | (version "0.22.0") | ||
| 4216 | (source | ||
| 4217 | (origin | ||
| 4218 | (method url-fetch) | ||
| 4219 | (uri (pypi-uri "pysiaf" version)) | ||
| 4220 | (sha256 | ||
| 4221 | (base32 "08wb98k9k4f04455da5ns9rif8pl9r3ih537w1yj393hkjjiyzfz")))) | ||
| 4222 | (build-system pyproject-build-system) | ||
| 4223 | (arguments | ||
| 4224 | (list | ||
| 4225 | #:test-flags | ||
| 4226 | #~(list "-n" "auto" | ||
| 4227 | ;; Disable 2 failing tests, see | ||
| 4228 | ;; <https://github.com/spacetelescope/pysiaf/issues/338> | ||
| 4229 | "-k" (string-append "not test_write_jwst_siaf_xlsx" | ||
| 4230 | " and not test_write_jwst_siaf_xml" )))) | ||
| 4231 | (propagated-inputs | ||
| 4232 | (list python-astropy | ||
| 4233 | python-lxml | ||
| 4234 | python-matplotlib | ||
| 4235 | python-numpy | ||
| 4236 | python-numpydoc | ||
| 4237 | python-openpyxl | ||
| 4238 | python-requests | ||
| 4239 | python-scipy)) | ||
| 4240 | (native-inputs | ||
| 4241 | (list python-pytest python-pytest-xdist)) | ||
| 4242 | (home-page "https://pysiaf.readthedocs.io/") | ||
| 4243 | (synopsis "Handling SIAF for space telescopes") | ||
| 4244 | (description | ||
| 4245 | "@code{pysiaf} is a python package to access, interpret, maintain, and | ||
| 4246 | generate @acronym{Handling of Science Instrument Aperture Files, SIAF}, in | ||
| 4247 | particular for JWST. Tools for applying the frame transformations, plotting, | ||
| 4248 | comparison, and validation are provided.") | ||
| 4249 | (license license:bsd-3))) | ||
| 4250 | |||
| 4212 | (define-public python-pysynphot | 4251 | (define-public python-pysynphot |
| 4213 | ;; XXX: 2.0.0 was released in 2021 there are a lot of changes since that | 4252 | ;; XXX: 2.0.0 was released in 2021 there are a lot of changes since that |
| 4214 | ;; time and it failed to build with python-astropy 6.0.0, use the latest | 4253 | ;; time and it failed to build with python-astropy 6.0.0, use the latest |
