guix-commits
[Top][All Lists]
Advanced

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

05/96: gnu: python-tomli-w: Use pyproject-build-system.


From: guix-commits
Subject: 05/96: gnu: python-tomli-w: Use pyproject-build-system.
Date: Wed, 19 Apr 2023 21:41:04 -0400 (EDT)

apteryx pushed a commit to branch core-updates
in repository guix.

commit a454ca06b8a220df5bb25abf480db2fbde4aa6c9
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 15 22:16:40 2023 -0400

    gnu: python-tomli-w: Use pyproject-build-system.
    
    * gnu/packages/python-build.scm (python-tomli-w) [build-system]: Use
    pyproject-build-system.
    [arguments]: Remove #:phases arguments.
---
 gnu/packages/python-build.scm | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 61e035d384..5590b42b1b 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -114,21 +114,8 @@ Language (TOML) configuration files.")
        (uri (pypi-uri "tomli_w" version))
        (sha256
         (base32 "1fg13bfq5qy1ym4x77815nhxh1xpfs0drhn9r9464cz00m1l6qzl"))))
-    (build-system python-build-system)
-    (arguments
-     (list
-      #:tests? #f                       ;to avoid extra dependencies
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; XXX: PEP 517 manual build copied from python-isort.
-          (replace 'build
-            (lambda _
-              (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
-          (replace 'install
-            (lambda _
-              (let ((whl (car (find-files "dist" "\\.whl$"))))
-                (invoke "pip" "--no-cache-dir" "--no-input"
-                        "install" "--no-deps" "--prefix" #$output whl)))))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ;to avoid extra dependencies
     (native-inputs (list python-pypa-build python-flit-core))
     (home-page "https://github.com/hukkin/tomli-w";)
     (synopsis "Minimal TOML writer")



reply via email to

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