gnu: python-pysynphot: Update to 2.0.0-0.54e9e2a.
* gnu/packages/astronomy.scm (python-pysynphot): Update to 2.0.0-0.54e9e2a. [source]: Swap to git checkout as release is dated. [arguments] <#:phases>: Add 'set-version phase. Change-Id: Ibb51304cf15f191c731727344d413e2c2fd1a5ee
This commit is contained in:
parent
85da701988
commit
a3fbf30fe3
@ -3909,18 +3909,29 @@ Features:
|
|||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-pysynphot
|
(define-public python-pysynphot
|
||||||
|
;; XXX: 2.0.0 was released in 2021 there are a lot of changes since that
|
||||||
|
;; time and it failed to build with python-astropy 6.0.0, use the latest
|
||||||
|
;; upstream commit for now.
|
||||||
|
(let ((commit "54e9e2a624910c4d177ca70f8e9fb8110c8fae5b")
|
||||||
|
(revision "0"))
|
||||||
(package
|
(package
|
||||||
(name "python-pysynphot")
|
(name "python-pysynphot")
|
||||||
(version "2.0.0")
|
(version (git-version "2.0.0" revision commit))
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "pysynphot" version))
|
(method git-fetch)
|
||||||
(sha256
|
(uri (git-reference
|
||||||
(base32
|
(url "https://github.com/spacetelescope/pysynphot")
|
||||||
"1rr29m63bnj47f6gvbvg3pm1296x14ad29c6qd0sdj4f4ilrzhj5"))))
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "09sivpfqilk86zp8k5wmrs4g48m4kypn34jcy95y5h4ygbn5zbzy"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases #~(modify-phases %standard-phases
|
(list #:phases #~(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'set-version
|
||||||
|
(lambda _
|
||||||
|
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "2.0.0")))
|
||||||
(add-before 'check 'set-env-data-path
|
(add-before 'check 'set-env-data-path
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "PYSYN_CDBS"
|
(setenv "PYSYN_CDBS"
|
||||||
@ -3938,7 +3949,7 @@ IRAF. @code{pysynphot} simulates photometric data and spectra as they are
|
|||||||
observed with the Hubble Space Telescope (HST). Passbands for standard
|
observed with the Hubble Space Telescope (HST). Passbands for standard
|
||||||
photometric systems are available, and users can incorporate their own filters,
|
photometric systems are available, and users can incorporate their own filters,
|
||||||
spectra, and data.")
|
spectra, and data.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3))))
|
||||||
|
|
||||||
(define-public python-sep
|
(define-public python-sep
|
||||||
(package
|
(package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user