guix-commits
[Top][All Lists]
Advanced

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

11/15: gnu: python-seaborn: Simplify by using pyproject-build-system.


From: guix-commits
Subject: 11/15: gnu: python-seaborn: Simplify by using pyproject-build-system.
Date: Fri, 12 May 2023 17:25:45 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit db3d74008a30fb200c46e13b31a6e79ef5439942
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 12 22:56:42 2023 +0200

    gnu: python-seaborn: Simplify by using pyproject-build-system.
    
    * gnu/packages/python-xyz.scm (python-seaborn)[arguments]: Remove.
    [build-system]: Use pyproject-build-system.
---
 gnu/packages/python-xyz.scm | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1710a303c1..1dc9c84f7f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11218,27 +11218,7 @@ SVG, EPS, PNG and terminal output.")
               (sha256
                (base32
                 "08vvnp4ps86857imxz2l5xi2vir5xdcdp3apq4badb4b5llifgw9"))))
-    (build-system python-build-system)
-    (arguments
-     (list #:modules '((guix build python-build-system)
-                       (guix build utils)
-                       (ice-9 match))
-           #:phases #~(modify-phases %standard-phases
-                        (replace 'build
-                          (lambda _
-                            (invoke "python" "-m" "build" "--wheel"
-                                    "--no-isolation" ".")))
-                        (replace 'install
-                          (lambda _
-                            (match (find-files "dist" "\\.whl$")
-                              ((wheel _ ...)
-                               (invoke "python" "-m" "pip" "install"
-                                       (string-append "--prefix=" #$output)
-                                       wheel)))))
-                        (replace 'check
-                          (lambda* (#:key tests? #:allow-other-keys)
-                            (when tests?
-                              (invoke "pytest" "-vv")))))))
+    (build-system pyproject-build-system)
     (propagated-inputs (list python-pandas python-matplotlib python-numpy
                              python-scipy))
     (native-inputs (list python-flit-core python-pypa-build python-pytest))
@@ -11251,7 +11231,6 @@ with the PyData stack, including support for numpy and 
pandas data structures
 and statistical routines from scipy and statsmodels.")
     (license license:bsd-3)))
 
-
 (define-public python-session-info
   (package
     (name "python-session-info")



reply via email to

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