[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70489] [PATCH 40/47] gnu: python-reproject: Update to 0.13.1.
From: |
Sharlatan Hellseher |
Subject: |
[bug#70489] [PATCH 40/47] gnu: python-reproject: Update to 0.13.1. |
Date: |
Sun, 21 Apr 2024 00:22:29 +0100 |
* gnu/packages/astronomy.scm (python-reproject): Update to 0.13.1.
[arguments]: <#:phases>: Add 'create-setup.py phase.
[native-inputs]: Remove python-cython; add python-cython-3.
Change-Id: I77845fa1a9748901bc08235ba95060d39b64e467
---
gnu/packages/astronomy.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index dd5864a582..32c70b9bdf 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2732,13 +2732,13 @@ (define-public python-regions
(define-public python-reproject
(package
(name "python-reproject")
- (version "0.13.0")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "reproject" version))
(sha256
- (base32 "1qkjbx8xsawhi1gjzqimais3crvkwgbzy1pr51x6anjjln88rgll"))))
+ (base32 "1xk809h2j3zj37l5lx4l87zanf9zxbxajcrff2b2f2i0jpnmxqv3"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -2754,6 +2754,17 @@ (define-public python-reproject
#:tests? #f
#:phases
#~(modify-phases %standard-phases
+ ;; setup.py was removed in a659a260bdd7635cddc8f33c4ea04a3b6d8c1f84
+ ;; for some unknown reason, which caused the package to fail to
+ ;; build. It is being recreated based on that commit.
+ ;; TODO: Check how to implement it in python-build-system.
+ (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())")))))
(add-before 'install 'writable-compiler
(lambda _
(make-file-writable "reproject/_compiler.c")))
@@ -2778,7 +2789,7 @@ (define-public python-reproject
python-shapely
python-zarr))
(native-inputs
- (list python-cython
+ (list python-cython-3
python-extension-helpers
python-pytest-astropy
python-semantic-version
--
2.41.0
- [bug#70489] [PATCH 26/47] gnu: python-ginga: Set HOME for sanity check., (continued)
- [bug#70489] [PATCH 26/47] gnu: python-ginga: Set HOME for sanity check., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 25/47] gnu: python-ginga: Update to 5.0.1., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 29/47] gnu: python-bayesicfitting: Update to 3.2.1., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 36/47] gnu: python-roman-datamodels: Update to 0.19.1., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 38/47] gnu: python-specutils: Update to 1.14.0., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 35/47] gnu: python-regions: Update to 0.9., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 39/47] gnu: python-photutils: Update to 1.12., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 43/47] gnu: python-crds: Update to 11.17.20., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 44/47] gnu: python-stsci-stimage: Update to 0.2.8., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 41/47] gnu: python-reproject: Enable tests., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 40/47] gnu: python-reproject: Update to 0.13.1.,
Sharlatan Hellseher <=
- [bug#70489] [PATCH 45/47] gnu: python-stsci-stimage: Adjust test steps., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 47/47] gnu: Add psfex., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 46/47] gnu: Add scamp., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 42/47] gnu: python-asdf: Adjust inputs., Sharlatan Hellseher, 2024/04/20
- [bug#70489] [PATCH 28/47] gnu: python-bayesicfitting: Refresh package style., Sharlatan Hellseher, 2024/04/20