me
/
guix
Archived
1
0
Fork 0

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
Ricardo Wurmus 2022-12-18 15:19:27 +01:00
parent 2472015c36
commit 6aebf864a7
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 14 deletions

View File

@ -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'