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

* gnu/packages/python-xyz.scm (python-mako)[arguments]: New field.
This commit is contained in:
Marius Bakke 2019-03-10 18:08:33 +01:00
parent e1e89e2628
commit 5a45765628
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 8 additions and 0 deletions

View File

@ -8000,6 +8000,14 @@ python-xdo for newer bindings.)")
(base32 (base32
"1bi5gnr8r8dva06qpyx4kgjc6spm2k1y908183nbbaylggjzs0jf")))) "1bi5gnr8r8dva06qpyx4kgjc6spm2k1y908183nbbaylggjzs0jf"))))
(build-system python-build-system) (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 (propagated-inputs
`(("python-markupsafe" ,python-markupsafe))) `(("python-markupsafe" ,python-markupsafe)))
(native-inputs (native-inputs