guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: python-multivelo: Simplify with pyproject-build-system.


From: guix-commits
Subject: 01/02: gnu: python-multivelo: Simplify with pyproject-build-system.
Date: Sun, 18 Dec 2022 09:48:09 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 6aebf864a724184a7073982c2dff6db945a29579
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 18 15:19:27 2022 +0100

    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.
---
 gnu/packages/bioinformatics.scm | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index e8da00d805..1d3c5d6312 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -10847,25 +10847,12 @@ API services.")
               (sha256
                (base32
                 "1b4qyngwagh5sc2ygyfqyirg63myzh1g1glk03a1ykxfii32cjlp"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
       #:tests? #f                       ;pypi source does not contain tests
       #: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
             (lambda _
               ;; numba RuntimeError: cannot cache function 'rdist'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]