[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/32: gnu: python-stsci-imagestats: Enable tests
From: |
guix-commits |
Subject: |
25/32: gnu: python-stsci-imagestats: Enable tests |
Date: |
Fri, 12 Jan 2024 16:44:03 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 171dbdcb75170ea3ce1e7b081cd2d55aea686c46
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Dec 18 13:42:52 2023 +0000
gnu: python-stsci-imagestats: Enable tests
* gnu/packages/astronomy.scm (python-stsci-imagestats): Enable tests.
[arguments]<#:phases>: Add 'build-extensions phase.
[native-inputs]: Add python-pytest.
Change-Id: I8cb35fd083453d577eb6ad94f097502566c1bcee
---
gnu/packages/astronomy.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 00653efd70..1e4d54b2d4 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2690,9 +2690,15 @@ Science Institute} image array manipulation functions.")
"01jqqrhcna0ghin48bbcza57d12371ny4l4pqws89irwdhd8xr0r"))))
(build-system pyproject-build-system)
(arguments
- (list #:tests? #f)) ;No tests
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'build-extensions
+ (lambda _
+ ;; Cython extensions have to be built before running the tests.
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
(propagated-inputs (list python-numpy))
- (native-inputs (list python-setuptools-scm))
+ (native-inputs (list python-pytest python-setuptools-scm))
(home-page "https://stsciimagestats.readthedocs.io/en/latest/")
(synopsis "Compute sigma-clipped statistics on data arrays")
(description
- branch master updated (6448443b82 -> bfdcf6b365), guix-commits, 2024/01/12
- 02/32: gnu: aoflagger: Update to 3.4.0., guix-commits, 2024/01/12
- 04/32: gnu: cfitsio: Update to 4.3.1., guix-commits, 2024/01/12
- 01/32: gnu: aocommon: Update to 0.0.0-2.9272ea3., guix-commits, 2024/01/12
- 03/32: gnu: calceph: Update to 3.5.4., guix-commits, 2024/01/12
- 08/32: gnu: python-astropy-healpix: Update to 1.0.2., guix-commits, 2024/01/12
- 25/32: gnu: python-stsci-imagestats: Enable tests,
guix-commits <=
- 09/32: gnu: python-crds: Update to 11.17.13., guix-commits, 2024/01/12
- 26/32: gnu: python-stsynphot: Update to 1.3.0., guix-commits, 2024/01/12
- 14/32: gnu: python-mpl-animators: Update to 1.1.1., guix-commits, 2024/01/12
- 12/32: gnu: python-gwcs: Update to 0.20.0., guix-commits, 2024/01/12
- 30/32: gnu: splash: Update to 3.10.1., guix-commits, 2024/01/12
- 22/32: gnu: python-spherical-geometry: Update to 1.3.1., guix-commits, 2024/01/12
- 06/32: gnu: phd2: Update to 2.6.12., guix-commits, 2024/01/12
- 15/32: gnu: julia-fitsio: Update to 0.17.1., guix-commits, 2024/01/12
- 28/32: gnu: python-synphot: Adjust package style., guix-commits, 2024/01/12
- 20/32: gnu: python-reproject: Update to 0.13.0., guix-commits, 2024/01/12