mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 08:07:29 +01:00
gnu: python-stpipe: Update to 0.5.2.
* gnu/packages/astronomy.scm (python-stpipe): Update to 0.5.2. [source]: Add snippet adjusting references to configobj. Change-Id: I213f4d082757813db1652b7189348fb9ddd527b6
This commit is contained in:
parent
2279395ed0
commit
c12d20feb0
1 changed files with 11 additions and 2 deletions
|
@ -3412,13 +3412,22 @@ (define-public python-stdatamodels
|
||||||
(define-public python-stpipe
|
(define-public python-stpipe
|
||||||
(package
|
(package
|
||||||
(name "python-stpipe")
|
(name "python-stpipe")
|
||||||
(version "0.5.1")
|
(version "0.5.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "stpipe" version))
|
(uri (pypi-uri "stpipe" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"11ccb3v2s20lf851061s4nanljwm9s9xzkcfgb3qhv0hjwziq0vr"))))
|
"0r29m143ll1j9irixazrkqggzg9xbkcw7fl9xmi69zpxbh5mjgz0"))
|
||||||
|
(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 "))))))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; See https://github.com/spacetelescope/stpipe/issues/114
|
;; See https://github.com/spacetelescope/stpipe/issues/114
|
||||||
|
|
Loading…
Reference in a new issue