GNU bug report logs -
#77190
[PATCH 00/34] Astro update 2025/03.
Previous Next
Full log
Message #65 received at 77190 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/astronomy.scm (python-stsci-tools): New variable.
Change-Id: Ice4b98040b62e22a656c0992ed86921173834966
---
gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ef4b2b9d39..1d50c8d04a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6995,6 +6995,48 @@ (define-public python-skyfield
orbit around the Earth.")
(license license:expat)))
+(define-public python-stsci-tools
+ (package
+ (name "python-stsci-tools")
+ (version "4.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "stsci_tools" version))
+ (sha256
+ (base32 "180x3fmp020p4imc39ajs5qs6iimd8ld5bly3g9mm4psqbp8nyw9"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k"
+ ;; Two tests fail with error: RuntimeError: Problem during:
+ ;; takes_time(), exitcode: 1. Check log.
+ (string-append "not test_launch_and_wait[None-spawn]"
+ " and not test_launch_and_wait[None-forkserver]"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ (delete-file "conftest.py"))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-astropy-header
+ python-pytest-doctestplus
+ python-setuptools
+ python-setuptools-scm-next
+ python-wheel))
+ (propagated-inputs
+ (list python-astropy
+ python-numpy
+ python-packaging))
+ (home-page "https://stscitools.readthedocs.io/en/latest")
+ (synopsis "Collection of STScI utility functions")
+ (description
+ "This package provides a collection of @acronym{Space Telescope Science
+Institute, STScI} utility functions.")
+ (license license:bsd-3)))
+
(define-public python-tweakwcs
(package
(name "python-tweakwcs")
--
2.48.1
This bug report was last modified 50 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.