[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/150: gnu: python-pypa-build: Replace toml with tomli.
From: |
guix-commits |
Subject: |
08/150: gnu: python-pypa-build: Replace toml with tomli. |
Date: |
Sun, 24 Apr 2022 05:12:15 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit a634bd8f2b4bb4d86c20b351147870e87ae98e64
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 427fbe52bb..83d34f52e1 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -518,18 +518,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
- 81/150: gnu: python-setuptools-scm-git-archive: Disable tests., (continued)
- 81/150: gnu: python-setuptools-scm-git-archive: Disable tests., guix-commits, 2022/04/24
- 79/150: gnu: python-dnspython: Force poetry backend., guix-commits, 2022/04/24
- 108/150: gnu: python-argcomplete: Add missing test input., guix-commits, 2022/04/24
- 105/150: gnu: python-gevent: Override build backend., guix-commits, 2022/04/24
- 106/150: gnu: python-tables: Move flags to #:configure-flags., guix-commits, 2022/04/24
- 114/150: gnu: python-immutabledict: Add missing build input., guix-commits, 2022/04/24
- 99/150: gnu: Remove remaining uses of #:use-setuptools?., guix-commits, 2022/04/24
- 123/150: gnu: python-anndata: Remove custom build phases, disable failing test., guix-commits, 2022/04/24
- 135/150: gnu: python-helpdev: Add missing test input., guix-commits, 2022/04/24
- 04/150: gnu: Use %python-build-system-module inside #:imported-modules., guix-commits, 2022/04/24
- 08/150: gnu: python-pypa-build: Replace toml with tomli.,
guix-commits <=
- 06/150: gnu: Properly bootstrap python-flit-core and python-tomli., guix-commits, 2022/04/24
- 10/150: gnu: python-tomli-w: Remove custom phases., guix-commits, 2022/04/24
- 29/150: gnu: python-pastel: Add missing build system input., guix-commits, 2022/04/24
- 44/150: gnu: calibre: Remove old build flag., guix-commits, 2022/04/24
- 43/150: gnu: python-pyfakefs: Disable tests., guix-commits, 2022/04/24
- 60/150: gnu: python-pastedeploy: Remove obsolete argument., guix-commits, 2022/04/24
- 59/150: gnu: python-rauth: Remove obsolete argument., guix-commits, 2022/04/24
- 46/150: gnu: openmolar: Remove old build flag., guix-commits, 2022/04/24
- 71/150: gnu: python-flake8-pie: Fix build., guix-commits, 2022/04/24
- 73/150: gnu: python-curio: Disable failing tests., guix-commits, 2022/04/24