[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/47: gnu: python-photutils: Update to 1.12.
From: |
guix-commits |
Subject: |
39/47: gnu: python-photutils: Update to 1.12. |
Date: |
Tue, 30 Apr 2024 16:42:44 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit e03271ef2851f44c09334615c9d09f002ebf7d0e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Apr 17 23:27:35 2024 +0100
gnu: python-photutils: Update to 1.12.
* gnu/packages/astronomy.scm (python-photutils): Update to 1.12.
[arguments]: <#:phases>: Add 'create-setup.py phase.
Change-Id: I94908eda0eb7741cb23d2d4dc969c91cdbd08fa2
---
gnu/packages/astronomy.scm | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9f0373a0fc..26425bf133 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2426,13 +2426,15 @@ can be described by @acronym{WCS, World Coordinate
System} translations.")
(define-public python-photutils
(package
(name "python-photutils")
- (version "1.10.0")
+ ;; PyPI version for source archive is missing minor 0, See
+ ;; <https://github.com/astropy/photutils/issues/1727>
+ (version "1.12")
(source
(origin
(method url-fetch)
(uri (pypi-uri "photutils" version))
(sha256
- (base32 "148zhdxhlcgj6dxyzaz78bzxw1q44qa9q9sfdqbfbla0s0w2jaay"))))
+ (base32 "0y4kcj6qjnzwjswc0c2iimh11b0jz6b9ianbh58w4gnb4y71lr6r"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -2440,6 +2442,16 @@ can be described by @acronym{WCS, World Coordinate
System} translations.")
#~(list "-n" "auto")
#:phases
#~(modify-phases %standard-phases
+ ;; setup.py was removed in 36c3231ce5b80ad470fa78be2e96df859d2daf41
+ ;; for some unknown reason, which caused the package to fail to
+ ;; build. It is being recreated based on that commit.
+ (add-after 'unpack 'create-setup.py
+ (lambda _
+ (call-with-output-file "setup.py"
+ (lambda (port)
+ (format port "from setuptools import setup
+from extension_helpers import get_extensions
+setup(ext_modules=get_extensions())")))))
;; This file is opened in both install and check phases.
(add-before 'install 'writable-compiler
(lambda _ (make-file-writable "photutils/_compiler.c")))
- 26/47: gnu: python-ginga: Set HOME for sanity check., (continued)
- 26/47: gnu: python-ginga: Set HOME for sanity check., guix-commits, 2024/04/30
- 27/47: gnu: python-gatspy: Refresh package style., guix-commits, 2024/04/30
- 29/47: gnu: python-bayesicfitting: Update to 3.2.1., guix-commits, 2024/04/30
- 35/47: gnu: python-regions: Update to 0.9., guix-commits, 2024/04/30
- 16/47: gnu: python-jwst: Update to 1.14.0., guix-commits, 2024/04/30
- 23/47: gnu: python-tweakwcs: Adjust indentation., guix-commits, 2024/04/30
- 28/47: gnu: python-bayesicfitting: Refresh package style., guix-commits, 2024/04/30
- 31/47: gnu: python-skyfield: Enable tests., guix-commits, 2024/04/30
- 33/47: gnu: python-astroplan: Update to 0.10., guix-commits, 2024/04/30
- 37/47: gnu: python-casa-formats-io: Update to 0.3.0., guix-commits, 2024/04/30
- 39/47: gnu: python-photutils: Update to 1.12.,
guix-commits <=
- 24/47: gnu: python-tweakwcs: Update to 0.8.7., guix-commits, 2024/04/30
- 34/47: gnu: python-rad: Update to 0.19.2., guix-commits, 2024/04/30
- 41/47: gnu: python-reproject: Enable tests., guix-commits, 2024/04/30
- 18/47: gnu: python-stdatamodels: Update to 1.10.1., guix-commits, 2024/04/30
- 21/47: gnu: python-synphot: Add custom check phase., guix-commits, 2024/04/30
- 36/47: gnu: python-roman-datamodels: Update to 0.19.1., guix-commits, 2024/04/30
- 42/47: gnu: python-asdf: Adjust inputs., guix-commits, 2024/04/30
- 43/47: gnu: python-crds: Update to 11.17.20., guix-commits, 2024/04/30
- 22/47: gnu: python-synphot: Update to 1.4.0., guix-commits, 2024/04/30
- 25/47: gnu: python-ginga: Update to 5.0.1., guix-commits, 2024/04/30