[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64201] [PATCH 12/20] gnu: python-fitsio: Enable tests.
From: |
Sharlatan Hellseher |
Subject: |
[bug#64201] [PATCH 12/20] gnu: python-fitsio: Enable tests. |
Date: |
Wed, 21 Jun 2023 07:33:51 +0100 |
* gnu/packages/astronomy.scm (python-fitsio): Enable tests.
[build-system]: Swap to pyproject-build-system.
[arguments]: Add new phase 'tests-preparation
---
gnu/packages/astronomy.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f841005fa0..a26eacef75 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -481,7 +481,7 @@ (define-public python-fitsio
(delete-file-recursively "cfitsio3490")
(substitute* "MANIFEST.in"
(("recursive-include cfitsio3490.*$\n") ""))))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
#:phases
@@ -498,7 +498,10 @@ (define-public python-fitsio
(("self.system_fitsio_libdir = None") "pass")
(("self.use_system_fitsio") "True")
(("self.system_fitsio_includedir") includedir)
- (("self.system_fitsio_libdir") libdir))))))))
+ (("self.system_fitsio_libdir") libdir)))))
+ (add-before 'check 'tests-preparation
+ (lambda _
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
(native-inputs
(list python-pytest))
(inputs
--
2.40.1
- [bug#64201] [PATCH 00/19] gnu: monthly astronomy packages update, Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 02/20] gnu: python-photutils: Update to 1.8.0., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 12/20] gnu: python-fitsio: Enable tests.,
Sharlatan Hellseher <=
- [bug#64201] [PATCH 15/20] gnu: python-reproject: Update to 0.11.0., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 07/20] gnu: python-astropy: Update to 5.3., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 01/20] gnu: sextractor: Update to 2.28.0, fix build., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 19/20] gnu: python-synphot: Update to 1.2.1., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 04/20] gnu: calcmysky: Update to 0.3.1., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 18/20] gnu: python-sunpy: Update to 5.0.0., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 08/20] gnu: python-ccdproc: Update to 2.4.1., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 05/20] gnu: libxisf: Update to 0.2.8., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 10/20] gnu: python-drms: Update to 0.6.4., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 17/20] gnu: python-stdatamodels: Update to 1.6.0., Sharlatan Hellseher, 2023/06/21