aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-04-03 16:59:08 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-04-30 21:36:11 +0100
commit1968ad4036f4df9ebdc7c8823f8fdc241c53e16e (patch)
treed263b87c725e70179464ba56b7921b786a176e06
parentff0a6988f819d52185cec5851c71bdd1d12eaa2c (diff)
downloadguix-1968ad4036f4df9ebdc7c8823f8fdc241c53e16e.tar.gz
guix-1968ad4036f4df9ebdc7c8823f8fdc241c53e16e.zip
gnu: python-ginga: Update to 5.0.1.
* gnu/packages/astronomy.scm (python-ginga): Update to 5.0.1. [arguments] <#:phases>: Add 'relax-requirements phase. [propagated-inputs]: Add opencv, python-exif-read python-packaging, python-pyyaml, and python-tomli. [native-inputs]: Add python-pytest-astropy-header. Change-Id: I314bbd9a037b134a03f5a4a174ab878e9523e4b6
-rw-r--r--gnu/packages/astronomy.scm24
1 files changed, 19 insertions, 5 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3cafad8217..8bcc87b1a2 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -707,31 +707,45 @@ series in Python.")
(define-public python-ginga
(package
(name "python-ginga")
- (version "5.0.0")
+ (version "5.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ginga" version))
(sha256
- (base32 "1kydi6qqsscgsa55fa2za35vr5j8xjn09lfbnb5ajr8yxdgm4n3y"))))
+ (base32 "1zw93487a0ilkb5w5qjgrdnavxlmdmjp6c2wyc1wp8qahby9c0xa"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.cfg"
+ ;; packaging>=23.1
+ ((">=23.1") ">=21.3")))))))
(propagated-inputs
- (list ;;python-exifread ; optional, not packed yet in Guix
+ (list opencv
python-astropy
python-astroquery
python-dateutil
+ python-exif-read
+ python-fitsio
python-magic
python-matplotlib
- python-fitsio
python-numpy
+ python-packaging
python-photutils
python-pillow
+ python-pyyaml
python-qtpy
- python-scipy))
+ python-scipy
+ python-tomli))
(native-inputs
(list python-attrs
python-docutils
python-pytest-astropy
+ python-pytest-astropy-header
python-semantic-version
python-tornado))
(home-page "https://ejeschke.github.io/ginga/")