mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 16:12:58 -05:00
gnu: python-cdflib: Fix version detection.
* gnu/packages/astronomy.scm (python-cdflib): Fix version detection during build Wheel package. [arguments]: Add new phase 'set-env-version. [native-inputs]: Add python-setuptools-scm. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
03c7b82cf6
commit
4cef9cb160
1 changed files with 5 additions and 0 deletions
|
@ -1657,6 +1657,10 @@ (define-public python-cdflib
|
|||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-env-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$version)))
|
||||
(add-before 'check 'set-home-env
|
||||
(lambda _
|
||||
(setenv "HOME" (getcwd)))))))
|
||||
|
@ -1668,6 +1672,7 @@ (define-public python-cdflib
|
|||
python-pytest
|
||||
python-pytest-cov
|
||||
python-pytest-remotedata
|
||||
python-setuptools-scm
|
||||
python-xarray))
|
||||
(home-page "https://github.com/MAVENSDC/cdflib")
|
||||
(synopsis "Python library to deal with NASA's CDF astronmical data format")
|
||||
|
|
Loading…
Reference in a new issue