guix-commits
[Top][All Lists]
Advanced

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

96/217: gnu: python-pypa-build: Update to 0.7.0.


From: guix-commits
Subject: 96/217: gnu: python-pypa-build: Update to 0.7.0.
Date: Sun, 14 Nov 2021 19:20:51 -0500 (EST)

vagrantc pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.

commit 26e1f7fa9e8214cd4a52ec65a7d27126617c3965
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Oct 1 11:16:49 2021 -0400

    gnu: python-pypa-build: Update to 0.7.0.
    
    * gnu/packages/python-build.scm (python-pypa-build): Update to 0.7.0.
    [phases]{relax-requirements}: Rename to...
    {use-toml-instead-of-tomli}: ... this.  Replace tomli by toml.
---
 gnu/packages/python-build.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 0688dcb..e55044d 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -250,26 +250,26 @@ information.")
 (define-public python-pypa-build
   (package
     (name "python-pypa-build")
-    (version "0.1.0")
+    (version "0.7.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "build" version))
               (sha256
                (base32
-                "1d6m21lijwm04g50nwgsgj7x3vhblzw7jv05ah8psqgzk20bbch8"))))
+                "17xqija27x4my1yrnk6q2vwln60r39g2dhby9zg2l99qjgbdrahs"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #f                      ;to tests in the PyPI release
        #:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'relax-requirements
+                  (add-after 'unpack 'use-toml-instead-of-tomli
+                    ;; Using toml instead of tomli eases bootstrapping.
                     (lambda _
                       (substitute* "setup.cfg"
-                        ;; Drop the requirement on python-packaging, which is
-                        ;; not required.
-                        ((".*packaging.*")
-                         "")))))))
+                        (("tomli>=.*")
+                         "toml\n")))))))
     (propagated-inputs
-     `(("python-pep517", python-pep517-bootstrap)
+     `(("python-packaging" ,python-packaging-bootstrap)
+       ("python-pep517", python-pep517-bootstrap)
        ("python-toml" ,python-toml)))
     (home-page "https://pypa-build.readthedocs.io/en/latest/";)
     (synopsis "Simple Python PEP 517 package builder")



reply via email to

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