[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/46: gnu: python-pysynphot: Update to 2.0.0-0.54e9e2a.
From: |
guix-commits |
Subject: |
20/46: gnu: python-pysynphot: Update to 2.0.0-0.54e9e2a. |
Date: |
Tue, 27 Feb 2024 17:55:15 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit a3fbf30fe3180394814a1566c21fd971a1f67b94
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jan 27 16:30:17 2024 +0000
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
---
gnu/packages/astronomy.scm | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index bec314f57b..7fe80e0fdb 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3909,18 +3909,29 @@ Features:
(license license:expat)))
(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
(name "python-pysynphot")
- (version "2.0.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pysynphot" version))
- (sha256
- (base32
- "1rr29m63bnj47f6gvbvg3pm1296x14ad29c6qd0sdj4f4ilrzhj5"))))
+ (version (git-version "2.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/spacetelescope/pysynphot")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09sivpfqilk86zp8k5wmrs4g48m4kypn34jcy95y5h4ygbn5zbzy"))))
(build-system pyproject-build-system)
(arguments
(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
(lambda _
(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
photometric systems are available, and users can incorporate their own filters,
spectra, and data.")
- (license license:bsd-3)))
+ (license license:bsd-3))))
(define-public python-sep
(package
- 04/46: gnu: phd2: Update to 2.6.13., (continued)
- 04/46: gnu: phd2: Update to 2.6.13., guix-commits, 2024/02/27
- 11/46: gnu: python-astropy: Improve packages style., guix-commits, 2024/02/27
- 03/46: gnu: indi-2.0: Update to 2.0.6., guix-commits, 2024/02/27
- 15/46: gnu: python-asdf-transform-schemas: Update to 0.4.0., guix-commits, 2024/02/27
- 07/46: gnu: siril: Update to 1.2.1., guix-commits, 2024/02/27
- 13/46: gnu: python-asdf-fits-schemas: Update to 0.0.1-1.d1b5e7a., guix-commits, 2024/02/27
- 14/46: gnu: python-asdf-time-schemas: Update to 0.0.1-3.a306206., guix-commits, 2024/02/27
- 19/46: gnu: python-jwst: Update to 1.13.4., guix-commits, 2024/02/27
- 16/46: gnu: python-asdf-wcs-schemas: Update to 0.3.0., guix-commits, 2024/02/27
- 18/46: gnu: python-h5netcdf: Update to 1.3.0., guix-commits, 2024/02/27
- 20/46: gnu: python-pysynphot: Update to 2.0.0-0.54e9e2a.,
guix-commits <=
- 26/46: gnu: python-stdatamodels: Update to 1.9.1., guix-commits, 2024/02/27
- 32/46: gnu: python-photutils: Speed up tests, guix-commits, 2024/02/27
- 39/46: gnu: python-poliastro: Relax requirements., guix-commits, 2024/02/27
- 29/46: gnu: python-asdf: Speed up tests., guix-commits, 2024/02/27
- 35/46: gnu: python-roman-datamodels: Speed up tests., guix-commits, 2024/02/27
- 41/46: gnu: Add python-sunpy-soar., guix-commits, 2024/02/27
- 36/46: gnu: python-spectral-cube: Speed up tests., guix-commits, 2024/02/27
- 43/46: gnu: Add python-ginga., guix-commits, 2024/02/27
- 21/46: gnu: python-pysynphot: Improve package style., guix-commits, 2024/02/27
- 45/46: gnu: python-stcal: Update to 1.6.0., guix-commits, 2024/02/27