mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: python-reproject: Update to 0.13.1.
* 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
This commit is contained in:
parent
e03271ef28
commit
e08aa7a380
1 changed files with 14 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue