mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: python-pbkdf2: Fix tests.
* gnu/packages/python.scm (python-pbkdf2)[arguments]: Replace 'check' phase with custom command.
This commit is contained in:
parent
8ef8de799f
commit
fffcd8b829
1 changed files with 9 additions and 0 deletions
|
@ -12967,6 +12967,15 @@ (define-public python-pbkdf2
|
|||
(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/")
|
||||
|
|
Loading…
Reference in a new issue