summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-04-28 14:49:42 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-04-29 10:52:55 +0200
commit0660d3276c7cb6686f40bd6f3f2488b0b0abb3f6 (patch)
tree6c105afd1de75e4b7fb8c9755463483b90f29e32 /gnu
parent45fe973645b71f4177cc4a54ad63fccb38c14243 (diff)
downloadguix-0660d3276c7cb6686f40bd6f3f2488b0b0abb3f6.tar.gz
gnu: python-openid: Fix package.
Fixes <https://bugs.gnu.org/26692>.

* gnu/packages/python.scm (python-openid)[arguments]: Replace 'check phase.
[propagated-inputs]: Add python-defusedxml.
[native-inputs]: Add python-psycopg2, python-django.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0dac375e97..22fadea275 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5523,6 +5523,17 @@ features useful for text console applications.")
         (base32
          "1x3nh3fycqfn43jp5j5pb4q4y2jxp4mdka4absaa3bc0078qd758"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+        (replace 'check
+          (lambda _
+            (zero? (system* "./admin/runtests")))))))
+    (propagated-inputs
+     `(("python-defusedxml" ,python-defusedxml)))
+    (native-inputs
+     `(("python-psycopg2" ,python-psycopg2)
+       ("python-django" ,python-django)))
     (home-page "https://github.com/necaris/python3-openid")
     (synopsis "OpenID support for servers and consumers")
     (description "This library provides OpenID authentication for Python, both