guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: gnu: python-pypa-build: Fix build.


From: guix-commits
Subject: branch core-updates updated: gnu: python-pypa-build: Fix build.
Date: Wed, 03 Feb 2021 17:53:39 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 4b47c60  gnu: python-pypa-build: Fix build.
4b47c60 is described below

commit 4b47c608284bb57a55aa6d1a0b97743405cbad87
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Feb 3 17:52:35 2021 -0500

    gnu: python-pypa-build: Fix build.
    
    The build was failing following the addition of the sanity-check phase to 
the
    Python buidl system.
    
    * gnu/packages/python-build.scm (python-pypa-build)
    [phases]{relax-requirements}: Add phase.
---
 gnu/packages/python-build.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 65b90dd..140629c 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -127,7 +127,15 @@ Language (TOML) configuration files.")
                 "1d6m21lijwm04g50nwgsgj7x3vhblzw7jv05ah8psqgzk20bbch8"))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f))                    ;to tests in the PyPI release
+     `(#:tests? #f                      ;to tests in the PyPI release
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'relax-requirements
+                    (lambda _
+                      (substitute* "setup.cfg"
+                        ;; Drop the requirement on python-packaging, which is
+                        ;; not required.
+                        ((".*packaging.*")
+                         "")))))))
     (propagated-inputs
      `(("python-pep517", python-pep517-bootstrap)
        ("python-toml" ,python-toml)))



reply via email to

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