[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71702] [PATCH 21/30] gnu: python-jwst: Replace reference to externa
From: |
Sharlatan Hellseher |
Subject: |
[bug#71702] [PATCH 21/30] gnu: python-jwst: Replace reference to external configobj. |
Date: |
Fri, 21 Jun 2024 19:38:43 +0100 |
* gnu/packages/astronomy.scm (python-jwst) [source]: Replace reference
to external configobj.
Change-Id: Id539446c16a16c5ff86f1518cbc0080bdefc85b5
---
gnu/packages/astronomy.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 394b043596..9bdc19a17e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4047,7 +4047,16 @@ (define-public python-jwst
(uri (pypi-uri "jwst" version))
(sha256
(base32
- "0knl2x0z3djsln8mi3a4bkxjz49iwmnr1v6wwsk13zvpkfq21vv4"))))
+ "0knl2x0z3djsln8mi3a4bkxjz49iwmnr1v6wwsk13zvpkfq21vv4"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Replace reference to external configobj.
+ (substitute* (find-files "." "\\.py$")
+ (("from astropy.extern import configobj") "import
configobj")
+ (("from astropy.extern.configobj import validate") "import
validate")
+ (("from astropy.extern.configobj.configobj import ") "from
configobj import ")
+ (("from astropy.extern.configobj.validate import ") "from
validate import "))))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
- [bug#71702] [PATCH 12/30] gnu: python-pyvo: Update to 1.5.2., (continued)
- [bug#71702] [PATCH 12/30] gnu: python-pyvo: Update to 1.5.2., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 13/30] gnu: python-skyfield: Update to 1.49., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 17/30] gnu: python-stsci-image: Update to 2.3.9., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 20/30] gnu: python-sunpy: Update to 5.1.4., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 16/30] gnu: python-stpipe: Update to 0.5.2., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 14/30] gnu: python-spherical-geometry: Update to 1.3.2., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 18/30] gnu: python-stsci-imagestats: Update to 1.8.3., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 19/30] gnu: python-stsci-stimage: Update to 0.2.9., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 23/30] gnu: Add python-fast-histogram., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 24/30] gnu: Add python-naima., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 21/30] gnu: python-jwst: Replace reference to external configobj.,
Sharlatan Hellseher <=
- [bug#71702] [PATCH 25/30] gnu: Add python-regularizepsf., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 26/30] gnu: Add python-schwimmbad., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 27/30] gnu: Add python-statmorph., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 15/30] gnu: python-stcal: Update to 1.7.1., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 28/30] gnu: Add python-yt-astro-analysis., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 29/30] gnu: Add specification-specreduce-data., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 30/30] gnu: Add python-jwst-reffiles., Sharlatan Hellseher, 2024/06/21
- [bug#71702] [PATCH 22/30] gnu: Add python-corner., Sharlatan Hellseher, 2024/06/21