gnu: erfa: Update to 2.0.0.
* gnu/packages/astronomy.scm (erfa): Update to 2.0.0. (python-pyerfa): Update to 2.0.0.1. [arguments]<#:phases>: Don't return #t. [native-inputs]: Use the new style. [inputs]: Likewise. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
8923e7de0a
commit
c2ac3a72cf
1 changed files with 7 additions and 10 deletions
|
@ -188,7 +188,7 @@ (define-public qfits
|
||||||
(define-public erfa
|
(define-public erfa
|
||||||
(package
|
(package
|
||||||
(name "erfa")
|
(name "erfa")
|
||||||
(version "1.7.3")
|
(version "2.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -197,7 +197,7 @@ (define-public erfa
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0nh12dr7gk4ki55lz95pkm4fpf7kazirra3zax9pab6v4qql4hlw"))))
|
(base32 "0s9dpj0jdkqcg552f00jhd722czji4pffabmpys5pgi6djckq4f4"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list automake autoconf libtool pkg-config))
|
(list automake autoconf libtool pkg-config))
|
||||||
|
@ -1170,13 +1170,13 @@ (define-public python-jplephem
|
||||||
(define-public python-pyerfa
|
(define-public python-pyerfa
|
||||||
(package
|
(package
|
||||||
(name "python-pyerfa")
|
(name "python-pyerfa")
|
||||||
(version "1.7.3")
|
(version "2.0.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pyerfa" version))
|
(uri (pypi-uri "pyerfa" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1jqqrxvrgly4r0br5f6dsy8nab2xmhz915vp6md5f31ysr2sdwvc"))
|
(base32 "0c6y1rm51kj8ahbr1vwbswck3ix77dc3zhc2fkg6w7iczrzn7m1g"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -1189,14 +1189,11 @@ (define-public python-pyerfa
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'build 'use-system-liberfa
|
(add-before 'build 'use-system-liberfa
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "PYERFA_USE_SYSTEM_LIBERFA" "1")
|
(setenv "PYERFA_USE_SYSTEM_LIBERFA" "1"))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pytest-doctestplus" ,python-pytest-doctestplus)
|
(list python-pytest-doctestplus python-pytest python-setuptools-scm))
|
||||||
("python-pytest" ,python-pytest)
|
|
||||||
("python-setuptools-scm" ,python-setuptools-scm)))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("liberfa" ,erfa)))
|
(list erfa))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-numpy))
|
(list python-numpy))
|
||||||
(home-page "https://github.com/liberfa/pyerfa")
|
(home-page "https://github.com/liberfa/pyerfa")
|
||||||
|
|
Loading…
Reference in a new issue