lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 8a0addf84c3a525309a1e21cb6f276626b205432
Author: Lars-Dominik Braun <[email protected]>
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