mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-dask: Remove bundled versioneer.
* gnu/packages/python-xyz.scm (python-dask)[source](snippet): New field. [arguments]: Add versioneer phase. [native-inputs]: Add PYTHON-VERSIONEER.
This commit is contained in:
parent
99e0c4bc74
commit
48a6f1d351
1 changed files with 9 additions and 2 deletions
|
@ -22350,11 +22350,17 @@ decisions with any given backend.")
|
||||||
(commit "5a8275dd53193b47457cdfadc0e2356ea3eb6ccd")))
|
(commit "5a8275dd53193b47457cdfadc0e2356ea3eb6ccd")))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0h8w7c03mn6s2mmwbqd2sqay3k4vaqiwlsbvliziggw28042zfw2"))))
|
(base32 "0h8w7c03mn6s2mmwbqd2sqay3k4vaqiwlsbvliziggw28042zfw2"))
|
||||||
|
(snippet
|
||||||
|
;; Delete generated copy of python-versioneer. We recreate it below.
|
||||||
|
'(delete-file "versioneer.py"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'versioneer
|
||||||
|
(lambda _
|
||||||
|
(invoke "versioneer" "install")))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests? (invoke "pytest" "-vv")))))))
|
(when tests? (invoke "pytest" "-vv")))))))
|
||||||
|
@ -22368,7 +22374,8 @@ decisions with any given backend.")
|
||||||
python-toolz
|
python-toolz
|
||||||
python-pyyaml))
|
python-pyyaml))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest python-pytest-runner python-pytest-rerunfailures))
|
(list python-pytest python-pytest-runner python-pytest-rerunfailures
|
||||||
|
python-versioneer))
|
||||||
(home-page "https://github.com/dask/dask/")
|
(home-page "https://github.com/dask/dask/")
|
||||||
(synopsis "Parallel computing with task scheduling")
|
(synopsis "Parallel computing with task scheduling")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue