[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/103: gnu: python-pypa-build: Replace toml with tomli.
From: |
guix-commits |
Subject: |
05/103: gnu: python-pypa-build: Replace toml with tomli. |
Date: |
Wed, 5 Jan 2022 09:44:27 -0500 (EST) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit ccdb25aa02ee3bae7a9064142b561494c609befb
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sat Dec 4 08:58:01 2021 +0100
gnu: python-pypa-build: Replace toml with tomli.
…which is preferred by upstream.
* gnu/packages/python-build.scm (python-pypa-build)[arguments]: Remove
custom #:phases.
[propagated-inputs]: Move…
[inputs]: …here and replace python-toml with python-tomli.
---
gnu/packages/python-build.scm | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index f8ed910c9e..5d781de1db 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -389,18 +389,11 @@ information.")
"17xqija27x4my1yrnk6q2vwln60r39g2dhby9zg2l99qjgbdrahs"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ;to tests in the PyPI release
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'use-toml-instead-of-tomli
- ;; Using toml instead of tomli eases bootstrapping.
- (lambda _
- (substitute* "setup.cfg"
- (("tomli>=.*")
- "toml\n")))))))
- (propagated-inputs
- `(("python-packaging" ,python-packaging-bootstrap)
- ("python-pep517", python-pep517-bootstrap)
- ("python-toml" ,python-toml)))
+ `(#:tests? #f))
+ (inputs
+ `(("python-pep517", python-pep517-bootstrap)
+ ("python-tomli" ,python-tomli)
+ ("python-packaging" ,python-packaging-bootstrap)))
(home-page "https://pypa-build.readthedocs.io/en/latest/")
(synopsis "Simple Python PEP 517 package builder")
(description "The @command{build} command invokes the PEP 517 hooks to
- branch wip-python-pep517 created (now 4968ef975c), guix-commits, 2022/01/05
- 03/103: gnu: Properly bootstrap python-flit-core and python-tomli., guix-commits, 2022/01/05
- 01/103: build/python: Handle missing setuptools in sanity-check.py, guix-commits, 2022/01/05
- 04/103: gnu: python-pep517-bootstrap: Update to 0.12.0., guix-commits, 2022/01/05
- 05/103: gnu: python-pypa-build: Replace toml with tomli.,
guix-commits <=
- 08/103: gnu: pypy: Move to separate module., guix-commits, 2022/01/05
- 14/103: gnu: python-testpath: Remove custom build phases., guix-commits, 2022/01/05
- 11/103: gnu: python-pyzmq: Fix #:configure-flags type., guix-commits, 2022/01/05
- 12/103: gnu: python-file: Remove obsolete #:configure-flags., guix-commits, 2022/01/05
- 09/103: gnu: python-charset-normalizer: Add missing input., guix-commits, 2022/01/05
- 13/103: gnu: python-mediafile: Add missing build dependencies., guix-commits, 2022/01/05
- 17/103: gnu: gusb-minimal: Add explicit dependency on setuptools., guix-commits, 2022/01/05
- 20/103: gnu: python-branca: Disable tests., guix-commits, 2022/01/05
- 22/103: gnu: dblatex: Use custom 'build and 'install phases., guix-commits, 2022/01/05
- 24/103: gnu: python-crashtest: Build using poetry-core., guix-commits, 2022/01/05