mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: python-asdf-astropy: Update to 0.7.0.
* gnu/packages/astronomy.scm (python-asdf-astropy): Update to 0.7.0. [source]: Adjust the name of package as it changed in PyPI. [phases]{relax-requirements}: New phase. Change-Id: I84fbbc2d7612d192f662e60011fa9925021d128d
This commit is contained in:
parent
bdc72d7590
commit
47fba20688
1 changed files with 13 additions and 6 deletions
|
@ -1647,19 +1647,26 @@ (define-public python-asdf
|
|||
(define-public python-asdf-astropy
|
||||
(package
|
||||
(name "python-asdf-astropy")
|
||||
(version "0.6.1")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "asdf-astropy" version))
|
||||
(uri (pypi-uri "asdf_astropy" version))
|
||||
(sha256
|
||||
(base32 "1ipjpjiirycj2npicbp39ka7db61vx45j8dm2iis71g5l1rzkblp"))))
|
||||
(base32 "0985bhmhnjzlf8n78r1i1dfhbvq167xqz0667kg3jm0l2177b0f9"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "--numprocesses" (number->string (parallel-job-count)))
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
;; numpy>=1.24, all tests passed successfuly. Scheduled for
|
||||
;; update in python-team.
|
||||
((">=1.24") ">=1.23"))))
|
||||
(add-before 'check 'set-home-env
|
||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue