guix-commits
[Top][All Lists]
Advanced

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

10/150: gnu: python-tomli-w: Remove custom phases.


From: guix-commits
Subject: 10/150: gnu: python-tomli-w: Remove custom phases.
Date: Sun, 24 Apr 2022 05:12:15 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit 8a0addf84c3a525309a1e21cb6f276626b205432
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sat Apr 9 10:41:36 2022 +0200

    gnu: python-tomli-w: Remove custom phases.
    
    Not required any more.
    
    * gnu/packages/python-build.scm (python-tomli-w)[arguments]: Remove
    custom phases.
    [native-inputs]: Remove python-pypa-build.
---
 gnu/packages/python-build.scm | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 83d34f52e1..b149e461d7 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -282,19 +282,8 @@ Language (TOML) configuration files.")
     (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)))))))
-    (native-inputs (list python-pypa-build python-flit-core))
+      #:tests? #f))                       ;to avoid extra dependencies
+    (native-inputs (list python-flit-core))
     (home-page "https://github.com/hukkin/tomli-w";)
     (synopsis "Minimal TOML writer")
     (description "Tomli-W is a Python library for writing TOML.  It is a



reply via email to

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