summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-06-17 22:52:09 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2019-06-17 22:56:19 +0200
commitc8535731b883cbc41bf42e9dc566b896726f8b17 (patch)
tree65df41c7c008cc22c1c207cb4aa14743b7878f77 /gnu/packages
parent27d6d24e6352012a9d8cf1a7828c557a4539f023 (diff)
downloadguix-c8535731b883cbc41bf42e9dc566b896726f8b17.tar.gz
gnu: python-flask-script: Fix tests.
* gnu/packages/python-web.scm
(python-flask-script)[arguments]<#:phases>[patch-tests]: New phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d78d97c883..6fe6d5ade8 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)