mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-jplephem: Update to 2.23.
* gnu/packages/astronomy.scm (python-jplephem): Update to 2.23. [source]: Switch to git-fetch providing test data. [phases]{check}: Rework test steps. [native-inputs]: Remove python-setuptools and python-wheel; add python-setuptools-next. (python-jplephem-2.22): New variable. (python-astropy-6)[propagated-inputs]: Remove python-jplephem; add python-jplephem-2.22 Change-Id: I9a53357a3c06c219a5620b5d23ce640b2a5d70db
This commit is contained in:
parent
978fc928f4
commit
c534d42b43
1 changed files with 38 additions and 8 deletions
|
@ -2795,7 +2795,10 @@ astronomy and astrophysics.")
|
|||
(with-directory-excursion "astropy/extern"
|
||||
(for-each delete-file-recursively '("ply" "configobj")))
|
||||
(with-directory-excursion "cextern"
|
||||
(for-each delete-file-recursively '("expat" "wcslib")))))))))
|
||||
(for-each delete-file-recursively '("expat" "wcslib")))))))
|
||||
(propagated-inputs
|
||||
(modify-inputs (package-propagated-inputs python-astropy)
|
||||
(replace "python-jplephem" python-jplephem-2.22)))))
|
||||
|
||||
(define-public python-astropy-healpix
|
||||
(package
|
||||
|
@ -4843,13 +4846,16 @@ satellite.")
|
|||
(define-public python-jplephem
|
||||
(package
|
||||
(name "python-jplephem")
|
||||
(version "2.22")
|
||||
(version "2.23")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "jplephem" version))
|
||||
(method git-fetch) ;no tests data in the PyPI tarball
|
||||
(uri (git-reference
|
||||
(url "https://github.com/brandon-rhodes/python-jplephem")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0b2rgb7pvwnl72pqjryf9c812mmdxr69fwiym7mnz05l2xrcr6hd"))))
|
||||
(base32 "0mmd30cymb9f259c657d7jd65plirdsngnk14fbyjxd9vbryn2qa"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -4858,10 +4864,10 @@ satellite.")
|
|||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "-m" "unittest" "discover" "-s" "test")))))))
|
||||
(with-directory-excursion "ci"
|
||||
(invoke "python" "-m" "unittest" "test"))))))))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-wheel))
|
||||
(list python-setuptools-next))
|
||||
(propagated-inputs
|
||||
(list python-numpy))
|
||||
(home-page "https://github.com/brandon-rhodes/python-jplephem")
|
||||
|
@ -4874,6 +4880,30 @@ Astronomical Almanac to within 0.0005 arcseconds (half a @emph{mas} or
|
|||
milliarcsecond).")
|
||||
(license license:expat)))
|
||||
|
||||
;; The last compatible version for python-astropy-6.
|
||||
(define-public python-jplephem-2.22
|
||||
(hidden-package
|
||||
(package
|
||||
(inherit python-jplephem)
|
||||
(version "2.22")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "jplephem" version))
|
||||
(sha256
|
||||
(base32 "0b2rgb7pvwnl72pqjryf9c812mmdxr69fwiym7mnz05l2xrcr6hd"))))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "-m" "unittest" "discover" "-s" "test")))))))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-wheel)))))
|
||||
|
||||
(define-public python-jwst
|
||||
(package
|
||||
(name "python-jwst")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue