[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: python-flask-script: Fix tests.
From: |
guix-commits |
Subject: |
01/01: gnu: python-flask-script: Fix tests. |
Date: |
Mon, 17 Jun 2019 16:56:32 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit c8535731b883cbc41bf42e9dc566b896726f8b17
Author: Danny Milosavljevic <address@hidden>
Date: Mon Jun 17 22:52:09 2019 +0200
gnu: python-flask-script: Fix tests.
* gnu/packages/python-web.scm
(python-flask-script)[arguments]<#:phases>[patch-tests]: New phase.
---
gnu/packages/python-web.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d78d97c..6fe6d5a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2499,6 +2499,14 @@ this it tries to be opinion-free and very extendable.")
(base32
"0r8w2v89nj6b9p91p495cga5m72a673l2wc0hp0zqk05j4yrc9b4"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-tests
+ (lambda _
+ (substitute* "tests.py"
+ (("flask\\.ext\\.script") "flask_script"))
+ #t)))))
(propagated-inputs
`(("python-flask" ,python-flask)
("python-argcomplete" ,python-argcomplete)