~ruther/guix-local

fffcd8b829d1fbd8bdb6af85385033224c576cec — Marius Bakke 9 years ago 8ef8de7
gnu: python-pbkdf2: Fix tests.

* gnu/packages/python.scm (python-pbkdf2)[arguments]: Replace 'check' phase
with custom command.
1 files changed, 9 insertions(+), 0 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +9 -0
@@ 12967,6 12967,15 @@ protocols written in pure Python.")
        (base32
         "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
    (build-system python-build-system)
    (arguments
     '(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda _
             (setenv "PYTHONPATH"
                     (string-append (getcwd) "/build/lib:"
                                    (getenv "PYTHONPATH")))
             (zero? (system* "python" "test/test_pbkdf2.py")))))))
    (propagated-inputs
     `(("python-pycrypto" ,python-pycrypto)))  ; optional
    (home-page "http://www.dlitz.net/software/python-pbkdf2/")