[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66412] [PATCH 06/20] gnu: python-jplephem: Improve package style.
From: |
Sharlatan Hellseher |
Subject: |
[bug#66412] [PATCH 06/20] gnu: python-jplephem: Improve package style. |
Date: |
Mon, 9 Oct 2023 00:40:08 +0100 |
* gnu/packages/astronomy.scm (python-jplephem)[build-system]: Shift to
pyproject-build-system.
[arguments]: Use G-expressions. Simplify 'check phase.
[description]: Extend it with more details.
---
gnu/packages/astronomy.scm | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d0aedf3296..335ee6cd41 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3205,24 +3205,25 @@ (define-public python-jplephem
(uri (pypi-uri "jplephem" version))
(sha256
(base32 "1kvdzwyh0invinvcnwfr14r9zbqzcwkdh0cpzw1m4vkdcm64aqn1"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (let ((out (assoc-ref outputs "out")))
- (add-installed-pythonpath inputs outputs)
- (setenv "PATH" (string-append out "/bin:" (getenv "PATH")))
- (invoke "python" "-m" "unittest" "discover" "-s"
"test"))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "unittest" "discover" "-s" "test")))))))
(inputs
(list python-numpy))
(home-page "https://github.com/brandon-rhodes/python-jplephem")
(synopsis "Python version of NASA DE4xx ephemerides")
(description
- "The package is a Python implementation of the mathematics that standard
-JPL ephemerides use to predict raw (x,y,z) planetary positions.")
+ "@code{skyfield} computes positions for the stars, planets, and
+satellites in orbit around the Earth. Its results should agree with the
+positions generated by the United States Naval Observatory and their
+Astronomical Almanac to within 0.0005 arcseconds (half a @emph{mas} or
+milliarcsecond).")
(license license:expat)))
(define-public python-jwst
--
2.41.0
- [bug#66412] [PATCH 00/20] gnu: Astronomy 2023/09 updates., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 03/20] gnu: calceph: Update to 3.5.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 06/20] gnu: python-jplephem: Improve package style.,
Sharlatan Hellseher <=
- [bug#66412] [PATCH 08/20] gnu: python-drizzle: Update to 1.14.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 01/20] gnu: siril: Update to 1.2.0., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 02/20] gnu: stellarium: Update to 23.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 04/20] gnu: python-gwcs: Update to 0.19.0., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 10/20] gnu: python-crds: Update to 11.17.6., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 05/20] gnu: python-jplephem: Update to 2.19., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 09/20] gnu: python-drizzle: Update package style., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 15/20] gnu: python-stdatamodels: Update to 1.8.3., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 16/20] gnu: python-stdatamodels: Update packages style., Sharlatan Hellseher, 2023/10/08
- [bug#66412] [PATCH 19/20] gnu: python-tweakwcs: Update to 0.8.3., Sharlatan Hellseher, 2023/10/08