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:
Sharlatan Hellseher 2024-11-14 21:15:31 +00:00
parent bdc72d7590
commit 47fba20688
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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