diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-21 18:37:33 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-30 20:12:41 +0100 |
commit | 1d1b773d8122b82bc541e8780f9e71ad4a95212d (patch) | |
tree | 2c0a058adb31988ea9abc154e63f171f6b9f70e4 | |
parent | d53eb203594749f2ba7094ba7d5480cd09c017a4 (diff) | |
download | guix-1d1b773d8122b82bc541e8780f9e71ad4a95212d.tar.gz guix-1d1b773d8122b82bc541e8780f9e71ad4a95212d.zip |
gnu: python-stsci-stimage: Update to 0.3.0.
* gnu/packages/astronomy.scm (python-stsci-stimage): Update to 0.3.0.
[arguments] <build-backend>: Use default.
<test-flags>: Remove them.
<phases>: Remove 'waf-configure-build; add 'build-extensions.
[native-inputs]: Remove python-waf.
Change-Id: Iaefe173dc00084ca5a751e01bb2e88e1ef5ad6fe
-rw-r--r-- | gnu/packages/astronomy.scm | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index f6fef80900..cbab2c3daf 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -7096,33 +7096,25 @@ orbit around the Earth.") (define-public python-stsci-stimage (package (name "python-stsci-stimage") - (version "0.2.10") - (source (origin - (method url-fetch) - (uri (pypi-uri "stsci_stimage" version)) - (sha256 - (base32 - "02qzblw11kfdw9rp2m26zbzlzl3w0dnrhncn383a3sw3dwjn9lpf")))) + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "stsci_stimage" version)) + (sha256 + (base32 "10vhc2kfryis37k5jkg357z7lhlmyci4makzy50xgh08648ak7cd")))) (build-system pyproject-build-system) (arguments (list - #:build-backend "setuptools.build_meta" - #:test-flags #~(list "test_c") #:phases #~(modify-phases %standard-phases - ;; Test steps are taken from GitHub Actions, see - ;; <https://github.com/spacetelescope/stsci.stimage/issues/27> - (add-before 'check 'waf-configure-build + (add-before 'check 'build-extensions (lambda _ - (copy-file (string-append - #$(this-package-native-input "python-waf") "/bin/waf") - "waf") - (invoke "python" "waf" "configure" "build")))))) + (invoke "python" "setup.py" "build_ext" "--inplace")))))) (native-inputs (list python-pytest python-setuptools python-setuptools-scm - python-waf python-wheel)) (propagated-inputs (list python-numpy)) |