This commit is contained in:
Yann Dupont 2023-04-07 22:32:06 +02:00
parent 93e67b32f4
commit 2121192456

View file

@ -91,15 +91,23 @@
#~(modify-phases %standard-phases
(delete 'check)
(delete 'sanity-check)
(add-before 'build 'pretend-version
; (add-before 'build 'pretend-version
;; The version string is usually derived via setuptools-scm, but
;; without the git metadata available, the version string is set to
;; '0.0.0'.
(lambda _
; (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.3.2")
; (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.3.2")
; #$(package-version this-package)
)))))
(add-after 'unpack 'pretend-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
#$(package-version this-package))))
;)))
))))
(propagated-inputs (list python-h5py
python-nest-asyncio