gnu: python-multivelo: Simplify with pyproject-build-system.
* gnu/packages/bioinformatics.scm (python-multivelo)[build-system]: Use pyproject-build-system. [arguments]: Remove custom 'build and 'install phases.master
parent
2472015c36
commit
6aebf864a7
|
@ -10847,25 +10847,12 @@ API services.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1b4qyngwagh5sc2ygyfqyirg63myzh1g1glk03a1ykxfii32cjlp"))))
|
"1b4qyngwagh5sc2ygyfqyirg63myzh1g1glk03a1ykxfii32cjlp"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:tests? #f ;pypi source does not contain tests
|
#:tests? #f ;pypi source does not contain tests
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(replace 'build
|
|
||||||
(lambda _
|
|
||||||
;; ZIP does not support timestamps before 1980.
|
|
||||||
(setenv "SOURCE_DATE_EPOCH" "315532800")
|
|
||||||
(invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
|
|
||||||
(replace 'install
|
|
||||||
(lambda _
|
|
||||||
(for-each
|
|
||||||
(lambda (wheel)
|
|
||||||
(format #t wheel)
|
|
||||||
(invoke "python" "-m" "pip" "install"
|
|
||||||
wheel (string-append "--prefix=" #$output)))
|
|
||||||
(find-files "dist" "\\.whl$"))))
|
|
||||||
(add-before 'sanity-check 'set-env
|
(add-before 'sanity-check 'set-env
|
||||||
(lambda _
|
(lambda _
|
||||||
;; numba RuntimeError: cannot cache function 'rdist'
|
;; numba RuntimeError: cannot cache function 'rdist'
|
||||||
|
|
Reference in New Issue