guix-commits
[Top][All Lists]
Advanced

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

11/11: gnu: python-mako: Fix FTBFS with Pytest 4.


From: guix-commits
Subject: 11/11: gnu: python-mako: Fix FTBFS with Pytest 4.
Date: Sun, 10 Mar 2019 13:51:33 -0400 (EDT)

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

commit 5a457656284cfb25e9305362e18adf4aff13f91a
Author: Marius Bakke <address@hidden>
Date:   Sun Mar 10 18:08:33 2019 +0100

    gnu: python-mako: Fix FTBFS with Pytest 4.
    
    * gnu/packages/python-xyz.scm (python-mako)[arguments]: New field.
---
 gnu/packages/python-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bf2fc56..9749ce9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8000,6 +8000,14 @@ python-xdo for newer bindings.)")
         (base32
          "1bi5gnr8r8dva06qpyx4kgjc6spm2k1y908183nbbaylggjzs0jf"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'patch-setup.cfg
+                    (lambda _
+                      ;; Adjust setup.cfg for compatibility with Pytest 4.
+                      (substitute* "setup.cfg"
+                        (("\\[pytest\\]") "[tool:pytest]"))
+                      #t)))))
     (propagated-inputs
      `(("python-markupsafe" ,python-markupsafe)))
     (native-inputs



reply via email to

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