[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64201] [PATCH v2 13/22] gnu: python-fitsio: Enable tests.
From: |
Sharlatan Hellseher |
Subject: |
[bug#64201] [PATCH v2 13/22] gnu: python-fitsio: Enable tests. |
Date: |
Thu, 27 Jul 2023 00:15:39 +0100 |
* gnu/packages/astronomy.scm (python-fitsio): Enable tests.
[build-system]: Swap to pyproject-build-system.
[arguments]: Add new phase 'build-extensions.
---
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 05fa722499..6815ba7db0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -520,7 +520,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
@@ -537,7 +537,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 'build-extensions
+ (lambda _
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
(native-inputs
(list python-pytest))
(inputs
--
2.40.1
- [bug#64201] [PATCH v2 00/22]: gnu: Astronmy June updates., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 02/22] gnu: sextractor: Use G-expressions., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 01/22] gnu: sextractor: Update to 2.28.0, fix build., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 03/22] gnu: python-photutils: Update package style., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 05/22] gnu: calcmysky: Update to 0.3.1., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 06/22] gnu: libxisf: Update to 0.2.8., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 10/22] gnu: python-cdflib: Update to 1.0.5., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 13/22] gnu: python-fitsio: Enable tests.,
Sharlatan Hellseher <=
- [bug#64201] [PATCH v2 11/22] gnu: python-drms: Update to 0.6.4., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 04/22] gnu: calceph: Update to 3.5.2., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 08/22] gnu: python-astropy: Update to 5.3.1., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 07/22] gnu: splash: Update to 3.8.2., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 09/22] gnu: python-ccdproc: Update to 2.4.1., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 18/22] gnu: python-stcal: Update to 1.4.2., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 19/22] gnu: python-stdatamodels: Update to 1.7.1., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 15/22] gnu: python-pyerfa: Fix tests., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 12/22] gnu: python-fitsio: Update to 1.1.10., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 14/22] gnu: python-pyerfa: Update to 2.0.0.3., Sharlatan Hellseher, 2023/07/26