mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: python-spherical-geometry: Simplify package.
* gnu/packages/astronomy.scm (python-spherical-geometry): [arguments]{phases}<preparations>: Switch to SETUPTOOLS_SCM_PRETEND_VERSION evnar instead modifying setup.py. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
e7b315216a
commit
a8c1c98690
1 changed files with 1 additions and 6 deletions
|
@ -2611,12 +2611,7 @@ (define-public python-spherical-geometry
|
|||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'preparations
|
||||
(lambda _
|
||||
;; Fixing: setuptools-scm was unable to detect version for ...
|
||||
(substitute* "setup.py"
|
||||
(("use_scm_version=True")
|
||||
(format #f "version=~s" #$version))
|
||||
(("setup_requires=\\['setuptools_scm'\\],.*")
|
||||
""))
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
|
||||
;; Use our own libraries in place of bundles.
|
||||
(setenv "USE_SYSTEM_QD" "1"))))))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue